Class ClassFinder


  • public class ClassFinder
    extends Object
    A class for finding classes in the class loader
    Author:
    Tim Neumann
    • Method Detail

      • getClassesInClassLoader

        public static List<Class<?>> getClassesInClassLoader​(Predicate<Class<?>> filter)
                                                      throws IOException
        Get all classes in the current context class loader, which match the filter.
        Parameters:
        filter - The filter to check each class against.
        Returns:
        A list of classes
        Throws:
        IOException - When an IO Error occurs.