copyLibs();
if (annotationsLib != null) {
findbugsProject.addAuxClasspathEntry(annotationsLib.getAbsolutePath());
findbugsProject.addAuxClasspathEntry(jsr305Lib.getAbsolutePath());
}
<BUG>findbugsProject.setCurrentWorkingDirectory(fileSystem.buildDir());

return findbugsProject;
}</BUG>
@VisibleForTesting

copyLibs();
if (annotationsLib != null) {
findbugsProject.addAuxClasspathEntry(annotationsLib.getAbsolutePath());
findbugsProject.addAuxClasspathEntry(jsr305Lib.getAbsolutePath());
}
findbugsProject.setCurrentWorkingDirectory(fileSystem.workDir());
return findbugsProject;
}
private Iterable<File> getSourceFiles() {
FilePredicates pred = fileSystem.predicates();
return fileSystem.files(pred.and(pred.hasType(Type.MAIN), pred.hasLanguage(Java.KEY)));
}
@VisibleForTesting
