public abstract class RenameJavaMemberProcessor extends RenamePsiElementProcessor
DEFAULT, EP_NAME
Constructor and Description |
---|
RenameJavaMemberProcessor() |
Modifier and Type | Method and Description |
---|---|
static PsiReferenceExpression |
createMemberReference(PsiMember member,
PsiElement context) |
protected static PsiReferenceExpression |
createQualifiedMemberReference(PsiElement context,
java.lang.String name,
PsiClass containingClass,
boolean isStatic) |
protected static void |
findCollisionsAgainstNewName(PsiMember memberToRename,
java.lang.String newName,
java.util.List<UsageInfo> result) |
protected static void |
findMemberHidesOuterMemberCollisions(PsiMember member,
java.lang.String newName,
java.util.List<? super UsageInfo> result) |
protected static void |
qualifyMember(PsiElement occurence,
java.lang.String newName,
PsiClass containingClass,
boolean isStatic) |
static void |
qualifyMember(PsiMember member,
PsiElement occurence,
java.lang.String newName) |
protected static void |
qualifyOuterMemberReferences(java.util.List<? extends com.intellij.refactoring.rename.MemberHidesOuterMemberUsageInfo> outerHides) |
protected static void |
qualifyStaticImportReferences(java.util.List<? extends MemberHidesStaticImportUsageInfo> staticImportHides) |
allForElement, canProcessElement, createRenameDialog, createUsageInfo, findCollisions, findExistingNameConflicts, findExistingNameConflicts, findReferences, findReferences, findReferences, forcesShowPreview, forElement, getElementToSearchInStringsAndComments, getHelpID, getPostRenameCallback, getQualifiedNameAfterRename, getTextOccurrenceSearchStrings, isInplaceRenameSupported, isToSearchForTextOccurrences, isToSearchInComments, prepareRenaming, prepareRenaming, renameElement, setToSearchForTextOccurrences, setToSearchInComments, showRenamePreviewButton, substituteElementToRename, substituteElementToRename
public static void qualifyMember(PsiMember member, PsiElement occurence, java.lang.String newName) throws IncorrectOperationException
IncorrectOperationException
protected static void qualifyMember(PsiElement occurence, java.lang.String newName, PsiClass containingClass, boolean isStatic) throws IncorrectOperationException
IncorrectOperationException
public static PsiReferenceExpression createMemberReference(PsiMember member, PsiElement context) throws IncorrectOperationException
IncorrectOperationException
protected static PsiReferenceExpression createQualifiedMemberReference(PsiElement context, java.lang.String name, PsiClass containingClass, boolean isStatic) throws IncorrectOperationException
IncorrectOperationException
protected static void findMemberHidesOuterMemberCollisions(PsiMember member, java.lang.String newName, java.util.List<? super UsageInfo> result)
protected static void qualifyOuterMemberReferences(java.util.List<? extends com.intellij.refactoring.rename.MemberHidesOuterMemberUsageInfo> outerHides) throws IncorrectOperationException
IncorrectOperationException
protected static void findCollisionsAgainstNewName(PsiMember memberToRename, java.lang.String newName, java.util.List<UsageInfo> result)
protected static void qualifyStaticImportReferences(java.util.List<? extends MemberHidesStaticImportUsageInfo> staticImportHides) throws IncorrectOperationException
IncorrectOperationException