StringBuffer buf = new StringBuffer();   addCollectionToClasspath(project.getAuxClasspathEntryList(), buf);   addCollectionToClasspath(project.getImplicitClasspathEntryList(), buf);   buf.append(ClassPath.getClassPath());  if (DEBUG) System.out.println("Using classpath: " + buf);   ClassPath classPath = new ClassPath(buf.toString()); SyntheticRepository repository = SyntheticRepository.getInstance(classPath); Repository.setRepository(repository);
  private void clearRepository() {	if (REPOS_DEBUG) System.out.println("Clearing repository");	// Purge repository of previous contents	Repository.clearCache();	// Clear the cache in the AnalysisContext.	AnalysisContext.instance().clearCache();  }