Package: org.codehaus.groovy.groovydoc

## [Java] Interface GroovyParameter

-     public interface GroovyParameter

  Describes a parameter declared by a documented executable member.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public GroovyAnnotationRef[]` | `annotations()` Returns the annotations declared on this parameter.
    `` | `public String` | `defaultValue()` Returns the default value expression declared for this parameter.
    `` | `public String` | `name()` Returns the parameter name.
    `` | `public GroovyType` | `type()` Returns the resolved parameter type.
    `` | `public String` | `typeName()` Returns the parameter type name as declared in source.

- - ### Method Detail

    - #### public GroovyAnnotationRef[] annotations()

      Returns the annotations declared on this parameter.

      Returns:
        the parameter annotations

    - #### public String defaultValue()

      Returns the default value expression declared for this parameter.

      Returns:
        the default value expression, or `null` if none is declared

    - #### public String name()

      Returns the parameter name.

      Returns:
        the parameter name

    - #### public GroovyType type()

      Returns the resolved parameter type.

      Returns:
        the parameter type, or `null` if it is unavailable

    - #### public String typeName()

      Returns the parameter type name as declared in source.

      Returns:
        the declared type name