Package: org.codehaus.groovy.runtime.metaclass

## [Java] Class MethodMetaProperty.GetBeanMethodMetaProperty

- org.codehaus.groovy.runtime.metaclass.MethodMetaProperty.GetBeanMethodMetaProperty

-     public static class MethodMetaProperty.GetBeanMethodMetaProperty
      extends MethodMetaProperty

  Wrapper for a method realizing the property getter. WARNING: This class is for internal use only, don't use it for your APIs

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class MetaProperty` | `PROPERTY_SET_PREFIX, name, type`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `GetBeanMethodMetaProperty(String name, MetaMethod theMethod)` Constructs a new GetBeanMethodMetaProperty.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Object` | `getProperty(Object object)` Gets the property value by invoking the metamethod without arguments.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class MethodMetaProperty` | `getMetaMethod, getProperty, setProperty`
    `class MetaProperty` | `getGetterName, getModifiers, getName, getProperty, getSetterName, getType, setProperty`

- - ### Constructor Detail

    - #### public GetBeanMethodMetaProperty(String name, MetaMethod theMethod)

      Constructs a new GetBeanMethodMetaProperty.

      Parameters:
        `name` - the property name
        `theMethod` - the metamethod to use for getting the property

  - ### Method Detail

    - #### public Object getProperty(Object object)

      Gets the property value by invoking the metamethod without arguments. Typically used for getter methods that take no arguments.

      Parameters:
        `object` - the object to get the property from
      Returns:
        the property value (result of metamethod invocation)