mirror of
https://github.com/wahyd4/Martian.git
synced 2026-08-09 05:16:21 +10:00
新增扫描注解
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user