diff options
Diffstat (limited to 'src/lombok/eclipse/handlers/HandleSetter.java')
-rw-r--r-- | src/lombok/eclipse/handlers/HandleSetter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lombok/eclipse/handlers/HandleSetter.java b/src/lombok/eclipse/handlers/HandleSetter.java index 8c47a43b..636226bd 100644 --- a/src/lombok/eclipse/handlers/HandleSetter.java +++ b/src/lombok/eclipse/handlers/HandleSetter.java @@ -85,6 +85,8 @@ public class HandleSetter implements EclipseAnnotationHandler<Setter> { Node fieldNode = annotationNode.up(); if ( fieldNode.getKind() != Kind.FIELD ) return false; AccessLevel level = annotation.getInstance().value(); + if ( level == AccessLevel.NONE ) return true; + return createSetterForField(level, fieldNode, annotationNode, annotationNode.get(), true); } |