public class CachedField extends MetaProperty
| Modifier and Type | Field and Description | 
|---|---|
| Field | field | 
name, PROPERTY_SET_PREFIX, type| Constructor and Description | 
|---|
| CachedField(Field field) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getModifiers()Returns the access modifier. | 
| Object | getProperty(Object object) | 
| boolean | isFinal() | 
| boolean | isStatic() | 
| void | setProperty(Object object,
           Object newValue)Sets the property on the given object to the new value | 
getGetterName, getName, getSetterName, getTypepublic final Field field
public CachedField(Field field)
public boolean isStatic()
public boolean isFinal()
public int getModifiers()
MetaPropertygetModifiers in class MetaPropertypublic Object getProperty(Object object)
getProperty in class MetaPropertyRuntimeException - if the property could not be evaluatedpublic void setProperty(Object object, Object newValue)
setProperty in class MetaPropertyobject - on which to set the propertynewValue - the new value of the propertyRuntimeException - if the property could not be set