aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/experimental/Delegate.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-06-12 23:39:36 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-06-13 00:15:32 +0200
commit5edb6ce5e10d40572a6a760902a415264c9a485e (patch)
treebbcc72273795b3c68d2784eaedbfdf74f56c679f /src/core/lombok/experimental/Delegate.java
parente0a91d25896b9d67f0cf3f1a5bb94c40e1ecfc94 (diff)
downloadlombok-5edb6ce5e10d40572a6a760902a415264c9a485e.tar.gz
lombok-5edb6ce5e10d40572a6a760902a415264c9a485e.tar.bz2
lombok-5edb6ce5e10d40572a6a760902a415264c9a485e.zip
Javadoc now builds without warnings. All links to external javadoc replaced with straight up links to avoid the <javadoc> target from trying to download a bunch of index pages.
Diffstat (limited to 'src/core/lombok/experimental/Delegate.java')
-rw-r--r--src/core/lombok/experimental/Delegate.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lombok/experimental/Delegate.java b/src/core/lombok/experimental/Delegate.java
index 3bf4419f..cc844526 100644
--- a/src/core/lombok/experimental/Delegate.java
+++ b/src/core/lombok/experimental/Delegate.java
@@ -52,6 +52,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 {};
@@ -59,6 +61,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 {};
}