|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.MetaProperty org.codehaus.groovy.reflection.CachedField
public class CachedField extends MetaProperty
Field Summary | |
---|---|
Field |
field
|
Fields inherited from class MetaProperty | |
---|---|
PROPERTY_SET_PREFIX, name, type |
Constructor Summary | |
CachedField(Field field)
|
Method Summary | |
---|---|
int
|
getModifiers()
|
Object
|
getProperty(Object object)
@return the property of the given object |
boolean
|
isFinal()
|
boolean
|
isStatic()
|
void
|
setProperty(Object object, Object newValue)
Sets the property on the given object to the new value |
Methods inherited from class MetaProperty | |
---|---|
getGetterName, getModifiers, getName, getProperty, getSetterName, getType, setProperty |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
public final Field field
Constructor Detail |
---|
public CachedField(Field field)
Method Detail |
---|
public int getModifiers()
public Object getProperty(Object object)
public boolean isFinal()
public boolean isStatic()
public void setProperty(Object object, Object newValue)
object
- on which to set the propertynewValue
- the new value of the property
Copyright © 2003-2013 The Codehaus. All rights reserved.