|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.DelegatingMetaClass
public class DelegatingMetaClass extends java.lang.Object
Field Summary | |
---|---|
protected MetaClass |
delegate
|
Constructor Summary | |
DelegatingMetaClass(MetaClass delegate)
|
|
DelegatingMetaClass(java.lang.Class theClass)
|
Method Summary | |
---|---|
void
|
addMetaBeanProperty(MetaBeanProperty metaBeanProperty)
|
void
|
addMetaMethod(MetaMethod metaMethod)
|
void
|
addNewInstanceMethod(java.lang.reflect.Method method)
|
void
|
addNewStaticMethod(java.lang.reflect.Method method)
|
boolean
|
equals(java.lang.Object obj)
|
MetaClass
|
getAdaptee()
|
java.lang.Object
|
getAttribute(java.lang.Object object, java.lang.String attribute)
|
java.lang.Object
|
getAttribute(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, boolean useSuper)
|
ClassNode
|
getClassNode()
|
MetaClass
|
getMetaClass()
|
MetaMethod
|
getMetaMethod(java.lang.String name, java.lang.Object[] args)
|
java.util.List
|
getMetaMethods()
|
MetaProperty
|
getMetaProperty(java.lang.String name)
|
java.util.List
|
getMethods()
|
java.util.List
|
getProperties()
|
java.lang.Object
|
getProperty(java.lang.Object object, java.lang.String property)
|
java.lang.Object
|
getProperty(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, boolean useSuper, boolean fromInsideClass)
|
java.lang.Object
|
getProperty(java.lang.String property)
|
MetaMethod
|
getStaticMetaMethod(java.lang.String name, java.lang.Object[] args)
|
MetaMethod
|
getStaticMetaMethod(java.lang.String name, java.lang.Class[] argTypes)
|
java.lang.Class
|
getTheClass()
|
MetaProperty
|
hasProperty(java.lang.Object obj, java.lang.String name)
|
int
|
hashCode()
|
void
|
initialize()
|
java.lang.Object
|
invokeConstructor(java.lang.Object[] arguments)
|
java.lang.Object
|
invokeMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object arguments)
|
java.lang.Object
|
invokeMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object[] arguments)
|
java.lang.Object
|
invokeMethod(java.lang.Class sender, java.lang.Object receiver, java.lang.String methodName, java.lang.Object[] arguments, boolean isCallToSuper, boolean fromInsideClass)
|
java.lang.Object
|
invokeMethod(java.lang.String name, java.lang.Object args)
|
java.lang.Object
|
invokeMissingMethod(java.lang.Object instance, java.lang.String methodName, java.lang.Object[] arguments)
|
java.lang.Object
|
invokeMissingProperty(java.lang.Object instance, java.lang.String propertyName, java.lang.Object optionalValue, boolean isGetter)
|
java.lang.Object
|
invokeStaticMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object[] arguments)
|
boolean
|
isGroovyObject()
|
boolean
|
isModified()
|
MetaMethod
|
pickMethod(java.lang.String methodName, java.lang.Class[] arguments)
@deprecated |
java.util.List
|
respondsTo(java.lang.Object obj, java.lang.String name, java.lang.Object[] argTypes)
|
java.util.List
|
respondsTo(java.lang.Object obj, java.lang.String name)
|
int
|
selectConstructorAndTransformArguments(int numberOfConstructors, java.lang.Object[] arguments)
|
void
|
setAdaptee(MetaClass adaptee)
|
void
|
setAttribute(java.lang.Object object, java.lang.String attribute, java.lang.Object newValue)
|
void
|
setAttribute(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, java.lang.Object messageValue, boolean useSuper, boolean fromInsideClass)
|
void
|
setMetaClass(MetaClass metaClass)
|
void
|
setProperty(java.lang.Object object, java.lang.String property, java.lang.Object newValue)
|
void
|
setProperty(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, java.lang.Object messageValue, boolean useSuper, boolean fromInsideClass)
|
void
|
setProperty(java.lang.String property, java.lang.Object newValue)
|
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected MetaClass delegate
Constructor Detail |
---|
public DelegatingMetaClass(MetaClass delegate)
public DelegatingMetaClass(java.lang.Class theClass)
Method Detail |
---|
public void addMetaBeanProperty(MetaBeanProperty metaBeanProperty)
public void addMetaMethod(MetaMethod metaMethod)
public void addNewInstanceMethod(java.lang.reflect.Method method)
public void addNewStaticMethod(java.lang.reflect.Method method)
public boolean equals(java.lang.Object obj)
public MetaClass getAdaptee()
public java.lang.Object getAttribute(java.lang.Object object, java.lang.String attribute)
public java.lang.Object getAttribute(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, boolean useSuper)
public ClassNode getClassNode()
public MetaClass getMetaClass()
public MetaMethod getMetaMethod(java.lang.String name, java.lang.Object[] args)
public java.util.List getMetaMethods()
public MetaProperty getMetaProperty(java.lang.String name)
public java.util.List getMethods()
public java.util.List getProperties()
public java.lang.Object getProperty(java.lang.Object object, java.lang.String property)
public java.lang.Object getProperty(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, boolean useSuper, boolean fromInsideClass)
public java.lang.Object getProperty(java.lang.String property)
public MetaMethod getStaticMetaMethod(java.lang.String name, java.lang.Object[] args)
public MetaMethod getStaticMetaMethod(java.lang.String name, java.lang.Class[] argTypes)
public java.lang.Class getTheClass()
public MetaProperty hasProperty(java.lang.Object obj, java.lang.String name)
public int hashCode()
public void initialize()
public java.lang.Object invokeConstructor(java.lang.Object[] arguments)
public java.lang.Object invokeMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object arguments)
public java.lang.Object invokeMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object[] arguments)
public java.lang.Object invokeMethod(java.lang.Class sender, java.lang.Object receiver, java.lang.String methodName, java.lang.Object[] arguments, boolean isCallToSuper, boolean fromInsideClass)
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
public java.lang.Object invokeMissingMethod(java.lang.Object instance, java.lang.String methodName, java.lang.Object[] arguments)
public java.lang.Object invokeMissingProperty(java.lang.Object instance, java.lang.String propertyName, java.lang.Object optionalValue, boolean isGetter)
public java.lang.Object invokeStaticMethod(java.lang.Object object, java.lang.String methodName, java.lang.Object[] arguments)
public boolean isGroovyObject()
public boolean isModified()
public MetaMethod pickMethod(java.lang.String methodName, java.lang.Class[] arguments)
public java.util.List respondsTo(java.lang.Object obj, java.lang.String name, java.lang.Object[] argTypes)
public java.util.List respondsTo(java.lang.Object obj, java.lang.String name)
public int selectConstructorAndTransformArguments(int numberOfConstructors, java.lang.Object[] arguments)
public void setAdaptee(MetaClass adaptee)
public void setAttribute(java.lang.Object object, java.lang.String attribute, java.lang.Object newValue)
public void setAttribute(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, java.lang.Object messageValue, boolean useSuper, boolean fromInsideClass)
public void setMetaClass(MetaClass metaClass)
public void setProperty(java.lang.Object object, java.lang.String property, java.lang.Object newValue)
public void setProperty(java.lang.Class sender, java.lang.Object receiver, java.lang.String messageName, java.lang.Object messageValue, boolean useSuper, boolean fromInsideClass)
public void setProperty(java.lang.String property, java.lang.Object newValue)
public java.lang.String toString()
Groovy Documentation