AnalysisContext.instance().clearCache();
  private void clearRepository() {	// Purge repository of previous contents	Repository.clearCache();	// Create a SyntheticRepository based on the current project,	// and make it current.	// Add aux class path entries specified in project	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);	}	// Add the system classpath entries	buf.append(ClassPath.getClassPath());	// Set up the Repository to use the combined classpath	ClassPath classPath = new ClassPath(buf.toString());	SyntheticRepository repository = SyntheticRepository.getInstance(classPath);	Repository.setRepository(repository);  }