if (!usedServiceLoader) {
return Collections.emptySet();
}
Set<Class<?>> annotatedMachines = new ConfigurationBuilder()
.setUrls(ClasspathHelper.forPackage(""))
.setScanners(new TypeAnnotationsScanner())
.build()
.getTypesAnnotatedWith(Machine.class);
Set<String> undeclared = Sets.newLinkedHashSet();
for (Class<?> annotatedMachine : annotatedMachines) {