Object grandParent= getParent(parent); if(grandParent==null){ return parent; } return grandParent;
return parent;
	private Object getGrandParent(IPackageFragment element) {		Object parent= findNextLevelParentByElementName(element);		if (parent instanceof IPackageFragmentRoot) {			IPackageFragmentRoot root= (IPackageFragmentRoot) parent;			if(isRootProject(root))				return root.getJavaProject();			else return root;		}		Object grandParent= getParent(parent);		if(grandParent==null){			return parent;		}		return grandParent;	}