NPE (EA-25961)

This commit is contained in:
Dmitry Jemerov
2011-03-11 20:42:56 +01:00
parent 9cbfd99842
commit 414045f23a
@@ -103,6 +103,10 @@ public class MethodCallInstruction extends Instruction {
}
public String toString() {
return myMethodType == MethodType.UNBOXING ? "UNBOX" : myMethodType == MethodType.BOXING ? "BOX" : "CALL_METHOD: " + myCall.getText();
return myMethodType == MethodType.UNBOXING
? "UNBOX"
: myMethodType == MethodType.BOXING
? "BOX" :
"CALL_METHOD: " + (myCall == null ? "null" : myCall.getText());
}
}