Instances of this class are returned when using the <<
left shift operator.
Example:
metaClass.myMethod <<
{ String args ->
}
This allows callbacks to the ExpandoMetaClass for registering appending methods
Modifiers | Name | Description |
---|---|---|
protected boolean |
isStatic |
|
protected String |
propertyName |
Constructor and description |
---|
protected ExpandoMetaProperty
(String name) |
protected ExpandoMetaProperty
(String name, boolean isStatic) |
Type Params | Return Type | Name and description |
---|---|---|
|
Object |
getProperty(String property) |
|
String |
getPropertyName() |
|
boolean |
isStatic() |
|
Object |
leftShift(Object arg) |
|
void |
setProperty(String property, Object newValue) |
Methods inherited from class | Name |
---|---|
class GroovyObjectSupport |
getMetaClass, setMetaClass |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.