新增扫描注解

This commit is contained in:
yuye
2020-03-26 21:32:31 +08:00
parent d86c73f0b7
commit 2393dcd3d6
@@ -41,8 +41,9 @@ public class StartLoadClass implements StartMap {
Class<?> cls = startParam.getClazz();
String cName = cls.getName();
if (cName.lastIndexOf(".") > 0) {
classNameList.add(cName.substring(0, cName.lastIndexOf(".")));
cName = cName.substring(0, cName.lastIndexOf("."));
}
classNameList.add(cName);
classNameList = getImportList(cls,classNameList);