Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Constructor and description |
---|
OwnedMetaClass
(MetaClass delegate) |
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() |
Methods inherited from class | Name |
---|---|
class DelegatingMetaClass |
hasProperty, setMetaClass, getMetaClass, getMetaProperty, getStaticMetaMethod, getStaticMetaMethod, getMetaMethod, getTheClass, invokeConstructor, invokeStaticMethod, pickMethod, invokeMissingMethod, invokeMissingProperty, getMetaMethods, getClassNode, selectConstructorAndTransformArguments, respondsTo, respondsTo, addMetaBeanProperty, isModified, getAdaptee, setAdaptee, isGroovyObject, addNewInstanceMethod, addNewStaticMethod, addMetaMethod, setAttribute, setAttribute, getAttribute, getAttribute, invokeMethod, invokeMethod, invokeMethod, invokeMethod, setProperty, setProperty, setProperty, getProperty, getProperty, getProperty, equals, toString, hashCode, getMethods, getProperties, initialize, wait, wait, wait, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.