code: @Override
      public void visitCode(Code obj) {
  
          Method m = getMethod();
          if (m.isSynthetic()) {
              return;
          }
  
          isPublic = m.isPublic();
  
          stack.resetForMethodEntry(this);
          super.visitCode(obj);
      }
docs: implements the visitor to reset the opcode stack, Note that the synthetic check is done in both visitMethod and visitCode as visitMethod is not a proper
  listener stopping method. We don't want to report issues reported in visitMethod if it is synthetic, but we also don't want it to get into sawOpcode, so
  that is why it is done here as well.
  
  @param obj
  the currently parsed code block