public interface RenameRefactoring extends Refactoring
Modifier and Type | Method and Description |
---|---|
void |
addElement(PsiElement element,
java.lang.String newName)
Add element to be renamed.
|
java.util.Set<PsiElement> |
getElements() |
java.util.Collection<java.lang.String> |
getNewNames() |
boolean |
hasNonCodeUsages() |
boolean |
isSearchInComments() |
boolean |
isSearchInNonJavaFiles() |
void |
respectAllAutomaticRenames() |
void |
respectEnabledAutomaticRenames() |
void |
setSearchInComments(boolean value) |
void |
setSearchInNonJavaFiles(boolean value) |
doRefactoring, findUsages, isInteractive, isPreviewUsages, preprocessUsages, run, setInteractive, setPreviewUsages, shouldPreviewUsages
void addElement(PsiElement element, java.lang.String newName)
element
- element to be renamed.newName
- new name for the element.java.util.Set<PsiElement> getElements()
java.util.Collection<java.lang.String> getNewNames()
void setSearchInComments(boolean value)
void setSearchInNonJavaFiles(boolean value)
boolean isSearchInComments()
boolean isSearchInNonJavaFiles()
void respectEnabledAutomaticRenames()
void respectAllAutomaticRenames()
boolean hasNonCodeUsages()