mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
Potential solution for issue #913
This commit is contained in:
1 parent
b3ae90b273
commit
0a2ed8197a
1 file changed
+1
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user