StringBuffer buf = new StringBuffer(); List auxClasspathEntryList = project.getAuxClasspathEntryList(); Iterator i = auxClasspathEntryList.iterator(); while (i.hasNext()) { String entry = (String) i.next(); buf.append(entry); buf.append(File.pathSeparatorChar); }   buf.append(ClassPath.getClassPath());   ClassPath classPath = new ClassPath(buf.toString()); SyntheticRepository repository = SyntheticRepository.getInstance(classPath); Repository.setRepository(repository);
    public void execute(FindBugsProgress progressCallback) throws java.io.IOException, InterruptedException {        findBugs.setProgressCallback(progressCallback);                // Run the analysis!        findBugs.execute(project.getJarFileArray());    }