trigger.addPeerPaths(config.getPropertyVals(
"NativePeerAnalyzer.classpath"));
trigger.addModelPaths(config.getPropertyVals(
"ModelClassAnalyzer.classpath"));
ProjectScanner pscanner = new ProjectScanner(scanner);
FilenameFilter filter = new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
return NameUtils.isJarFilename(name) && name.endsWith("-classes.jar")
&& NameUtils.isBuildFolder(dir.getName());
}
};
Set<String> jars = pscanner.fetchAllFiles(filter);
trigger.addPeerPaths(jars.toArray(new String[jars.size()]));
int opts = options & 0xF;
info = trigger.startAnalyses(info, opts);