NamedParam (groovy 2.5.0 API)
Date: 2018-05-27

Package: groovy.transform

## [Java] Annotation Type NamedParam

- groovy.transform.NamedParam

- Marker interface used to indicate that the name of the annotated parameter (or specified optional name) is a valid key name when using named arguments and that the parameter type is applicable for type checking purposes.

  Since:
    2.5.0

- - ### Element Summary

    Required Element Summary
    Type | Name and Description
    --- | ---
    `String` | `value`

    Optional Element Summary
    Type | Name and Description
    --- | ---
    `boolean` | `required` @default false
    `Class` | `type` @default Object.class

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Element Detail

    - #### public boolean required

      @default false

    - #### public Class type

      @default Object.class

    - #### public String value