if (ReorgUtils.isInsideCompilationUnit(javaElement)) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.subCu"));
if (ReorgUtils.isInsideCompilationUnit(javaElement)) { ICompilationUnit cu= ReorgUtils.getCompilationUnit(javaElement); if (cu != null) return verifyDestination(cu); return "The selected element is not located in a compilation unit and cannot be the destination of this operation."; }
		protected RefactoringStatus verifyDestination(IJavaElement javaElement) throws JavaModelException {			Assert.isNotNull(javaElement);			if (! javaElement.exists())				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.doesnotexist0")); //$NON-NLS-1$			if (javaElement instanceof IJavaModel)				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.jmodel")); //$NON-NLS-1$				if (javaElement.isReadOnly())				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.readonly")); //$NON-NLS-1$				if (! javaElement.isStructureKnown())				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.structure")); //$NON-NLS-1$				if (javaElement instanceof IOpenable){				IOpenable openable= (IOpenable)javaElement;				if (! openable.isConsistent())					return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.inconsistent")); //$NON-NLS-1$			}								if (javaElement instanceof IPackageFragmentRoot){				IPackageFragmentRoot root= (IPackageFragmentRoot)javaElement;				if (root.isArchive())					return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.archive")); //$NON-NLS-1$				if (root.isExternal())					return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.external")); //$NON-NLS-1$			}				if (ReorgUtils.isInsideCompilationUnit(javaElement))				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.subCu")); //$NON-NLS-1$				if (containsLinkedResources() && !ReorgUtils.canBeDestinationForLinkedResources(javaElement))				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ReorgPolicyFactory.linked")); //$NON-NLS-1$			return new RefactoringStatus();		}