Package com.skillw.pouvoir.util.plugin
Object PluginUtils
-
- All Implemented Interfaces:
public class PluginUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static PluginUtils
INSTANCE
-
Method Summary
Modifier and Type Method Description final static List<Class<?>>
getClasses(Class<?> clazz)
final static Set<Class<?>>
getClasses(String pack)
从包package中获取所有的Class final static Unit
findAndAddClassesInPackageByFile(String packageName, String packagePath, Boolean recursive, Set<Class<?>> classes)
以文件的形式来获取包下的所有Class final static Set<Class<?>>
getByInterface(Class<?> clazz, Set<Class<?>> classesAll)
-
-
Method Detail
-
getClasses
final static List<Class<?>> getClasses(Class<?> clazz)
-
getClasses
final static Set<Class<?>> getClasses(String pack)
从包package中获取所有的Class
-
findAndAddClassesInPackageByFile
final static Unit findAndAddClassesInPackageByFile(String packageName, String packagePath, Boolean recursive, Set<Class<?>> classes)
以文件的形式来获取包下的所有Class
-
-
-
-