code: private Collection<Class<? extends Controller>> getControllerClasses(String... packageNames) {
          log.debug("Discovering annotated controller in package(s) '{}'", Arrays.toString(packageNames));
          return ClassUtils.getSubTypesOf(Controller.class, packageNames);
      }
docs: Discover Controller classes.
  
  @param packageNames
  @return controller classes