groovy.transform

## Annotation Type NamedParam

-     @Retention(value=RUNTIME)
       @Target(value=PARAMETER)
      public @interface 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

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `java.lang.String` | `value`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `required`
    `java.lang.Class` | `type`

- - ### Element Detail

    - #### value

          public abstract java.lang.String value

  - - #### type

          public abstract java.lang.Class type

      Default:
        java.lang.Object.class

  - - #### required

          public abstract boolean required

      Default:
        false