public abstract static class InstanceOfSnippetsTemplates.InstanceOfUsageReplacer extends Object implements SnippetTemplate.UsageReplacer
InstanceOfNode
or InstanceOfDynamicNode
.Modifier and Type | Field and Description |
---|---|
ValueNode |
falseValue |
FloatingNode |
instanceOf |
InstanceOfSnippetsTemplates.Instantiation |
instantiation |
ValueNode |
trueValue |
Constructor and Description |
---|
InstanceOfUsageReplacer(InstanceOfSnippetsTemplates.Instantiation instantiation,
FloatingNode instanceOf,
ValueNode trueValue,
ValueNode falseValue) |
Modifier and Type | Method and Description |
---|---|
abstract void |
replaceUsingInstantiation()
Does the replacement based on a previously snippet instantiation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
replace
public final InstanceOfSnippetsTemplates.Instantiation instantiation
public final FloatingNode instanceOf
public final ValueNode falseValue
public InstanceOfUsageReplacer(InstanceOfSnippetsTemplates.Instantiation instantiation, FloatingNode instanceOf, ValueNode trueValue, ValueNode falseValue)
public abstract void replaceUsingInstantiation()