IDEA-134902 NPE during decompilation

master
Egor.Ushakov 10 years ago
parent 41fc5493e2
commit f4e6c8d56f
  1. 2
      src/org/jetbrains/java/decompiler/modules/decompiler/exps/AssignmentExprent.java

@ -118,7 +118,7 @@ public class AssignmentExprent extends Exprent {
if (field.isStatic() && fd.hasModifier(CodeConstants.ACC_FINAL)) { if (field.isStatic() && fd.hasModifier(CodeConstants.ACC_FINAL)) {
fieldInClassInit = true; fieldInClassInit = true;
} }
if (node.wrapper.getHiddenMembers().contains(InterpreterUtil.makeUniqueKey(fd.getName(), fd.getDescriptor()))) { if (node.wrapper != null && node.wrapper.getHiddenMembers().contains(InterpreterUtil.makeUniqueKey(fd.getName(), fd.getDescriptor()))) {
hiddenField = true; hiddenField = true;
} }
} }

Loading…
Cancel
Save