类 ScanUtil
- java.lang.Object
-
- network.nerve.core.core.ioc.ScanUtil
-
public class ScanUtil extends Object
该工具类用于扫描classpath中所有的类,包含jar文件中的class和文件夹下的class The utility class is used to scan all classes in the classpath, including the class in the jar file and the class under the folder.- 作者:
- Eva Wang
-
-
构造器概要
构造器 构造器 说明 ScanUtil()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidfindClassLocal(String packageName, String filePath, List<Class> list)扫描所有本地类型,将扫描到的结果添加到类型列表中 Scan all local types and add the scanned results to the list of types.static List<Class>scan(String packageName)扫描执行包名称下的所有类型 Scans all types under the package name.
-