|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.DelegatingMetaClass org.codehaus.groovy.runtime.metaclass.OwnedMetaClass
public abstract class OwnedMetaClass extends DelegatingMetaClass
Constructor Summary | |
OwnedMetaClass(MetaClass delegate)
|
Method Summary | |
---|---|
boolean
|
equals(java.lang.Object obj)
|
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()
|
MetaMethod
|
getMetaMethod(java.lang.String name, java.lang.Object[] args)
|
MetaMethod
|
getMetaMethod(java.lang.String name, java.lang.Class[] argTypes)
|
java.util.List
|
getMetaMethods()
|
MetaProperty
|
getMetaProperty(java.lang.String name)
|
java.util.List
|
getMethods()
|
protected java.lang.Object
|
getOwner()
|
protected MetaClass
|
getOwnerMetaClass(java.lang.Object owner)
|
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)
|
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()
|
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
|
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()
|
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
|
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
|
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)
|
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() |
Constructor Detail |
---|
public OwnedMetaClass(MetaClass delegate)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
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 MetaMethod getMetaMethod(java.lang.String name, java.lang.Object[] args)
public MetaMethod getMetaMethod(java.lang.String name, java.lang.Class[] argTypes)
public java.util.List getMetaMethods()
public MetaProperty getMetaProperty(java.lang.String name)
@Override public java.util.List getMethods()
protected java.lang.Object getOwner()
protected MetaClass getOwnerMetaClass(java.lang.Object owner)
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 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 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 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 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 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 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 java.lang.String toString()
Groovy Documentation