protected class ExpandoMetaClass.ExpandoMetaProperty extends GroovyObjectSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
isStatic |
protected java.lang.String |
propertyName |
Modifier | Constructor and Description |
---|---|
protected |
ExpandoMetaClass.ExpandoMetaProperty(java.lang.String name) |
protected |
ExpandoMetaClass.ExpandoMetaProperty(java.lang.String name,
boolean isStatic) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.String property)
Retrieves a property value.
|
java.lang.String |
getPropertyName() |
boolean |
isStatic() |
java.lang.Object |
leftShift(java.lang.Object arg) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue)
Sets the given property to the new value.
|
getMetaClass, invokeMethod, setMetaClass
protected java.lang.String propertyName
protected boolean isStatic
protected ExpandoMetaClass.ExpandoMetaProperty(java.lang.String name)
protected ExpandoMetaClass.ExpandoMetaProperty(java.lang.String name, boolean isStatic)
public java.lang.String getPropertyName()
public boolean isStatic()
public java.lang.Object leftShift(java.lang.Object arg)
public java.lang.Object getProperty(java.lang.String property)
GroovyObject
getProperty
in interface GroovyObject
getProperty
in class GroovyObjectSupport
property
- the name of the property of interestpublic void setProperty(java.lang.String property, java.lang.Object newValue)
GroovyObject
setProperty
in interface GroovyObject
setProperty
in class GroovyObjectSupport
property
- the name of the property of interestnewValue
- the new value for the property