public static class MoveDirectoryWithClassesHelper.Default extends MoveDirectoryWithClassesHelper
MoveDirectoryWithClassesHelper.Default
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
void |
afterMove(PsiElement newElement) |
void |
beforeMove(PsiFile psiFile) |
void |
findUsages(java.util.Collection<PsiFile> filesToMove,
PsiDirectory[] directoriesToMove,
java.util.Collection<UsageInfo> result,
boolean searchInComments,
boolean searchInNonJavaFiles,
Project project) |
boolean |
move(PsiFile psiFile,
PsiDirectory moveDestination,
java.util.Map<PsiElement,PsiElement> oldToNewElementsMapping,
java.util.List<PsiFile> movedFiles,
RefactoringElementListener listener) |
void |
postProcessUsages(UsageInfo[] usages,
Function<PsiDirectory,PsiDirectory> newDirMapper) |
findAll, preprocessUsages
public void findUsages(java.util.Collection<PsiFile> filesToMove, PsiDirectory[] directoriesToMove, java.util.Collection<UsageInfo> result, boolean searchInComments, boolean searchInNonJavaFiles, Project project)
findUsages
in class MoveDirectoryWithClassesHelper
public void postProcessUsages(UsageInfo[] usages, Function<PsiDirectory,PsiDirectory> newDirMapper)
postProcessUsages
in class MoveDirectoryWithClassesHelper
public boolean move(PsiFile psiFile, PsiDirectory moveDestination, java.util.Map<PsiElement,PsiElement> oldToNewElementsMapping, java.util.List<PsiFile> movedFiles, RefactoringElementListener listener)
move
in class MoveDirectoryWithClassesHelper
public void beforeMove(PsiFile psiFile)
beforeMove
in class MoveDirectoryWithClassesHelper
public void afterMove(PsiElement newElement)
afterMove
in class MoveDirectoryWithClassesHelper