void (Collection<? extends PsiFile> filesToMove, PsiDirectory[] directoriesToMove, Collection<? super UsageInfo> result, boolean searchInComments, boolean searchInNonJavaFiles, Project project) { for (PsiFile file : filesToMove) { for (PsiReference reference : ReferencesSearch.search(file)) { result.add(new MoveDirectoryUsageInfo(reference, file)); } } for (PsiDirectory psiDirectory : directoriesToMove) { for (PsiReference reference : ReferencesSearch.search(psiDirectory)) { result.add(new MoveDirectoryUsageInfo(reference, psiDirectory)); } } }