@Test public void getCicadaClasses() throws Exception { Set<Class<?>> classes = ClassScanner.getClasses("top.crossoverjie.cicada"); System.out.println(classes.size()); }
public static Set<Class<?>> getClasses(String packageName) throws Exception { if (classes == null){ classes = new HashSet<>(32) ; baseScanner(packageName,classes); } return classes; }
ClassScanner { public static Set<Class<?>> getClasses(String packageName) throws Exception { if (classes == null){ classes = new HashSet<>(32) ; baseScanner(packageName,classes); } return classes; } }
ClassScanner { public static Set<Class<?>> getClasses(String packageName) throws Exception { if (classes == null){ classes = new HashSet<>(32) ; baseScanner(packageName,classes); } return classes; }  }
ClassScanner { public static Set<Class<?>> getClasses(String packageName) throws Exception { if (classes == null){ classes = new HashSet<>(32) ; baseScanner(packageName,classes); } return classes; }  static List<Class<?>> getConfiguration(String packageName); static List<Class<?>> getInitHandles(String packageName); static Map<String, Class<?>> getCicadaBean(String packageName); static boolean isInterface(Class<?> clazz,Class<?> target); static Map<Class<?>, Integer> getCicadaInterceptor(String packageName); static Set<Class<?>> getClasses(String packageName); static CicadaBeanFactory getCicadaBeanFactory(); @Deprecated static Class<?> getBeanFactory(); }
ClassScanner { public static Set<Class<?>> getClasses(String packageName) throws Exception { if (classes == null){ classes = new HashSet<>(32) ; baseScanner(packageName,classes); } return classes; }  static List<Class<?>> getConfiguration(String packageName); static List<Class<?>> getInitHandles(String packageName); static Map<String, Class<?>> getCicadaBean(String packageName); static boolean isInterface(Class<?> clazz,Class<?> target); static Map<Class<?>, Integer> getCicadaInterceptor(String packageName); static Set<Class<?>> getClasses(String packageName); static CicadaBeanFactory getCicadaBeanFactory(); @Deprecated static Class<?> getBeanFactory();  }