if (getDestination().equals(type.getCompilationUnit().getParent()))
if (getDestination().equals(type.getPackageFragment()))
	private RefactoringStatus checkReferencesToNotPublicTypes(IProgressMonitor pm) throws JavaModelException {		if (! (getDestination() instanceof IPackageFragment))			return null;		ICompilationUnit[] movedCus= collectCus();		List movedCuList= Arrays.asList(movedCus);		IType[] types= ReferenceFinderUtil.getTypesReferencedIn(movedCus, pm);		RefactoringStatus result= new RefactoringStatus();		for (int i= 0; i < types.length; i++) {			IType type= types[i];			if (JdtFlags.isPublic(type))				continue;			if (movedCuList.contains(type.getCompilationUnit()))				continue;			if (getDestination().equals(type.getCompilationUnit().getParent()))				continue;			String key= RefactoringCoreMessages.getString("MoveRefactoring.warning.typeWillNotBeAccessible"); //$NON-NLS-1$			String message= MessageFormat.format(key, new String[]{JavaElementUtil.createSignature(type)});			result.addWarning(message);						}		return result;	}