aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/Setter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lombok/Setter.java')
-rw-r--r--src/core/lombok/Setter.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/lombok/Setter.java b/src/core/lombok/Setter.java
index a7318259..59ed9346 100644
--- a/src/core/lombok/Setter.java
+++ b/src/core/lombok/Setter.java
@@ -29,6 +29,10 @@ import java.lang.annotation.Target;
/**
* Put on any field to make lombok build a standard setter.
* <p>
+ * Complete documentation is found at <a href="http://projectlombok.org/features/GetterSetter.html">the project lombok features page for &#64;Getter and &#64;Setter</a>.
+ * <p>
+ * Even though it is not listed, this annotation also has the {@code onParam} and {@code onMethod} parameter. See the full documentation for more details.
+ * <p>
* Example:
* <pre>
* private &#64;Setter int foo;
@@ -42,8 +46,6 @@ import java.lang.annotation.Target;
* }
* </pre>
*
- * If any method named {@code setFoo} (case insensitive) exists, regardless of return type or parameters,
- * no method is generated, and instead a compiler warning is emitted.
* <p>
* This annotation can also be applied to a class, in which case it'll be as if all non-static fields that don't already have
* a {@code Setter} annotation have the annotation.