ClassData classData = analysisCache.getClassAnalysis(ClassData.class, descriptor); JavaClass javaClass = new ClassParser(classData.getInputStream(), descriptor.toResourceName()).parse(); Repository.addClass(javaClass); produced.put(descriptor.getClassName(), javaClass); return javaClass; } catch (IOException e) { throw new ResourceNotFoundException(descriptor.toResourceName(), e);
	public Object analyze(IAnalysisCache analysisCache,			ClassDescriptor descriptor) throws CheckedAnalysisException {		try {			// First check the BCEL repository			return Repository.lookupClass(descriptor.getClassName());		} catch (ClassNotFoundException cnfe) {			// Not found in Repository.			// Try to construct from scratch.			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);			}		}	}