Repository.addClass(javaClass);
javaClass.setRepository(Repository.getRepository());  if (DEBUG_MISSING_CLASSES && !(javaClass.getRepository() instanceof AnalysisCacheToRepositoryAdapter)) { throw new IllegalStateException("this should not happen"); }
	public Object analyze(IAnalysisCache analysisCache,			ClassDescriptor descriptor) throws CheckedAnalysisException {		try {			ClassData classData = analysisCache.getClassAnalysis(ClassData.class, descriptor);			JavaClass javaClass = new ClassParser(classData.getInputStream(), descriptor.toResourceName()).parse();			Repository.addClass(javaClass);			return javaClass;		} catch (IOException e) {			throw new ResourceNotFoundException(descriptor.toResourceName(), e);		}	}