| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Object | |
| private Object |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addMetaBeanProperty(MetaBeanProperty
The MetaBeanProperty instance metaBeanProperty)Overrides groovy. Implements groovy. |
| public void | addMetaMethod(MetaMethod
The MetaMethod to add metaMethod)Overrides groovy. Implements groovy. |
| public void | addNewInstanceMethod(Method
the method to be added method)Overrides groovy. Implements groovy. |
| public void | addNewStaticMethod(Method
the method to be added method)Overrides groovy. Implements groovy. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides groovy. |
| public Object | getProperty(String
the name of the property of interest property)Overrides groovy. Overrides default groovy. |
| public void | initialize()
Overrides groovy. Implements groovy. |
| public Object | invokeMethod(String
the name of the method to call name, Object the arguments to use for the method call args)Overrides groovy. Overrides default groovy. |
| public GroovyObject | |
| public void | setProperty(String
the name of the property of interest property, Object the new value for the property newValue)Overrides groovy. Overrides default groovy. |
| NONE | back to summary |
|---|---|
| private static final Object NONE | |
| object | back to summary |
|---|---|
| private Object object | |
| HandleMetaClass | back to summary |
|---|---|
| public HandleMetaClass(MetaClass mc) | |
| HandleMetaClass | back to summary |
|---|---|
| public HandleMetaClass(MetaClass mc, Object obj) | |
| addMetaBeanProperty | back to summary |
|---|---|
| public void addMetaBeanProperty(MetaBeanProperty metaBeanProperty) Overrides groovy. Implements groovy. Doc from groovy. Adds a new MetaBeanProperty to the MetaClass
| |
| addMetaMethod | back to summary |
|---|---|
| public void addMetaMethod(MetaMethod metaMethod) Overrides groovy. Implements groovy. Doc from groovy. Adds a new MetaMethod to the MetaClass
| |
| addNewInstanceMethod | back to summary |
|---|---|
| public void addNewInstanceMethod(Method method) Overrides groovy. Implements groovy. Doc from groovy. adds a new instance method to this MetaClass. Instance methods are able to overwrite the original methods of the class. Calling this method should not be done after initialise was called.
| |
| addNewStaticMethod | back to summary |
|---|---|
| public void addNewStaticMethod(Method method) Overrides groovy. Implements groovy. Doc from groovy. adds a new static method to this MetaClass. This is only possible as long as initialise was not called.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides groovy. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String property) Overrides groovy. Overrides default groovy. Doc from groovy. Retrieves a property value. | |
| initialize | back to summary |
|---|---|
| public void initialize() Overrides groovy. Implements groovy. Doc from groovy. Complete the initialisation process. After this method is called no methods should be added to the meta class. Invocation of methods or access to fields/properties is forbidden unless this method is called. This method should contain any initialisation code, taking a longer time to complete. An example is the creation of the Reflector. It is suggested to synchronize this method. | |
| invokeMethod | back to summary |
|---|---|
| public Object invokeMethod(String name, Object args) Overrides groovy. Overrides default groovy. Doc from groovy. Invokes the given method. | |
| replaceDelegate | back to summary |
|---|---|
| public GroovyObject replaceDelegate() | |
| setProperty | back to summary |
|---|---|
| public void setProperty(String property, Object newValue) Overrides groovy. Overrides default groovy. Doc from groovy. Sets the given property to the new value. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final MetaClass |
| Access | Constructor and Description |
|---|---|
| private |
| META_CLASS | back to summary |
|---|---|
| pack-priv static final MetaClass META_CLASS | |
| Holder | back to summary |
|---|---|
| private Holder() | |