aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/Delegate.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lombok/Delegate.java')
-rw-r--r--src/core/lombok/Delegate.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lombok/Delegate.java b/src/core/lombok/Delegate.java
index f7c8b083..0c5a4c2c 100644
--- a/src/core/lombok/Delegate.java
+++ b/src/core/lombok/Delegate.java
@@ -40,6 +40,8 @@ public @interface Delegate {
* type listed here is used only to determine which delegate methods to generate.
*
* NB: All methods in {@code Object}, as well as {@code canEqual(Object other)} will never be delegated.
+ *
+ * @return For each method (not already in {@code java.lang.Object}) in these types, generate a delegate method.
*/
Class<?>[] types() default {};
@@ -47,6 +49,8 @@ public @interface Delegate {
* Each method in any of the types listed here (include supertypes) will <em>not</em> be delegated.
*
* NB: All methods in {@code Object}, as well as {@code canEqual(Object other)} will never be delegated.
+ *
+ * @return For each method (not already in {@code java.lang.Object}) in these types, skip generating a delegate method (overrides {@code types()}).
*/
Class<?>[] excludes() default {};
}