public interface MoveDestination
MoveDestination
s control how moved items
will be layouted in directories corresponding to target packages.
Instances of this interface can be obtained via methods of RefactoringFactory
.Modifier and Type | Method and Description |
---|---|
void |
analyzeModuleConflicts(java.util.Collection<? extends PsiElement> elements,
MultiMap<PsiElement,java.lang.String> conflicts,
UsageInfo[] usages) |
PsiDirectory |
getTargetDirectory(PsiDirectory source)
Invoked in command & write action
|
PsiDirectory |
getTargetDirectory(PsiFile source)
Invoked in command & write action
|
PsiDirectory |
getTargetIfExists(PsiDirectory source) |
PsiDirectory |
getTargetIfExists(PsiFile source) |
PackageWrapper |
getTargetPackage() |
boolean |
isTargetAccessible(Project project,
VirtualFile place) |
java.lang.String |
verify(PsiDirectory source) |
java.lang.String |
verify(PsiFile source) |
java.lang.String |
verify(PsiPackage source) |
PsiDirectory getTargetDirectory(PsiDirectory source) throws IncorrectOperationException
IncorrectOperationException
PsiDirectory getTargetDirectory(PsiFile source) throws IncorrectOperationException
IncorrectOperationException
PackageWrapper getTargetPackage()
PsiDirectory getTargetIfExists(PsiDirectory source)
PsiDirectory getTargetIfExists(PsiFile source)
java.lang.String verify(PsiFile source)
java.lang.String verify(PsiDirectory source)
java.lang.String verify(PsiPackage source)
void analyzeModuleConflicts(java.util.Collection<? extends PsiElement> elements, MultiMap<PsiElement,java.lang.String> conflicts, UsageInfo[] usages)
boolean isTargetAccessible(Project project, VirtualFile place)