code: @Override
      public void visitCode(Code obj) {
          Method m = getMethod();
  
          if (overloadedMethods.contains(m)) {
              return;
          }
  
          int aFlags = m.getAccessFlags();
          if ((((aFlags & Const.ACC_PRIVATE) != 0) || ((aFlags & Const.ACC_STATIC) != 0)) && ((aFlags & Const.ACC_SYNTHETIC) == 0)
                  && (!m.getSignature().endsWith(")Z"))) {
              stack.resetForMethodEntry(this);
              returnRegister = Values.NEGATIVE_ONE;
              returnConstant = null;
              registerConstants.clear();
              returnPC = -1;
  
              try {
                  super.visitCode(obj);
                  if ((returnConstant != null)) {
                      BugInstance bi = new BugInstance(this, BugType.MRC_METHOD_RETURNS_CONSTANT.name(),
                              ((aFlags & Const.ACC_PRIVATE) != 0) ? NORMAL_PRIORITY : LOW_PRIORITY).addClass(this).addMethod(this);
                      if (returnPC >= 0) {
                          bi.addSourceLine(this, returnPC);
                      }
  
                      bi.addString(returnConstant.toString());
                      bugReporter.reportBug(bi);
                  }
              } catch (StopOpcodeParsingException e) {
                  // method was not suspect
              }
          }
      }
docs: implements the visitor to reset the stack and proceed for private methods
  
  @param obj
  the context object of the currently parsed code block