// and also lets check if this class is a factory for anything.
DefaultFactoryFor dff = ReflectionUtil.getAnnotation(clazz, DefaultFactoryFor.class);
if (dff != null) {
for (Class<?> target : dff.classes()) repo.factories.put(target.getName(), className);
}
}
private static String extractFqcn(String path, File f) {
return f.getAbsolutePath().replace(path, "").replace(File.separator, ".").replace(".class", "").replaceFirst("\\.+", "");