public class InlineLocalHandler extends JavaInlineActionHandler
EP_NAME
Constructor and Description |
---|
InlineLocalHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canInlineElement(PsiElement element) |
java.lang.String |
getActionName(PsiElement element) |
void |
inlineElement(Project project,
Editor editor,
PsiElement element) |
static void |
inlineVariable(Project project,
Editor editor,
PsiVariable var,
PsiReferenceExpression refExpr) |
static void |
invoke(Project project,
Editor editor,
PsiLocalVariable local,
PsiReferenceExpression refExpr)
should be called in AtomicAction
|
isEnabledForLanguage, isJavaLanguage
canInlineElementInEditor, isEnabledOnElement, isEnabledOnElement
public boolean canInlineElement(PsiElement element)
canInlineElement
in class InlineActionHandler
public void inlineElement(Project project, Editor editor, PsiElement element)
inlineElement
in class InlineActionHandler
public static void invoke(Project project, Editor editor, PsiLocalVariable local, PsiReferenceExpression refExpr)
public static void inlineVariable(Project project, Editor editor, PsiVariable var, PsiReferenceExpression refExpr)
public java.lang.String getActionName(PsiElement element)
getActionName
in class InlineActionHandler