code: @Override
      public void visit(Method obj) {
          state = State.SAW_NOTHING;
          register1_1 = -1;
          register1_2 = -1;
          register2_1 = -1;
          register2_2 = -1;
          super.visit(obj);
      }
docs: overrides the visitor to reset the registers
  
  @param obj
  the method of the currently parsed method