public static final class InstanceOfSnippetsTemplates.Instantiation extends Object
Modifier and Type | Field and Description |
---|---|
private LogicNode |
condition |
private ValueNode |
falseValue |
private ValueNode |
result |
private ValueNode |
trueValue |
Constructor and Description |
---|
Instantiation() |
Modifier and Type | Method and Description |
---|---|
(package private) LogicNode |
asCondition(ValueNode testValue)
Gets the result of this instantiation as a condition.
|
(package private) ValueNode |
asMaterialization(StructuredGraph graph,
ValueNode t,
ValueNode f)
Gets the result of the instantiation as a materialized value.
|
(package private) void |
initialize(ValueNode r,
ValueNode t,
ValueNode f) |
(package private) boolean |
isInitialized()
Determines if the instantiation has occurred.
|
private ValueNode falseValue
public Instantiation()
boolean isInitialized()
void initialize(ValueNode r, ValueNode t, ValueNode f)
LogicNode asCondition(ValueNode testValue)
testValue
- the returned condition is true if the result is equal to this valueValueNode asMaterialization(StructuredGraph graph, ValueNode t, ValueNode f)
t
- the true value for the materializationf
- the false value for the materialization