[Java] Class CachedField
- org.codehaus.groovy.reflection.CachedField
Constructor Summary
Methods Summary
Inherited Methods Summary
Constructor Detail
Method Detail
public Field getCachedField()
public Class getDeclaringClass()
@Override public int getModifiers()
- throws:
- RuntimeException if the property could not be evaluated
- Returns:
- the property of the given object
public boolean isFinal()
public boolean isStatic()
@Override public void setProperty(Object object, Object newValue)
Sets the property on the given object to the new value
- throws:
- RuntimeException if the property could not be set
- Parameters:
-
object
- on which to set the property
-
newValue
- the new value of the property