aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/HandleSetter.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-06-20 21:03:13 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-06-20 21:05:06 +0200
commit0fb0c59d5aa9f18c34eac36e65dcf3c2fdf6808c (patch)
tree4c4ba80d0652b99345c88b2a6f2fecca653f9dc1 /src/core/lombok/javac/handlers/HandleSetter.java
parentbdcbd1bac40ddbfeda22a99285976e2a92fd59df (diff)
downloadlombok-0fb0c59d5aa9f18c34eac36e65dcf3c2fdf6808c.tar.gz
lombok-0fb0c59d5aa9f18c34eac36e65dcf3c2fdf6808c.tar.bz2
lombok-0fb0c59d5aa9f18c34eac36e65dcf3c2fdf6808c.zip
Javac/EclipseAnnotationHandler are now abstract classes instead of interfaces; there were too many 'option' methods (methods where you return either true or false), so we really needed the ability to pick a default.
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleSetter.java')
-rw-r--r--src/core/lombok/javac/handlers/HandleSetter.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSetter.java b/src/core/lombok/javac/handlers/HandleSetter.java
index 957b02ef..7763a017 100644
--- a/src/core/lombok/javac/handlers/HandleSetter.java
+++ b/src/core/lombok/javac/handlers/HandleSetter.java
@@ -63,7 +63,7 @@ import com.sun.tools.javac.util.Name;
* Handles the {@code lombok.Setter} annotation for javac.
*/
@ProviderFor(JavacAnnotationHandler.class)
-public class HandleSetter implements JavacAnnotationHandler<Setter> {
+public class HandleSetter extends JavacAnnotationHandler<Setter> {
public void generateSetterForType(JavacNode typeNode, JavacNode errorNode, AccessLevel level, boolean checkForTypeLevelSetter) {
if (checkForTypeLevelSetter) {
if (typeNode != null) for (JavacNode child : typeNode.down()) {
@@ -247,8 +247,4 @@ public class HandleSetter implements JavacAnnotationHandler<Setter> {
return v.visitNoType(this, p);
}
}
-
- @Override public boolean isResolutionBased() {
- return false;
- }
}