code: @Override
      public void visitMethod(Method obj) {
          methodName = obj.getName();
          state = State.SAW_NOTHING;
      }
docs: overrides the visitor to grab the method name and reset the state.
  
  @param obj
  the method being parsed