public class MultipleSetterProperty extends MetaProperty
name, PROPERTY_SET_PREFIX, type
Constructor and Description |
---|
MultipleSetterProperty(String name) |
Modifier and Type | Method and Description |
---|---|
MetaProperty |
createStaticVersion() |
CachedField |
getField() |
MetaMethod |
getGetter() |
Object |
getProperty(Object object) |
void |
setField(CachedField f) |
void |
setGetter(MetaMethod getter) |
void |
setProperty(Object object,
Object newValue)
Sets the property on the given object to the new value
|
getGetterName, getModifiers, getName, getSetterName, getType
public MultipleSetterProperty(String name)
public Object getProperty(Object object)
getProperty
in class MetaProperty
public void setProperty(Object object, Object newValue)
MetaProperty
setProperty
in class MetaProperty
object
- on which to set the propertynewValue
- the new value of the propertypublic void setField(CachedField f)
public CachedField getField()
public void setGetter(MetaMethod getter)
public MetaMethod getGetter()
public MetaProperty createStaticVersion()