Example usage for Java com.google.common.reflect ClassPath fields, constructors, methods, implement or subclass
The text is from its open source code.
ClassPath | from(ClassLoader classloader) Returns a ClassPath representing all classes and resources loadable from classloader and its parent class loaders. |
ImmutableSet | getAllClasses() Returns all classes loadable from the current class path. |
ImmutableSet | getResources() Returns all resources loadable from the current class path, including the class files of all loadable classes but excluding the "META-INF/MANIFEST.MF" file. |
ImmutableSet | getTopLevelClasses(String packageName) Returns all top level classes whose package name is packageName . |
ImmutableSet | getTopLevelClasses() Returns all top level classes loadable from the current class path. |
ImmutableSet | getTopLevelClassesRecursive(String packageName) Returns all top level classes whose package name is packageName or starts with packageName followed by a '.'. |
String | toString() Returns a string representation of the object. |