code: public void register(String... packageNames) {
          Collection<Class<? extends Controller>> classes = getControllerClasses(packageNames);
          if (classes.isEmpty()) {
              log.warn("No annotated controllers found in package(s) '{}'", Arrays.toString(packageNames));
              return;
          }
  
          log.debug("Found {} controller classes in {} package(s)", classes.size(), packageNames.length);
  
          for (Class<? extends Controller> controllerClass : classes) {
              register(controllerClass);
          }
      }
docs: Register all controller methods in the specified package names.
  
  @param packageNames