diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-06-20 21:03:13 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-06-20 21:05:06 +0200 |
commit | 0fb0c59d5aa9f18c34eac36e65dcf3c2fdf6808c (patch) | |
tree | 4c4ba80d0652b99345c88b2a6f2fecca653f9dc1 /src/core/lombok/javac/handlers/HandleToString.java | |
parent | bdcbd1bac40ddbfeda22a99285976e2a92fd59df (diff) | |
download | lombok-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/HandleToString.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleToString.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/lombok/javac/handlers/HandleToString.java b/src/core/lombok/javac/handlers/HandleToString.java index 48fc90dc..5c538460 100644 --- a/src/core/lombok/javac/handlers/HandleToString.java +++ b/src/core/lombok/javac/handlers/HandleToString.java @@ -55,7 +55,7 @@ import com.sun.tools.javac.util.ListBuffer; * Handles the {@code ToString} annotation for javac. */ @ProviderFor(JavacAnnotationHandler.class) -public class HandleToString implements JavacAnnotationHandler<ToString> { +public class HandleToString extends JavacAnnotationHandler<ToString> { private void checkForBogusFieldNames(JavacNode type, AnnotationValues<ToString> annotation) { if (annotation.isExplicit("exclude")) { for (int i : createListOfNonExistentFields(List.from(annotation.getInstance().exclude()), type, true, false)) { @@ -250,8 +250,4 @@ public class HandleToString implements JavacAnnotationHandler<ToString> { } return typeName; } - - @Override public boolean isResolutionBased() { - return false; - } } |