public class DfaExpressionFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DfaExpressionFactory.ArrayElementDescriptor |
static class |
DfaExpressionFactory.AssertionDisabledDescriptor |
static class |
DfaExpressionFactory.ThisDescriptor |
Modifier and Type | Method and Description |
---|---|
static VariableDescriptor |
getAccessedVariableOrGetter(PsiElement target) |
DfaValue |
getArrayElementValue(DfaValue array,
int index) |
DfaValue |
getArrayElementValue(DfaValue array,
LongRangeSet indexSet) |
DfaVariableValue |
getAssertionsDisabledVariable() |
DfaValue |
getExpressionDfaValue(PsiExpression expression) |
DfaValue |
getQualifierOrThisValue(PsiReferenceExpression refExpr)
Returns a DFA variable which represents the qualifier for given reference if possible.
|
public DfaValue getExpressionDfaValue(PsiExpression expression)
public DfaValue getQualifierOrThisValue(PsiReferenceExpression refExpr)
this
may be returnedrefExpr
- reference to create a qualifier variable forpublic static VariableDescriptor getAccessedVariableOrGetter(PsiElement target)
public DfaValue getArrayElementValue(DfaValue array, LongRangeSet indexSet)
public DfaVariableValue getAssertionsDisabledVariable()