Interface ClassLocator

    • Method Detail

      • getClasses

        Collection<Class<?>> getClasses​(URL pathURL,
                                        String packageName,
                                        ClassLoader classLoader)
        Find all classes in a given path. If a class cannot be loaded, it is skipped (in our case we don't need such classes).
        Parameters:
        pathURL - The path where classes is searched
        packageName - The package name for classes found inside the path
        classLoader - a ClassLoader that is used to load a classes
        Returns:
        Found classes