|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
FastArray |
methods
|
Class |
theClass
|
Constructor Summary | |
NormalMethodChooser(Class theClass, FastArray methods)
|
Method Summary | |
---|---|
def |
ClosureMetaClass(MetaClassRegistry registry, Class theClass)
|
void |
addMetaBeanProperty(MetaBeanProperty mp)
|
void |
addMetaMethod(MetaMethod method)
|
void |
addNewInstanceMethod(Method method)
|
void |
addNewStaticMethod(Method method)
|
void |
assignMethodChooser()
|
Object |
chooseMethod(def arguments, boolean coerce)
|
Object |
chooseMostSpecificParams(String name, List matchingMethods, def arguments)
|
void |
generateReflector()
|
Object |
getAttribute(Class sender, Object object, String attribute, boolean useSuper, boolean fromInsideClass)
|
MetaMethod |
getDelegateMethod(Closure closure, Object delegate, String methodName, def argClasses)
|
List |
getMetaMethods()
|
MetaProperty |
getMetaProperty(String name)
|
MetaMethod |
getMethodWithoutCaching(Class sender, String methodName, def arguments, boolean isCallToSuper)
|
List |
getMethods()
|
List |
getProperties()
|
Object |
getProperty(Class sender, Object object, String name, boolean useSuper, boolean fromInsideClass)
|
MetaMethod |
getStaticMetaMethod(String name, def args)
|
MetaMethod |
getStaticMetaMethod(String name, def argTypes)
|
void |
initAttributes()
|
void |
initialize()
|
Object |
invokeConstructor(Class at, def arguments)
|
Object |
invokeMethod(Class sender, Object object, String methodName, def originalArguments, boolean isCallToSuper, boolean fromInsideClass)
|
Object |
invokeOnDelegationObjects(boolean invoke1, Object o1, boolean invoke2, Object o2, String methodName, def args)
|
Object |
invokeStaticMethod(Object object, String methodName, def arguments)
|
boolean |
isInitialized()
|
MetaClass |
lookupObjectMetaClass(Object object)
|
def |
makeArguments(def arguments, String methodName)
|
MetaMethod |
pickClosureMethod(def argClasses)
|
MetaMethod |
pickMethod(String name, def argTypes)
|
Constructor |
retrieveConstructor(def arguments)
|
MetaMethod |
retrieveStaticMethod(String methodName, def 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)
|
void |
unwrap(def arguments)
|
Constructor Detail |
---|
public NormalMethodChooser(Class theClass, FastArray methods)
Method Detail |
---|
public def ClosureMetaClass(MetaClassRegistry registry, Class theClass)
public void addMetaBeanProperty(MetaBeanProperty mp)
public void addMetaMethod(MetaMethod method)
public void addNewInstanceMethod(Method method)
public void addNewStaticMethod(Method method)
void assignMethodChooser()
public Object chooseMethod(def arguments, boolean coerce)
Object chooseMostSpecificParams(String name, List matchingMethods, def arguments)
void generateReflector()
public Object getAttribute(Class sender, Object object, String attribute, boolean useSuper, boolean fromInsideClass)
MetaMethod getDelegateMethod(Closure closure, Object delegate, String methodName, def argClasses)
public List getMetaMethods()
public MetaProperty getMetaProperty(String name)
public MetaMethod getMethodWithoutCaching(Class sender, String methodName, def arguments, boolean isCallToSuper)
public List getMethods()
public List getProperties()
public Object getProperty(Class sender, Object object, String name, boolean useSuper, boolean fromInsideClass)
public MetaMethod getStaticMetaMethod(String name, def args)
public MetaMethod getStaticMetaMethod(String name, def argTypes)
void initAttributes()
public void initialize()
Object invokeConstructor(Class at, def arguments)
public Object invokeMethod(Class sender, Object object, String methodName, def originalArguments, boolean isCallToSuper, boolean fromInsideClass)
Object invokeOnDelegationObjects(boolean invoke1, Object o1, boolean invoke2, Object o2, String methodName, def args)
public Object invokeStaticMethod(Object object, String methodName, def arguments)
boolean isInitialized()
MetaClass lookupObjectMetaClass(Object object)
def makeArguments(def arguments, String methodName)
MetaMethod pickClosureMethod(def argClasses)
public MetaMethod pickMethod(String name, def argTypes)
public Constructor retrieveConstructor(def arguments)
public MetaMethod retrieveStaticMethod(String methodName, def arguments)
public void setAttribute(Class sender, Object object, String attribute, Object newValue, boolean useSuper, boolean fromInsideClass)
public void setProperties(Object bean, Map map)
public void setProperty(Class sender, Object object, String name, Object newValue, boolean useSuper, boolean fromInsideClass)
void unwrap(def arguments)