public class MutableFieldAccessPoint extends FieldAccessPoint implements MutableAccessPoint
| Constructor and Description |
|---|
MutableFieldAccessPoint(java.lang.reflect.Field field,
java.lang.Object accessed)
Creates a new MutableFieldAccessPoint for the given field.
|
MutableFieldAccessPoint(java.lang.String fieldName,
java.lang.Object accessed)
Creates a new MutableFieldAccessPoint for the field specified by the given
field name and object.
|
MutableFieldAccessPoint(java.lang.String name,
java.lang.String fieldName,
java.lang.Object accessed)
Creates a new MutableFieldAccessPoint for the field specified by the given
field name and declaring class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setValue(java.lang.Object value)
sets the current value of the accessed field.
|
getFieldName, getName, getValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValuepublic MutableFieldAccessPoint(java.lang.reflect.Field field,
java.lang.Object accessed)
field - the field to accessaccessed - the accessed objectpublic MutableFieldAccessPoint(java.lang.String name,
java.lang.String fieldName,
java.lang.Object accessed)
fieldName - the name of the field to accessname - the name of the access pointaccessed: - The inspected objectpublic MutableFieldAccessPoint(java.lang.String fieldName,
java.lang.Object accessed)
fieldName - the name of the field to accessaccessed: - The object possesing the fieldpublic void setValue(java.lang.Object value)
setValue in interface MutableAccessPointvalue - the new field value.