public class MetaFieldProperty extends MetaProperty
name, type
Modifier and Type | Method and Description |
---|---|
static MetaFieldProperty |
create(CachedField field) |
int |
getModifiers() |
java.lang.Object |
getProperty(java.lang.Object object) |
boolean |
isStatic() |
void |
setProperty(java.lang.Object object,
java.lang.Object newValue)
Sets the property on the given object to the new value
|
getName, getType
public static MetaFieldProperty create(CachedField field)
public java.lang.Object getProperty(java.lang.Object object)
getProperty
in class MetaProperty
java.lang.Exception
- if the property could not be evaluatedpublic void setProperty(java.lang.Object object, java.lang.Object newValue)
setProperty
in class MetaProperty
object
- on which to set the propertynewValue
- the new value of the propertyjava.lang.RuntimeException
- if the property could not be setpublic int getModifiers()
getModifiers
in class MetaProperty
public boolean isStatic()