return;
}
//
ConfigurationBuilder configurationBuilder = new ConfigurationBuilder()
.setUrls(Arrays.asList(parseOutputDirUrl()))
.setScanners(new SubTypesScanner(), new TypeAnnotationsScanner());
FilterBuilder filter = FilterBuilder.parse(includeExclude);
configurationBuilder.filterInputsBy(filter);
Serializer serializerInstance = null;
if (serializer != null && serializer.length() != 0) {
try {
serializerInstance = (Serializer) Class.forName(serializer).newInstance();
configurationBuilder.setSerializer(serializerInstance);
} catch (Exception ex) {
throw new ReflectionsException("could not create serializer instance", ex);
}
}
final Set<Scanner> scannerInstances;
if (scanners != null && scanners.length() != 0) {
scannerInstances = parseScanners(filter);
} else {
scannerInstances = Sets.<Scanner>newHashSet(new SubTypesScanner(), new TypeAnnotationsScanner());
}
if (serializerInstance != null) {
scannerInstances.add(new TypesScanner());
scannerInstances.add(new TypeElementsScanner());
getLog().info("added type scanners");
}
configurationBuilder.setScanners(scannerInstances.toArray(new Scanner[]{}));
if (parallel != null && parallel.equals(Boolean.TRUE)) {
configurationBuilder.useParallelExecutor();
}
Reflections reflections = new Reflections(configurationBuilder);
for (String destination : parseDestinations()) {