| Modifier and Type | Field and Description |
|---|---|
static DummyVariable |
DUMMY
The only DummyVariable that exists.
|
| Modifier | Constructor and Description |
|---|---|
private |
DummyVariable()
Create a DummyVariable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable java.lang.Object o) |
Statement |
getDeclaringStatement()
The statement that produced this variable.
|
int |
getDeclIndex()
The index of the statement that creates this value.
|
java.lang.String |
getName()
Returns the name of this variable.
|
Type |
getType()
Returns the type of this variable.
|
int |
hashCode() |
boolean |
shouldInlineLiterals()
True if this variable's value should be inlined as a literal at call sites, rather than
referencing the variable.
|
java.lang.String |
toString() |
classToVariableName, compareTopublic static final DummyVariable DUMMY
public Type getType()
Variablepublic Statement getDeclaringStatement()
VariablegetDeclaringStatement in class Variablepublic int getDeclIndex()
VariablegetDeclIndex in class Variablepublic java.lang.String getName()
Variablepublic boolean shouldInlineLiterals()
VariableshouldInlineLiterals in class Variable