result.addError("Possible name conflict with " + importedType.getFullyQualifiedName() + " in "+ getFullPath(getCompilationUnit(imp)));
result.addError("Name conflict with type" + importedType.getFullyQualifiedName() + " in "+ getFullPath(getCompilationUnit(imp)));
	private void analyzeImportDeclaration(IImportDeclaration imp, RefactoringStatus result) throws JavaModelException{		String name= getSimpleName(imp);				if (!imp.isOnDemand()){			IType importedType= (IType)JavaModelUtility.convertFromImportDeclaration(imp);			if (name.substring(name.lastIndexOf(".") + 1).equals(fNewName))				result.addError("Possible name conflict with " + importedType.getFullyQualifiedName() + " in "+ getFullPath(getCompilationUnit(imp)));			return;		}		IJavaElement imported= JavaModelUtility.convertFromImportDeclaration(imp);		if (imported instanceof IPackageFragment){			ICompilationUnit[] cus= ((IPackageFragment)imported).getCompilationUnits();			if (cus != null){				for (int i= 0; i < cus.length; i++) {					analyzeImportedTypes(cus[i].getTypes(), result, imp);				}				}		} else {			//cast safe: see JavaModelUtility.convertFromImportDeclaration			analyzeImportedTypes(((IType)imported).getTypes(), result, imp);		}	}