|
Groovy 2.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.lang.MetaProperty
org.codehaus.groovy.runtime.metaclass.MethodMetaProperty
public class MethodMetaProperty extends MetaProperty
Wrapper for a method for a property get or set. WARNING: This class is for internal use only, don't use it for your APIs
| Nested Class Summary | |
|---|---|
static class |
MethodMetaProperty.GetBeanMethodMetaProperty
Wrapper for a method realizing the property getter. |
static class |
MethodMetaProperty.GetMethodMetaProperty
Wrapper for a method realizing the property get. |
| Field Summary |
|---|
| Fields inherited from class MetaProperty | |
|---|---|
| PROPERTY_SET_PREFIX, name, type |
| Constructor Summary | |
MethodMetaProperty(String name, MetaMethod method)
|
|
| Method Summary | |
|---|---|
MetaMethod
|
getMetaMethod()
|
Object
|
getProperty(Object object)
|
void
|
setProperty(Object object, Object newValue)
|
| Methods inherited from class MetaProperty | |
|---|---|
| getGetterName, getModifiers, getName, getProperty, getSetterName, getType, setProperty |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
public MethodMetaProperty(String name, MetaMethod method)
| Method Detail |
|---|
public MetaMethod getMetaMethod()
@Override public Object getProperty(Object object)
@Override public void setProperty(Object object, Object newValue)
Copyright © 2003-2013 The Codehaus. All rights reserved.