private static class ValueAnchorCleanupPhase.State extends MergeableState<ValueAnchorCleanupPhase.State> implements Cloneable
Modifier and Type | Field and Description |
---|---|
private Set<Node> |
anchoredValues |
Constructor and Description |
---|
State() |
State(ValueAnchorCleanupPhase.State other) |
Modifier and Type | Method and Description |
---|---|
ValueAnchorCleanupPhase.State |
clone() |
boolean |
merge(AbstractMergeNode merge,
List<ValueAnchorCleanupPhase.State> withStates)
This method is called on merge on the state of the first branch.
|
afterSplit, loopBegin, loopEnds
private final Set<Node> anchoredValues
public State()
public State(ValueAnchorCleanupPhase.State other)
public boolean merge(AbstractMergeNode merge, List<ValueAnchorCleanupPhase.State> withStates)
MergeableState
withStates
list
contains the states of the of the other branches in the order of the merge's end nodes.merge
in class MergeableState<ValueAnchorCleanupPhase.State>
merge
- the merge nodewithStates
- the state at the the merge's end node except the first one.public ValueAnchorCleanupPhase.State clone()
clone
in class MergeableState<ValueAnchorCleanupPhase.State>