ICompilationUnit cu= type.getCompilationUnit(); if (cu != null && ! cu.equals(originalFindCompilationUnit) || cu == null && originalFindCompilationUnit != null) { JavaPlugin.logRepeatedMessage("ITypeBinding#getJavaElement() is not correct element",
if (! coreFindCompilationUnit.equals(originalFindCompilationUnit)) { JavaPlugin.logRepeatedMessage("ITypeBinding#getJavaElement() is not correct element: ",
	public static ICompilationUnit findCompilationUnit(ITypeBinding typeBinding, IJavaProject project) throws JavaModelException {		ICompilationUnit originalFindCompilationUnit= originalFindCompilationUnit(typeBinding, project);		if (CHECK_CORE_BINDING_GET_JAVA_ELEMENT) {			IType type= (IType) typeBinding.getJavaElement();			if (type == null) {				if (originalFindCompilationUnit != null) {					JavaPlugin.logRepeatedMessage("ITypeBinding#getJavaElement() is not supposed to be null", //$NON-NLS-1$							"typeBinding == " + typeBinding.getKey() + ", project == " + project.getElementName());  //$NON-NLS-1$//$NON-NLS-2$				}			} else {				ICompilationUnit cu= type.getCompilationUnit();				if (cu != null && ! cu.equals(originalFindCompilationUnit)						|| cu == null && originalFindCompilationUnit != null) {					JavaPlugin.logRepeatedMessage("ITypeBinding#getJavaElement() is not correct element", //$NON-NLS-1$							"typeBinding == " + typeBinding.getKey() + ", project == " + project.getElementName()  //$NON-NLS-1$//$NON-NLS-2$							+ ", cu == " + cu + ", originalFindCompilationUnit == " + originalFindCompilationUnit);  //$NON-NLS-1$//$NON-NLS-2$				}			}		}		return originalFindCompilationUnit;	}