if (!element.exists())
if (element == null || !element.exists())
	public static boolean isMoveAvailable(final IResource[] resources, final IJavaElement[] elements) throws JavaModelException {		if (elements != null) {			for (int index= 0; index < elements.length; index++) {				IJavaElement element= elements[index];				if (!element.exists())					return false;				if ((element instanceof IType) && ((IType) element).isLocal())					return false;				if ((element instanceof IPackageDeclaration))					return false;				if (element instanceof IField && JdtFlags.isEnum((IMember) element))					return false;			}		}		return ReorgPolicyFactory.createMovePolicy(resources, elements).canEnable();	}