/** return urls that are in the current class path. * attempts to load the jar manifest, if any, and adds to the result any dependencies it finds. */ public static Set<URL> forManifest() { return forManifest(forClassLoader()); }
ContraintScanner() { super(new ConfigurationBuilder() .setUrls(ClasspathHelper.forClassLoader()) .setScanners( new FieldAnnotationsScanner(), new TypeAnnotationsScanner())); scan(); } }