SourceElementParser parser= new SourceElementParser(requestor, new DefaultProblemFactory());
SourceElementParser parser= new SourceElementParser(requestor, new DefaultProblemFactory(), new CompilerOptions());
	private static HashMap findTypeReferences(ICompilationUnit cu) throws JavaModelException, ParsingError {		HashMap references= new HashMap();		int inportEndPos= 0;		IImportContainer importContainer= cu.getImportContainer();		if (importContainer.exists()) {			ISourceRange importRange= importContainer.getSourceRange();			inportEndPos= importRange.getOffset() + importRange.getLength();		}					TypeReferenceRequestor requestor= new TypeReferenceRequestor(references, inportEndPos);		SourceElementParser parser= new SourceElementParser(requestor, new DefaultProblemFactory());		if (cu instanceof org.eclipse.jdt.internal.compiler.env.ICompilationUnit) {			parser.parseCompilationUnit((org.eclipse.jdt.internal.compiler.env.ICompilationUnit)cu, true);		}			return references;	}