public class ChangeContextUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
CAN_REMOVE_QUALIFIER_KEY |
static Key<PsiClass> |
REF_CLASS_KEY |
static Key<PsiMember> |
REF_MEMBER_KEY |
Modifier and Type | Method and Description |
---|---|
static boolean |
canRemoveQualifier(PsiReferenceExpression refExpr) |
static void |
clearContextInfo(PsiElement scope) |
static PsiElement |
decodeContextInfo(PsiElement scope,
PsiClass thisClass,
PsiExpression thisAccessExpr) |
static void |
encodeContextInfo(PsiElement scope,
boolean includeRefClasses) |
static void |
encodeContextInfo(PsiElement scope,
boolean includeRefClasses,
boolean canChangeQualifier) |
public static final Key<java.lang.Boolean> CAN_REMOVE_QUALIFIER_KEY
public static void encodeContextInfo(PsiElement scope, boolean includeRefClasses)
public static void encodeContextInfo(PsiElement scope, boolean includeRefClasses, boolean canChangeQualifier)
public static PsiElement decodeContextInfo(PsiElement scope, PsiClass thisClass, PsiExpression thisAccessExpr) throws IncorrectOperationException
IncorrectOperationException
public static boolean canRemoveQualifier(PsiReferenceExpression refExpr)
public static void clearContextInfo(PsiElement scope)