code: protected Collection<Class<?>> discoverClasses(String... packageNames) {
          log.debug("Discovering annotated controller in package(s) '{}'", Arrays.toString(packageNames));
          Collection<Class<?>> classes = ClassUtil.getAnnotatedClasses(Path.class, packageNames);
          return classes;
      }
docs: Discover Controller classes.
  
  @param packageNames
  @return controller classes