@Test public void test() { List<Resource> rs = new ArrayList<>(); ResourceScanning.scanPackage(new String[] { "xyz.noark.core.ioc.scan" }, (r) -> rs.add(r)); assertTrue(!rs.isEmpty()); }
public static void scanPackage(String[] packages, ResourceCallback callback) { for (String packagePath : packages) { scanPackage(packagePath, callback); } }
ResourceScanning { public static void scanPackage(String[] packages, ResourceCallback callback) { for (String packagePath : packages) { scanPackage(packagePath, callback); } } }
ResourceScanning { public static void scanPackage(String[] packages, ResourceCallback callback) { for (String packagePath : packages) { scanPackage(packagePath, callback); } } private  ResourceScanning(); }
ResourceScanning { public static void scanPackage(String[] packages, ResourceCallback callback) { for (String packagePath : packages) { scanPackage(packagePath, callback); } } private  ResourceScanning(); static void scanPackage(String[] packages, ResourceCallback callback); }
ResourceScanning { public static void scanPackage(String[] packages, ResourceCallback callback) { for (String packagePath : packages) { scanPackage(packagePath, callback); } } private  ResourceScanning(); static void scanPackage(String[] packages, ResourceCallback callback);  }