| Modifier and Type | Field and Description |
|---|---|
| private final WeakReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | |
| protected MetaClass | getOwnerMetaClass(Object owner)
Implements abstract org. |
| public Object | invokeMethod(Class<T>
The java.lang.Class instance that invoked the method sender, Object The object which the method was invoked on receiver, String The name of the method methodName, Object[] The arguments to the method arguments, boolean Whether the method is a call to a super class method isCallToSuper, boolean Whether the call was invoked from the inside or the outside of the class fromInsideClass)Overrides org. Implements groovy. Invokes a method on the given receiver for the specified arguments. |
| owner | back to summary |
|---|---|
| private final WeakReference<T> owner | |
| MixedInMetaClass | back to summary |
|---|---|
| public MixedInMetaClass(Object instance, Object owner) | |
| getOwner | back to summary |
|---|---|
| protected Object getOwner() Implements abstract org. | |
| getOwnerMetaClass | back to summary |
|---|---|
| protected MetaClass getOwnerMetaClass(Object owner) Implements abstract org. | |
| invokeMethod | back to summary |
|---|---|
| public Object invokeMethod(Class<T> sender, Object receiver, String methodName, Object[] arguments, boolean isCallToSuper, boolean fromInsideClass) Overrides org. Implements groovy. Doc from groovy. Invokes a method on the given receiver for the specified arguments. The sender is the class that invoked the method on the object. The MetaClass will attempt to establish the method to invoke based on the name and arguments provided. The isCallToSuper and fromInsideClass help the Groovy runtime perform optimisations on the call to go directly to the super class if necessary
| |