public class MoveClassesOrPackagesImpl
extends java.lang.Object
Constructor and Description |
---|
MoveClassesOrPackagesImpl() |
Modifier and Type | Method and Description |
---|---|
static PsiElement [] |
adjustForMove(Project project,
PsiElement[] elements,
PsiElement targetElement) |
static void |
doMove(Project project,
PsiElement[] adjustedElements,
PsiElement initialTargetElement,
MoveCallback moveCallback) |
static void |
doRearrangePackage(Project project,
PsiDirectory[] directories) |
static PsiDirectory |
getContainerDirectory(PsiElement psiElement) |
static PsiDirectory |
getInitialTargetDirectory(PsiElement initialTargetElement,
PsiElement[] movedElements) |
static java.lang.String |
getInitialTargetPackageName(PsiElement initialTargetElement,
PsiElement[] movedElements) |
public static void doMove(Project project, PsiElement[] adjustedElements, PsiElement initialTargetElement, MoveCallback moveCallback)
public static PsiElement [] adjustForMove(Project project, PsiElement[] elements, PsiElement targetElement)
public static java.lang.String getInitialTargetPackageName(PsiElement initialTargetElement, PsiElement[] movedElements)
public static PsiDirectory getInitialTargetDirectory(PsiElement initialTargetElement, PsiElement[] movedElements)
public static PsiDirectory getContainerDirectory(PsiElement psiElement)
public static void doRearrangePackage(Project project, PsiDirectory[] directories)