Delegate instead.@Target({FIELD,METHOD})
@Retention(SOURCE)
@Deprecated
public @interface Delegate
| Modifier and Type | Optional Element | Description |
|---|---|---|
java.lang.Class<?>[] |
excludes |
Deprecated.
Each method in any of the types listed here (include supertypes) will not be delegated.
|
java.lang.Class<?>[] |
types |
Deprecated.
Normally the type of the field is used as delegate type.
|
java.lang.Class<?>[] types
Object, as well as canEqual(Object other) will never be delegated.java.lang.Object) in these types, generate a delegate method.java.lang.Class<?>[] excludes
Object, as well as canEqual(Object other) will never be delegated.java.lang.Object) in these types, skip generating a delegate method (overrides types()).Copyright © 2009-2018 The Project Lombok Authors, licensed under the MIT licence.