code: @Override
      public void visitCode(Code obj) {
          state = State.SEEN_NOTHING;
          beanReference1 = null;
          beanReference2 = null;
          propName = null;
          propType = null;
          sawField = false;
          super.visitCode(obj);
      }
docs: overrides the visitor to reset the state to SEEN_NOTHING, and clear the beanReference, propName and propType
  
  @param obj
  the context object of the currently parsed code block