|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
MetaClass |
delegate
|
Constructor Summary | |
DelegatingMetaClass(MetaClass delegate)
|
|
DelegatingMetaClass(Class theClass)
|
Method Summary | |
---|---|
void |
addMetaBeanProperty(MetaBeanProperty metaBeanProperty)
|
void |
addMetaMethod(MetaMethod metaMethod)
|
void |
addNewInstanceMethod(Method method)
|
void |
addNewStaticMethod(Method method)
|
boolean |
equals(Object obj)
|
MetaClass |
getAdaptee()
|
Object |
getAttribute(Object object, String attribute)
|
Object |
getAttribute(Class sender, Object receiver, String messageName, boolean useSuper)
|
ClassNode |
getClassNode()
|
MetaClass |
getMetaClass()
|
MetaMethod |
getMetaMethod(String name, def args)
|
MetaMethod |
getMetaMethod(String name, def argTypes)
|
List |
getMetaMethods()
|
MetaProperty |
getMetaProperty(String name)
|
List |
getMethods()
|
List |
getProperties()
|
Object |
getProperty(Object object, String property)
|
Object |
getProperty(Class sender, Object receiver, String messageName, boolean useSuper, boolean fromInsideClass)
|
Object |
getProperty(String property)
|
MetaMethod |
getStaticMetaMethod(String name, def args)
|
MetaMethod |
getStaticMetaMethod(String name, def argTypes)
|
Class |
getTheClass()
|
MetaProperty |
hasProperty(Object obj, String name)
|
int |
hashCode()
|
void |
initialize()
|
Object |
invokeConstructor(def arguments)
|
Object |
invokeMethod(Object object, String methodName, Object arguments)
|
Object |
invokeMethod(Object object, String methodName, def arguments)
|
Object |
invokeMethod(Class sender, Object receiver, String methodName, def arguments, boolean isCallToSuper, boolean fromInsideClass)
|
Object |
invokeMethod(String name, Object args)
|
Object |
invokeMissingMethod(Object instance, String methodName, def arguments)
|
Object |
invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter)
|
Object |
invokeStaticMethod(Object object, String methodName, def arguments)
|
boolean |
isGroovyObject()
|
boolean |
isModified()
|
MetaMethod |
pickMethod(String methodName, def arguments)
|
List |
respondsTo(Object obj, String name, def argTypes)
|
List |
respondsTo(Object obj, String name)
|
int |
selectConstructorAndTransformArguments(int numberOfCosntructors, def arguments)
|
void |
setAdaptee(MetaClass adaptee)
|
void |
setAttribute(Object object, String attribute, Object newValue)
|
void |
setAttribute(Class sender, Object receiver, String messageName, Object messageValue, boolean useSuper, boolean fromInsideClass)
|
void |
setMetaClass(MetaClass metaClass)
|
void |
setProperty(Object object, String property, Object newValue)
|
void |
setProperty(Class sender, Object receiver, String messageName, Object messageValue, boolean useSuper, boolean fromInsideClass)
|
void |
setProperty(String property, Object newValue)
|
String |
toString()
|
Constructor Detail |
---|
public DelegatingMetaClass(MetaClass delegate)
public DelegatingMetaClass(Class theClass)
Method Detail |
---|
public void addMetaBeanProperty(MetaBeanProperty metaBeanProperty)
public void addMetaMethod(MetaMethod metaMethod)
public void addNewInstanceMethod(Method method)
public void addNewStaticMethod(Method method)
public boolean equals(Object obj)
public MetaClass getAdaptee()
public Object getAttribute(Object object, String attribute)
public Object getAttribute(Class sender, Object receiver, String messageName, boolean useSuper)
public ClassNode getClassNode()
public MetaClass getMetaClass()
public MetaMethod getMetaMethod(String name, def args)
public MetaMethod getMetaMethod(String name, def argTypes)
public List getMetaMethods()
public MetaProperty getMetaProperty(String name)
public List getMethods()
public List getProperties()
public Object getProperty(Object object, String property)
public Object getProperty(Class sender, Object receiver, String messageName, boolean useSuper, boolean fromInsideClass)
public Object getProperty(String property)
public MetaMethod getStaticMetaMethod(String name, def args)
public MetaMethod getStaticMetaMethod(String name, def argTypes)
public Class getTheClass()
public MetaProperty hasProperty(Object obj, String name)
public int hashCode()
public void initialize()
public Object invokeConstructor(def arguments)
public Object invokeMethod(Object object, String methodName, Object arguments)
public Object invokeMethod(Object object, String methodName, def arguments)
public Object invokeMethod(Class sender, Object receiver, String methodName, def arguments, boolean isCallToSuper, boolean fromInsideClass)
public Object invokeMethod(String name, Object args)
public Object invokeMissingMethod(Object instance, String methodName, def arguments)
public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter)
public Object invokeStaticMethod(Object object, String methodName, def arguments)
public boolean isGroovyObject()
public boolean isModified()
public MetaMethod pickMethod(String methodName, def arguments)
public List respondsTo(Object obj, String name, def argTypes)
public List respondsTo(Object obj, String name)
public int selectConstructorAndTransformArguments(int numberOfCosntructors, def arguments)
public void setAdaptee(MetaClass adaptee)
public void setAttribute(Object object, String attribute, Object newValue)
public void setAttribute(Class sender, Object receiver, String messageName, Object messageValue, boolean useSuper, boolean fromInsideClass)
public void setMetaClass(MetaClass metaClass)
public void setProperty(Object object, String property, Object newValue)
public void setProperty(Class sender, Object receiver, String messageName, Object messageValue, boolean useSuper, boolean fromInsideClass)
public void setProperty(String property, Object newValue)
public String toString()