Methods
Type Params |
Return Type |
Name and description |
|
def |
ClosureMetaClass(MetaClassRegistry registry, Class theClass)
|
|
void |
addMetaBeanProperty(MetaBeanProperty mp)
|
|
void |
addMetaMethod(MetaMethod method)
|
|
void |
addNewInstanceMethod(Method method)
|
|
void |
addNewStaticMethod(Method method)
|
|
protected void |
applyPropertyDescriptors(PropertyDescriptor[] propertyDescriptors)
|
|
CallSite |
createPogoCallCurrentSite(CallSite site, Class sender, Object[] args)
|
|
CallSite |
createPogoCallSite(CallSite site, Object[] args)
|
|
CallSite |
createPojoCallSite(CallSite site, Object receiver, Object[] args)
|
|
Object |
getAttribute(Class sender, Object object, String attribute, boolean useSuper, boolean fromInsideClass)
|
|
List<MetaMethod> |
getMetaMethods()
|
|
MetaProperty |
getMetaProperty(String name)
|
|
MetaMethod |
getMethodWithoutCaching(int index, Class sender, String methodName, Class[] arguments, boolean isCallToSuper)
|
|
List<MetaMethod> |
getMethods()
|
|
List<MetaProperty> |
getProperties()
|
|
Object |
getProperty(Class sender, Object object, String name, boolean useSuper, boolean fromInsideClass)
|
|
MetaMethod |
getStaticMetaMethod(String name, Object[] args)
|
|
MetaMethod |
getStaticMetaMethod(String name, Class[] argTypes)
|
|
void |
initialize()
|
|
Object |
invokeMethod(Class sender, Object object, String methodName, Object[] originalArguments, boolean isCallToSuper, boolean fromInsideClass)
|
|
Object |
invokeStaticMethod(Object object, String methodName, Object[] arguments)
|
|
protected boolean |
isInitialized()
|
|
MetaMethod |
pickMethod(String name, Class[] argTypes)
|
|
static void |
resetCachedMetaClasses()
|
|
List |
respondsTo(Object obj, String name, Object[] argTypes)
|
|
List |
respondsTo(Object obj, String name)
|
|
Constructor |
retrieveConstructor(Class[] arguments)
|
|
MetaMethod |
retrieveStaticMethod(String methodName, Class[] arguments)
|
|
void |
setAttribute(Class sender, Object object, String attribute, Object newValue, boolean useSuper, boolean fromInsideClass)
|
|
void |
setProperties(Object bean, Map map)
|
|
void |
setProperty(Class sender, Object object, String name, Object newValue, boolean useSuper, boolean fromInsideClass)
|