final Set<URL> s = new HashSet<URL>();
s.addAll(ClasspathHelper.forJavaClassPath());
s.addAll(Arrays.asList(ClasspathUrlFinder.findClassPaths()));
conf.setUrls(new ArrayList(s));
conf.filterInputsBy(predicate);
final Reflections r = new Reflections(conf);
final Set<Class<?>> entities = r.getTypesAnnotatedWith(Entity.class);
for (final Class<?> c : entities) {