}</BUG>
}
@Override
public void sawOpcode(int seen) {
if (seen == ARETURN && getPrevOpcode(1) == ACONST_NULL)
<BUG>bugReporter.reportBug(new BugInstance(this, "NP_BOOLEAN_RETURN_NULL", NORMAL_PRIORITY)

.addClassAndMethod(this)

.addSourceLine(this));</BUG>
}

public void visit(Code code) {
String s = getMethodSig();
SignatureParser sp = new SignatureParser(s);
boolean interesting = "Ljava/lang/Boolean;".equals(sp.getReturnTypeSignature());
if (interesting)  {
super.visit(code); // make callbacks to sawOpcode for all opcodes
bugAccumulator.reportAccumulatedBugs();
}
}
@Override
public void sawOpcode(int seen) {
if (seen == ARETURN && getPrevOpcode(1) == ACONST_NULL)
bugAccumulator.accumulateBug(new BugInstance(this, "NP_BOOLEAN_RETURN_NULL", NORMAL_PRIORITY)
.addClassAndMethod(this), this);
