SearchClassCommand command = new SearchClassCommand() {
@Override
protected ClassFindCommand newClassFindCommand() {
final ClassFindCommand classFindCommand = super.newClassFindCommand();
classFindCommand.setDirectoryFilter(new ModuleDefinitionAwareClassFilter());
return classFindCommand;
}
};
command.setClassDirectories(Arrays.asList(ResourceUtils.getFiles(testClassLocations)));