public abstract class DfaValue
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DfaValueFactory |
myFactory |
| Modifier | Constructor and Description |
|---|---|
protected |
DfaValue(DfaValueFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
DfaCondition |
cond(RelationType relationType,
DfaValue other)
Create condition (suitable to pass into
DfaMemoryState.applyCondition(DfaCondition)),
evaluating it statically if possible. |
boolean |
dependsOn(DfaVariableValue other) |
DfaCondition |
eq(DfaValue other)
Creates an equivalence condition (suitable to pass into
DfaMemoryState.applyCondition(DfaCondition))
between this and other value. |
boolean |
equals(java.lang.Object obj) |
DfType |
getDfType() |
DfaValueFactory |
getFactory() |
int |
getID() |
PsiType |
getType() |
int |
hashCode() |
DfaValue |
unite(DfaValue other)
Produces a value which describes a union of this value and other value
|
protected final DfaValueFactory myFactory
protected DfaValue(DfaValueFactory factory)
public DfaValueFactory getFactory()
public int getID()
public PsiType getType()
public DfType getDfType()
public DfaValue unite(DfaValue other)
other - other value to unite withpublic final DfaCondition eq(DfaValue other)
DfaMemoryState.applyCondition(DfaCondition))
between this and other value.other - other value that is tested to be equal to thispublic final DfaCondition cond(RelationType relationType, DfaValue other)
DfaMemoryState.applyCondition(DfaCondition)),
evaluating it statically if possible.relationType - relationother - other condition operandpublic boolean dependsOn(DfaVariableValue other)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object