public abstract class OwnedMetaClass extends DelegatingMetaClass
Fields inherited from class | Fields |
---|---|
class DelegatingMetaClass |
delegate |
Constructor and description |
---|
OwnedMetaClass
(MetaClass delegate) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
equals(Object obj) |
|
Object |
getAttribute(Object object, String attribute) |
|
Object |
getAttribute(Class sender, Object receiver, String messageName, boolean useSuper) |
|
ClassNode |
getClassNode() |
|
MetaMethod |
getMetaMethod(String name, Object[] args) |
|
MetaMethod |
getMetaMethod(String name, Class[] argTypes) |
|
List<MetaMethod> |
getMetaMethods() |
|
MetaProperty |
getMetaProperty(String name) |
|
List<MetaMethod> |
getMethods() |
|
protected Object |
getOwner() |
|
protected MetaClass |
getOwnerMetaClass(Object owner) |
|
List<MetaProperty> |
getProperties() |
|
Object |
getProperty(Object object, String property) |
|
Object |
getProperty(Class sender, Object receiver, String messageName, boolean useSuper, boolean fromInsideClass) |
|
MetaMethod |
getStaticMetaMethod(String name, Object[] args) |
|
MetaMethod |
getStaticMetaMethod(String name, Class[] argTypes) |
|
Class |
getTheClass() |
|
MetaProperty |
hasProperty(Object obj, String name) |
|
int |
hashCode() |
|
Object |
invokeConstructor(Object[] arguments) |
|
Object |
invokeMethod(Object object, String methodName, Object arguments) |
|
Object |
invokeMethod(Object object, String methodName, Object[] arguments) |
|
Object |
invokeMethod(Class sender, Object receiver, String methodName, Object[] arguments, boolean isCallToSuper, boolean fromInsideClass) |
|
Object |
invokeMissingMethod(Object instance, String methodName, Object[] arguments) |
|
Object |
invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) |
|
Object |
invokeStaticMethod(Object object, String methodName, Object[] arguments) |
|
boolean |
isGroovyObject() |
|
List<MetaMethod> |
respondsTo(Object obj, String name, Object[] argTypes) |
|
List<MetaMethod> |
respondsTo(Object obj, String name) |
|
int |
selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) |
|
void |
setAttribute(Object object, String attribute, Object newValue) |
|
void |
setAttribute(Class sender, Object receiver, String messageName, Object messageValue, boolean useSuper, boolean fromInsideClass) |
|
void |
setProperty(Object object, String property, Object newValue) |
|
void |
setProperty(Class sender, Object receiver, String messageName, Object messageValue, boolean useSuper, boolean fromInsideClass) |
|
String |
toString() |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.