public class InlineSuperClassRefactoringHandler extends JavaInlineActionHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REFACTORING_NAME |
EP_NAME
Constructor and Description |
---|
InlineSuperClassRefactoringHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canInlineElement(PsiElement element) |
java.lang.String |
getActionName(PsiElement element) |
void |
inlineElement(Project project,
Editor editor,
PsiElement element) |
boolean |
isEnabledOnElement(PsiElement element)
Fast check to see if the handler can possibly inline the element.
|
isEnabledForLanguage, isJavaLanguage
canInlineElementInEditor, isEnabledOnElement
public static final java.lang.String REFACTORING_NAME
public boolean isEnabledOnElement(PsiElement element)
InlineActionHandler
isEnabledOnElement
in class InlineActionHandler
element
- the element under caretpublic boolean canInlineElement(PsiElement element)
canInlineElement
in class InlineActionHandler
public void inlineElement(Project project, Editor editor, PsiElement element)
inlineElement
in class InlineActionHandler
public java.lang.String getActionName(PsiElement element)
getActionName
in class InlineActionHandler