if (!packages.isEmpty()) {
String matchingNames = finder.getAnnotatedValue(UsingSteps.class,
String.class, "matchingNames");
String notMatchingNames = finder.getAnnotatedValue(UsingSteps.class,
String.class, "notMatchingNames");
factory = new ScanningStepsFactory(configuration,
packages.toArray(new String[packages.size()]))
.matchingNames(matchingNames).notMatchingNames(notMatchingNames);
}
} else {
annotationMonitor.annotationNotFound(UsingSteps.class, annotatedClass);