void (Project project, Set<PsiFile> files, UsageInfo[] infos, PsiDirectory targetDirectory, MultiMap<PsiElement, String> conflicts) { if (files != null) { final VirtualFile vFile = PsiUtilCore.getVirtualFile(targetDirectory); if (vFile != null) { RefactoringConflictsUtil.getInstance().analyzeModuleConflicts(project, files, infos, vFile, conflicts); } } if (targetDirectory != null) { PsiPackage aPackage = JavaDirectoryService.getInstance().getPackage(targetDirectory); if (aPackage != null && files != null) { MoveClassesOrPackagesProcessor.detectPackageLocalsUsed(conflicts, files.toArray(PsiElement.EMPTY_ARRAY), new PackageWrapper(aPackage)); } } }