@Override public final void visitCode(Code obj) { if (!shouldVisitCode(obj)) { return; } stack = new OpcodeStack(); stack.resetForMethodEntry(this); super.visitCode(obj); stack = null; }
/** * constructs a CEBE detector given the reporter to report bugs on. * * @param bugReporter * the sync of bug reports */ public CommonsEqualsBuilderToEquals(final BugReporter bugReporter) { stack = new OpcodeStack(); this.bugReporter = bugReporter; }
/** * constructs a CVAA detector given the reporter to report bugs on. * * @param bugReporter * the sync of bug reports */ public ContraVariantArrayAssignment(final BugReporter bugReporter) { this.bugReporter = bugReporter; stack = new OpcodeStack(); }
/** * constructs a CHTH detector given the reporter to report bugs on. * * @param bugReporter * the sync of bug reports */ public CommonsHashcodeBuilderToHashcode(final BugReporter bugReporter) { stack = new OpcodeStack(); this.bugReporter = bugReporter; }
/** * constructs a CVAA detector given the reporter to report bugs on. * * @param bugReporter * the sync of bug reports */ public ContraVariantArrayAssignment(final BugReporter bugReporter) { this.bugReporter = bugReporter; stack = new OpcodeStack(); }
/** * constructs a CEBE detector given the reporter to report bugs on. * * @param bugReporter * the sync of bug reports */ public CommonsEqualsBuilderToEquals(final BugReporter bugReporter) { stack = new OpcodeStack(); this.bugReporter = bugReporter; }
/** * constructs a CHTH detector given the reporter to report bugs on. * * @param bugReporter * the sync of bug reports */ public CommonsHashcodeBuilderToHashcode(final BugReporter bugReporter) { stack = new OpcodeStack(); this.bugReporter = bugReporter; }
/** * implements the visitor to set and clear the stack */ @Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); super.visitClassContext(classContext); } finally { stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); popStack = new ArrayList<>(); super.visitClassContext(classContext); } finally { stack = null; popStack = null; } }
/** * implements the visitor to set and clear the stack */ @Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); super.visitClassContext(classContext); } finally { stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); setContainsUsed = new HashMap<>(); super.visitClassContext(classContext); } finally { setContainsUsed = null; stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); toStringStringBuilders = new BitSet(); super.visitClassContext(classContext); } finally { stack = null; toStringStringBuilders = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); super.visitClassContext(classContext); } finally { stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); switchLocs = new BitSet(); super.visitClassContext(classContext); } finally { switchLocs = null; stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); super.visitClassContext(classContext); } finally { stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); toStringStringBuilders = new BitSet(); super.visitClassContext(classContext); } finally { stack = null; toStringStringBuilders = null; } }
@Override public final void visitCode(Code obj) { if (!shouldVisitCode(obj)) { return; } stack = new OpcodeStack(); stack.resetForMethodEntry(this); super.visitCode(obj); stack = null; }
@Override public void visitClassContext(ClassContext context) { try { stack = new OpcodeStack(); clsName = context.getJavaClass().getClassName(); super.visitClassContext(context); } finally { stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); clsVersion = classContext.getJavaClass().getMajor(); super.visitClassContext(classContext); } finally { stack = null; } }
@Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); clsVersion = classContext.getJavaClass().getMajor(); super.visitClassContext(classContext); } finally { stack = null; } }