code: public void parseController(File file) throws WatchingException{
          ControllerModel<T> controllerModel = new ControllerModel<>();
  
          //Populate the controller model by visiting the File
          try {
              JavaParser.parse(file).accept(CONTROLLER_VISITOR,controllerModel);
          } catch (ParseException |IOException e) {
              throw new WatchingException("Cannot parse "+file.getName(), e);
          }
  
          //Call children once the controller has been parsed
          controllerParsed(file, controllerModel);
      }
docs: Parse the source file of a wisdom Controller and create a model from it.
  Call {@link #controllerParsed(File, ControllerModel)}.
  
  @param file the controller source file.
  @throws WatchingException