public interface ChangeSignatureHandler extends RefactoringActionHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REFACTORING_NAME |
Modifier and Type | Method and Description |
---|---|
PsiElement |
findTargetMember(PsiElement element) |
default PsiElement |
findTargetMember(PsiFile file,
Editor editor) |
java.lang.String |
getTargetNotFoundMessage() |
void |
invoke(Project project,
PsiElement [] elements,
DataContext dataContext)
Invokes refactoring action from elsewhere (not from editor).
|
invoke
default PsiElement findTargetMember(PsiFile file, Editor editor)
PsiElement findTargetMember(PsiElement element)
void invoke(Project project, PsiElement [] elements, DataContext dataContext)
RefactoringActionHandler
invoke
in interface RefactoringActionHandler
project
- the project in which the refactoring is invoked.elements
- list of elements that refactoring should work on. Refactoring-dependent.dataContext
- can be null
for some but not all of refactoring action handlers
(it is recommended to pass DataManager.getDataContext()
instead of null
)java.lang.String getTargetNotFoundMessage()