public class MultipleSetterProperty extends MetaProperty
name, PROPERTY_SET_PREFIX, type
Constructor and Description |
---|
MultipleSetterProperty(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
MetaProperty |
createStaticVersion() |
CachedField |
getField() |
MetaMethod |
getGetter() |
java.lang.Object |
getProperty(java.lang.Object object) |
void |
setField(CachedField f) |
void |
setGetter(MetaMethod getter) |
void |
setProperty(java.lang.Object object,
java.lang.Object newValue)
Sets the property on the given object to the new value
|
getGetterName, getModifiers, getName, getSetterName, getType
public java.lang.Object getProperty(java.lang.Object object)
getProperty
in class MetaProperty
public void setProperty(java.lang.Object object, java.lang.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()