SHARE
TWEET

Untitled

a guest Jun 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ClassPath classpath = ClassPath.from(this.getClass().getClassLoader());
  2.  ImmutableSet<ClassPath.ClassInfo> classes = classpath.getTopLevelClassesRecursive("abc.efg");
  3.     for (ClassPath.ClassInfo classInfo : classes) {
  4.         Class<?> aClass = classInfo.load();
  5.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top