Package groovy.lang
Annotation Type DelegatesTo.Target
- Enclosing class:
- DelegatesTo
@Retention(RUNTIME)
@Target(PARAMETER)
public static @interface DelegatesTo.Target
Parameter annotation used to specify the delegate for a
@DelegatesTo annotated
parameter of the same method.-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringvalueAn identifier that should be used to disambiguate targets when there are multiple@DelegatesTo.Targetannotated parameters.
-
Element Details
-
value
java.lang.String valueAn identifier that should be used to disambiguate targets when there are multiple@DelegatesTo.Targetannotated parameters.- Default:
- ""
-