public class JavaMoveDirectoryWithClassesHelper extends MoveDirectoryWithClassesHelper
MoveDirectoryWithClassesHelper.Default
Constructor and Description |
---|
JavaMoveDirectoryWithClassesHelper() |
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> usages,
boolean searchInComments,
boolean searchInNonJavaFiles,
Project project) |
boolean |
move(PsiFile file,
PsiDirectory moveDestination,
java.util.Map<PsiElement,PsiElement> oldToNewElementsMapping,
java.util.List<PsiFile> movedFiles,
RefactoringElementListener listener) |
void |
postProcessUsages(UsageInfo[] usages,
Function<PsiDirectory,PsiDirectory> newDirMapper) |
void |
preprocessUsages(Project project,
java.util.Set<PsiFile> files,
UsageInfo[] infos,
PsiDirectory directory,
MultiMap<PsiElement,java.lang.String> conflicts) |
findAll
public void findUsages(java.util.Collection<PsiFile> filesToMove, PsiDirectory[] directoriesToMove, java.util.Collection<UsageInfo> usages, boolean searchInComments, boolean searchInNonJavaFiles, Project project)
findUsages
in class MoveDirectoryWithClassesHelper
public boolean move(PsiFile file, PsiDirectory moveDestination, java.util.Map<PsiElement,PsiElement> oldToNewElementsMapping, java.util.List<PsiFile> movedFiles, RefactoringElementListener listener)
move
in class MoveDirectoryWithClassesHelper
public void postProcessUsages(UsageInfo[] usages, Function<PsiDirectory,PsiDirectory> newDirMapper)
postProcessUsages
in class MoveDirectoryWithClassesHelper
public void preprocessUsages(Project project, java.util.Set<PsiFile> files, UsageInfo[] infos, PsiDirectory directory, MultiMap<PsiElement,java.lang.String> conflicts)
preprocessUsages
in class MoveDirectoryWithClassesHelper
public void beforeMove(PsiFile psiFile)
beforeMove
in class MoveDirectoryWithClassesHelper
public void afterMove(PsiElement newElement)
afterMove
in class MoveDirectoryWithClassesHelper