public class ExtractSuperClassUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REFACTORING_EXTRACT_SUPER_ID |
Modifier and Type | Method and Description |
---|---|
static void |
checkSuperAccessible(PsiDirectory targetDirectory,
MultiMap<PsiElement,java.lang.String> conflicts,
PsiClass subclass) |
static RefactoringEventData |
createAfterData(PsiClass subClass) |
static RefactoringEventData |
createBeforeData(PsiClass subclassClass,
MemberInfo[] members) |
static PsiJavaCodeReferenceElement |
createExtendingReference(PsiClass superClass,
PsiClass derivedClass,
MemberInfo[] selectedMembers) |
static PsiClass |
extractSuperClass(Project project,
PsiDirectory targetDirectory,
java.lang.String superclassName,
PsiClass subclass,
MemberInfo[] selectedMemberInfos,
DocCommentPolicy javaDocPolicy) |
static PsiTypeParameter |
findTypeParameterInDerived(PsiClass aClass,
java.lang.String name) |
static boolean |
showConflicts(DialogWrapper dialog,
MultiMap<PsiElement,java.lang.String> conflicts,
Project project) |
public static final java.lang.String REFACTORING_EXTRACT_SUPER_ID
public static PsiClass extractSuperClass(Project project, PsiDirectory targetDirectory, java.lang.String superclassName, PsiClass subclass, MemberInfo[] selectedMemberInfos, DocCommentPolicy javaDocPolicy) throws IncorrectOperationException
IncorrectOperationException
public static PsiJavaCodeReferenceElement createExtendingReference(PsiClass superClass, PsiClass derivedClass, MemberInfo[] selectedMembers) throws IncorrectOperationException
IncorrectOperationException
public static PsiTypeParameter findTypeParameterInDerived(PsiClass aClass, java.lang.String name)
public static void checkSuperAccessible(PsiDirectory targetDirectory, MultiMap<PsiElement,java.lang.String> conflicts, PsiClass subclass)
public static boolean showConflicts(DialogWrapper dialog, MultiMap<PsiElement,java.lang.String> conflicts, Project project)
public static RefactoringEventData createBeforeData(PsiClass subclassClass, MemberInfo[] members)
public static RefactoringEventData createAfterData(PsiClass subClass)