Annotation Interface DelegatesToRW


@Target(PARAMETER) @Retention(SOURCE) @Documented @Deprecated(since="4.0", forRemoval=true) public @interface DelegatesToRW
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0; use DelegatesToBuilder. The AST normalizes this source alias to the same generated DelegatesTo metadata.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    The DSL Object whose generated Builder receives the closure.
  • Element Details

    • value

      Class<?> value
      Deprecated, for removal: This API element is subject to removal in a future version.
      The DSL Object whose generated Builder receives the closure. If not set, the type owning the method is used.
      Default:
      groovy.transform.Undefined.class