The Closure and Class MetaClasses are not replaceable.
This MetaClass is for internal usage only!
| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private Map | |
| private ClosureMetaClass. | |
| private static MetaClassImpl | |
| private static final String | |
| private static final String | |
| private static MetaClassImpl | |
| private final FastArray | |
| private static final Object[] | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addMetaBeanProperty(MetaBeanProperty
The MetaBeanProperty mp)Overrides groovy. Implements groovy. |
| public void | addMetaMethod(MetaMethod
the MetaMethod method)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. |
| protected void | applyPropertyDescriptors(PropertyDescriptor[] propertyDescriptors)
Overrides groovy. |
| private void | |
| public CallSite | createPogoCallCurrentSite(CallSite site, Class<T> sender, Object[] args)
Overrides groovy. |
| public CallSite | createPogoCallSite(CallSite site, Object[] args)
Overrides groovy. |
| public CallSite | createPojoCallSite(CallSite site, Object receiver, Object[] args)
Overrides groovy. |
| public Object | getAttribute(Class<T>
The class of the object that requested the attribute sender, Object The instance the attribute is to be retrieved from object, String The name of the attribute attribute, boolean Whether to look-up on the super class or not useSuper, boolean Whether the call was invoked from the inside or the outside of the class. fromInsideClass)Overrides groovy. |
| private MetaMethod | |
| public List | getMetaMethods()
Overrides groovy. Implements groovy. |
| public MetaProperty | getMetaProperty(String
The name of the MetaProperty name)Overrides groovy. Implements groovy. |
| public List | getMethods()
Overrides groovy. Implements groovy. |
| public MetaMethod | getMethodWithoutCaching(int index, Class<T> sender, String methodName, Class<T>[] arguments, boolean isCallToSuper)
|
| public List | getProperties()
Overrides groovy. Implements groovy. |
| public Object | getProperty(Class<T>
The java.lang.Class instance that requested the property sender, Object The Object which the property is being retrieved from object, String The name of the property name, boolean Whether the call is to a super class property useSuper, boolean ?? fromInsideClass)Overrides groovy. Implements groovy. Retrieves a property on the given receiver for the specified arguments. |
| private static synchronized MetaClass | |
| public MetaMethod | getStaticMetaMethod(String
The name of the MetaMethod name, Object[] The argument types args)Overrides groovy. Implements groovy. |
| public MetaMethod | |
| private synchronized void | |
| public synchronized void | initialize()
Overrides groovy. Implements groovy. |
| public Object | invokeMethod(Class<T>
The java.lang.Class instance that invoked the method sender, Object The object which the method was invoked on object, String The name of the method methodName, Object[] The arguments to the method originalArguments, 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 groovy. Implements groovy. Invokes a method on the given receiver for the specified arguments. |
| private static Object | invokeOnDelegationObjects(boolean invoke1, Object o1, boolean invoke2, Object o2, String methodName, Object[] args)
|
| public Object | invokeStaticMethod(Object
An instance of the class returned by the getTheClass() method or the class itself object, String The name of the method methodName, Object[] The arguments to the method arguments)Overrides groovy. Implements groovy. |
| protected boolean | |
| private static boolean | |
| private synchronized void | |
| private MetaClass | |
| private static Object[] | |
| private MetaMethod | |
| public MetaMethod | pickMethod(String
the name of the method to pick name, Class<T>[] the method arguments argTypes)Overrides groovy. Implements groovy. |
| public static void | |
| public List | respondsTo(Object
The object to inspect obj, String The name of the method of interest name, Object[] The argument types to match against argTypes)Overrides groovy. Implements groovy. Returns an object satisfying Groovy truth if the implementing MetaClass responds to a method with the given name and arguments types. |
| public List | respondsTo(final Object
The object to inspect obj, final String The name of the method of interest name)Overrides groovy. Implements groovy. Returns an object satisfying Groovy truth if the implementing MetaClass responds to a method with the given name regardless of arguments. |
| public Constructor | |
| public MetaMethod | |
| public void | setAttribute(Class<T>
The java.lang.Class instance that is mutating the property sender, Object The Object which the property is being set on object, String The name of the attribute, attribute, Object The new value of the attribute to set newValue, boolean Whether the call is to a super class property useSuper, boolean Whether the call was invoked from the inside or the outside of the class fromInsideClass)Overrides groovy. Implements groovy. Sets an attribute on the given receiver for the specified arguments. |
| protected void | |
| public void | setProperties(Object bean, Map<K, V> map)
Overrides groovy. |
| public void | setProperty(Class<T>
The java.lang.Class instance that is mutating the property sender, Object The Object which the property is being set on object, String The name of the property name, Object The new value of the property to set newValue, boolean Whether the call is to a super class property useSuper, boolean Whether the call was invoked from the inside or the outside of the class. fromInsideClass)Overrides groovy. Implements groovy. Retrieves a property on the given receiver for the specified arguments. |
| private static void | |
| private static Throwable |