groovy.transform
public @Interface NamedParam
extends Annotation
- Annotations
- @Retention:RUNTIME
- @Target:PARAMETER
- @Repeatable:NamedParams
- Imports
- java.lang.annotation.ElementType, .Repeatable, .Retention, .RetentionPolicy, .Target
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