@Override
    public void visitCode(Code obj) {
        Method method = getMethod();
        if (prescreen(method)) {
            stack.resetForMethodEntry(this);
            regPriorities.clear();
            int[] parmRegs = RegisterUtils.getParameterRegisters(method);
            for (int reg : parmRegs) {
                regPriorities.put(Integer.valueOf(reg), Values.NORMAL_BUG_PRIORITY);
            }
            if (!method.isStatic()) {
                regPriorities.put(Values.ZERO, Values.LOW_BUG_PRIORITY);
            }
            super.visitCode(obj);
        }
    }
@ Override public void visitCode ( Code obj ) { Method method = getMethod ( ) ; if ( prescreen ( method ) ) { stack . resetForMethodEntry ( this ) ; regPriorities . clear ( ) ; int [ ] parmRegs = RegisterUtils . getParameterRegisters ( method ) ; for ( int reg : parmRegs ) { regPriorities . put ( Integer . valueOf ( reg ) , Values . NORMAL_BUG_PRIORITY ) ; } if ( ! method . isStatic ( ) ) { regPriorities . put ( Values . ZERO , Values . LOW_BUG_PRIORITY ) ; } super . visitCode ( obj ) ; } }
implements the visitor to reset the opcode stack

@param obj
the context object of the currently parsed code block