Top Description Inners Fields Constructors Methods
org.codehaus.groovy.runtime.metaclass

public Class MethodMetaProperty

extends MetaProperty
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.runtime.metaclass.MethodMetaProperty.GetMethodMetaProperty, org.codehaus.groovy.runtime.metaclass.MethodMetaProperty.GetBeanMethodMetaProperty
Imports
groovy.lang.MetaClassImpl, .MetaMethod, .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 and Inner Type Summary

Modifier and TypeClass and Description
public static class
MethodMetaProperty.GetBeanMethodMetaProperty

Wrapper for a method realizing the property getter.

public static class
MethodMetaProperty.GetMethodMetaProperty

Wrapper for a method realizing the property get.

Field Summary

Modifier and TypeField and Description
private final MetaMethod
Inherited from groovy.lang.MetaProperty:
namePROPERTY_SET_PREFIXtype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MetaMethod
public Object
public void
setProperty(Object
on which to set the property
object
,
Object
the new value of the property
newValue
)

Implements abstract groovy.lang.MetaProperty.setProperty.

Sets the property on the given object to the new value.
Inherited from groovy.lang.MetaProperty:
getGetterNamegetModifiersgetNamegetSetterNamegetType

Field Detail

methodback to summary
private final MetaMethod method

Constructor Detail

MethodMetaPropertyback to summary
public MethodMetaProperty(String name, MetaMethod method)

Method Detail

getMetaMethodback to summary
public MetaMethod getMetaMethod()
getPropertyback to summary
public Object getProperty(Object object)

Implements abstract groovy.lang.MetaProperty.getProperty.

Returns:Object

Doc from groovy.lang.MetaProperty.getProperty.

the property of the given object

Annotations
@Override
setPropertyback to summary
public void setProperty(Object object, Object newValue)

Implements abstract groovy.lang.MetaProperty.setProperty.

Doc from groovy.lang.MetaProperty.setProperty.

Sets the property on the given object to the new value.

Parameters
object:Object

on which to set the property

newValue:Object

the new value of the property

Annotations
@Override
org.codehaus.groovy.runtime.metaclass back to summary

public Class MethodMetaProperty.GetBeanMethodMetaProperty

extends MethodMetaProperty
Class Inheritance

Wrapper for a method realizing the property getter.

Warning

This class is for internal use only, don't use it for your APIs

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
Inherited from org.codehaus.groovy.runtime.metaclass.MethodMetaProperty:
getMetaMethodsetProperty

Constructor Detail

GetBeanMethodMetaPropertyback to summary
public GetBeanMethodMetaProperty(String name, MetaMethod theMethod)

Method Detail

getPropertyback to summary
public Object getProperty(Object object)

Overrides org.codehaus.groovy.runtime.metaclass.MethodMetaProperty.getProperty.

Returns:Object

Doc from groovy.lang.MetaProperty.getProperty.

the property of the given object

org.codehaus.groovy.runtime.metaclass back to summary

public Class MethodMetaProperty.GetMethodMetaProperty

extends MethodMetaProperty
Class Inheritance

Wrapper for a method realizing the property get.

Warning

This class is for internal use only, don't use it for your APIs

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
Inherited from org.codehaus.groovy.runtime.metaclass.MethodMetaProperty:
getMetaMethodsetProperty

Constructor Detail

GetMethodMetaPropertyback to summary
public GetMethodMetaProperty(String name, MetaMethod theMethod)

Method Detail

getPropertyback to summary
public Object getProperty(Object object)

Overrides org.codehaus.groovy.runtime.metaclass.MethodMetaProperty.getProperty.

Returns:Object

Doc from groovy.lang.MetaProperty.getProperty.

the property of the given object