diff options
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java b/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java index 3a4e22c5..02760e35 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java @@ -701,8 +701,7 @@ public class PatchDelegate { private static void addAllMethodBindings0(List<BindingTuple> list, TypeBinding binding, Set<String> banList, char[] fieldName, ASTNode responsible) throws DelegateRecursion { if (binding instanceof SourceTypeBinding) { ClassScope scope = ((SourceTypeBinding) binding).scope; - if (scope == null) return; - scope.environment().globalOptions.storeAnnotations = true; + if (scope != null) scope.environment().globalOptions.storeAnnotations = true; } if (binding == null) return; |