public class ElementToWorkOn
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ElementToWorkOn.ElementsProcessor<T> |
Modifier and Type | Field and Description |
---|---|
static Key<TextRange> |
EXPR_RANGE |
static Key<java.lang.Boolean> |
OUT_OF_CODE_BLOCK |
static Key<PsiElement> |
PARENT |
static Key<java.lang.String> |
PREFIX |
static Key<java.lang.Boolean> |
REPLACE_NON_PHYSICAL |
static Key<java.lang.String> |
SUFFIX |
static Key<RangeMarker> |
TEXT_RANGE |
Modifier and Type | Method and Description |
---|---|
static ElementToWorkOn |
adjustElements(PsiExpression expr,
PsiElement anchorElement) |
PsiExpression |
getExpression() |
PsiLocalVariable |
getLocalVariable() |
boolean |
isInvokedOnDeclaration() |
static void |
processElementToWorkOn(Editor editor,
PsiFile file,
java.lang.String refactoringName,
java.lang.String helpId,
Project project,
ElementToWorkOn.ElementsProcessor<? super ElementToWorkOn> processor) |
static void |
showNothingSelectedErrorMessage(Editor editor,
java.lang.String refactoringName,
java.lang.String helpId,
Project project) |
public static final Key<PsiElement> PARENT
public static final Key<java.lang.String> PREFIX
public static final Key<java.lang.String> SUFFIX
public static final Key<RangeMarker> TEXT_RANGE
public static final Key<java.lang.Boolean> REPLACE_NON_PHYSICAL
public static final Key<java.lang.Boolean> OUT_OF_CODE_BLOCK
public static ElementToWorkOn adjustElements(PsiExpression expr, PsiElement anchorElement)
public PsiExpression getExpression()
public PsiLocalVariable getLocalVariable()
public boolean isInvokedOnDeclaration()
public static void processElementToWorkOn(Editor editor, PsiFile file, java.lang.String refactoringName, java.lang.String helpId, Project project, ElementToWorkOn.ElementsProcessor<? super ElementToWorkOn> processor)