@Retention(RetentionPolicy.RUNTIME) @Target({ElementType.PARAMETER}) public @interface DelegatesTo.Target
Parameter annotation used to specify the delegate for a @DelegatesTo annotated parameter of the same method.
| Type | Name and Description |
|---|---|
String |
valueAn identifier that should be used to disambiguate targets when there are multiple @DelegatesTo.Target annotated parameters. |
| Methods inherited from class | Name |
|---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
An identifier that should be used to disambiguate targets when there are multiple @DelegatesTo.Target annotated parameters.
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/groovy/lang/DelegatesTo.Target.html