use of com.blade.ioc.bean.Scanner in project blade by biezhi.
the class DynamicContext method recursionFindClasses.
public static Stream<ClassInfo> recursionFindClasses(String packageName) {
Scanner scanner = Scanner.builder().packageName(packageName).recursive(true).build();
Set<ClassInfo> classInfos = getClassReader(packageName).readClasses(scanner);
return classInfos.stream();
}