result.addError("Another member type " + fNewName + " already exists in " + getType().getDeclaringType().getFullyQualifiedName());
result.addError("Another member type named " + fNewName + " already exists in " + getType().getDeclaringType().getFullyQualifiedName());
	private RefactoringStatus checkTypesInCompilationUnit(){		RefactoringStatus result= new RefactoringStatus();		if (Checks.isTopLevel(getType())){			ICompilationUnit cu= (ICompilationUnit)getType().getParent();			/*			 * ICompilationUnit.getType expects simple name			 */ 			if ((fNewName.indexOf(".") == -1) && cu.getType(fNewName).exists())				result.addError("Type " + fNewName + " already exists in \"" + cu.getElementName() +"\"");		} else {			if (getType().getDeclaringType().getType(fNewName).exists())				result.addError("Another member type " + fNewName + " already exists in " + getType().getDeclaringType().getFullyQualifiedName());		}		return result;	}