public class DynamicMethodsExpandoMetaClass
extends groovy.lang.ExpandoMetaClass
EMPTY_ARGUMENTS, getPropertyMethod, INVOKE_METHOD_METHOD, invokeMethodMethod, isGroovyObject, isMap, metaMethodIndex, METHOD_MISSING, PROPERTY_MISSING, registry, setPropertyMethod, STATIC_METHOD_MISSING, STATIC_PROPERTY_MISSING, theCachedClass, theClass| Constructor and Description |
|---|
DynamicMethodsExpandoMetaClass(java.lang.Class<?> aClass)
Constructs a new DynamicMethodsExpandoMetaClass given the current class.
|
DynamicMethodsExpandoMetaClass(java.lang.Class<?> aClass,
boolean inReg)
Constructs a new DynamicMethodsExpandoMetaClass given the current class and places it in the MetaClassRegistry
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getProperty(java.lang.Class aClass,
java.lang.Object object,
java.lang.String property,
boolean b,
boolean b1) |
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.Object |
invokeConstructor(java.lang.Object[] arg0) |
java.lang.Object |
invokeMethod(java.lang.Class aClass,
java.lang.Object target,
java.lang.String methodName,
java.lang.Object[] arguments,
boolean b,
boolean b1) |
java.lang.Object |
invokeStaticMethod(java.lang.Object target,
java.lang.String methodName,
java.lang.Object[] arguments)
Either invokes a intercepted dyanmic static method or the adapted original MetaClass.
|
void |
setProperty(java.lang.Class aClass,
java.lang.Object object,
java.lang.String property,
java.lang.Object newValue,
boolean b,
boolean b1) |
void |
setProperty(java.lang.String name,
java.lang.Object value) |
addMixinClass, castToMixedType, checkInitalised, createConstructorSite, createPogoCallCurrentSite, createPogoCallSite, createPojoCallSite, createStaticSite, define, disableGlobally, enableGlobally, findMixinMethod, getExpandoMethods, getExpandoProperties, getExpandoSubclassMethods, getJavaClass, getMetaClass, getMetaProperty, getMethods, getProperties, getProperty, getPropertyForSetter, getSubclassMetaMethods, hasCustomStaticInvokeMethod, hasMetaMethod, hasMetaProperty, initialize, invokeMethod, isInitialized, isModified, isSetter, isValidExpandoProperty, onGetPropertyFoundInHierarchy, onInvokeMethodFoundInHierarchy, onSetPropertyFoundInHierarchy, onSuperMethodFoundInHierarchy, onSuperPropertyFoundInHierarchy, performOperationOnMetaClass, refreshInheritedMethods, registerBeanProperty, registerInstanceMethod, registerInstanceMethod, registerStaticMethod, registerStaticMethod, registerSubclassInstanceMethod, registerSubclassInstanceMethod, retrieveConstructor, setInitialized, setMetaClassaddMetaBeanProperty, addMetaMethod, addMetaMethodToIndex, addNewInstanceMethod, addNewStaticMethod, applyPropertyDescriptors, checkIfGroovyObjectMethod, chooseMethod, clearInvocationCaches, createPogoCallCurrentSite, dropMethodCache, dropStaticMethodCache, findMethodInClassHierarchy, findOwnMethod, findPropertyInClassHierarchy, getAdditionalMetaMethods, getAttribute, getAttribute, getAttribute, getClassInfo, getClassNode, getEffectiveGetMetaProperty, getMetaMethod, getMetaMethods, getMethodWithCaching, getMethodWithoutCaching, getRegistry, getStaticMetaMethod, getSuperClasses, getTheCachedClass, getTheClass, getVersion, hasCustomInvokeMethod, hasProperty, incVersion, invokeMethod, invokeMethod, invokeMissingMethod, invokeMissingProperty, invokeStaticMissingProperty, isGroovyObject, onMixinMethodFound, pickMethod, respondsTo, respondsTo, retrieveConstructor, retrieveStaticMethod, selectConstructorAndTransformArguments, setAttribute, setAttribute, setProperties, setProperty, toStringpublic DynamicMethodsExpandoMetaClass(java.lang.Class<?> aClass)
aClass - The class to create the MetaClass forpublic DynamicMethodsExpandoMetaClass(java.lang.Class<?> aClass,
boolean inReg)
aClass - The class to create the MetaClass forpublic java.lang.Object invokeStaticMethod(java.lang.Object target,
java.lang.String methodName,
java.lang.Object[] arguments)
invokeStaticMethod in interface groovy.lang.MetaObjectProtocolinvokeStaticMethod in class groovy.lang.ExpandoMetaClasstarget - The target objectmethodName - The method namearguments - The arguments to the methodpublic void setProperty(java.lang.Class aClass,
java.lang.Object object,
java.lang.String property,
java.lang.Object newValue,
boolean b,
boolean b1)
setProperty in interface groovy.lang.MetaClasssetProperty in class groovy.lang.ExpandoMetaClasspublic java.lang.Object getProperty(java.lang.Class aClass,
java.lang.Object object,
java.lang.String property,
boolean b,
boolean b1)
getProperty in interface groovy.lang.MetaClassgetProperty in class groovy.lang.ExpandoMetaClasspublic java.lang.Object invokeConstructor(java.lang.Object[] arg0)
invokeConstructor in interface groovy.lang.MetaObjectProtocolinvokeConstructor in class groovy.lang.ExpandoMetaClasspublic java.lang.Object invokeMethod(java.lang.Class aClass,
java.lang.Object target,
java.lang.String methodName,
java.lang.Object[] arguments,
boolean b,
boolean b1)
invokeMethod in interface groovy.lang.MetaClassinvokeMethod in class groovy.lang.ExpandoMetaClasspublic java.lang.Object getProperty(java.lang.String name)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.ExpandoMetaClasspublic void setProperty(java.lang.String name,
java.lang.Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class groovy.lang.ExpandoMetaClass