Potential solution for issue #913

This commit is contained in:
Roel Spilker committed 2016-06-29 00:36:50 +02:00
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;