public static class SwitchDetection.LoopContext
extends java.lang.Object
| Constructor and Description |
|---|
LoopContext(ControlFlowGraph cfg,
ControlFlowNode contextNode) |
| Modifier and Type | Method and Description |
|---|---|
net.covers1624.quack.collection.FastStream<ControlFlowNode> |
getDominatorTreeChildren(ControlFlowNode node)
Similar to how the control flow graph ends with nodes which return/throw unconditionally
This method filters out children which are continue blocks (at any depth)
|
boolean |
matchContinue(ControlFlowNode node,
int depth) |
public LoopContext(ControlFlowGraph cfg, ControlFlowNode contextNode)
public boolean matchContinue(ControlFlowNode node, int depth)
public net.covers1624.quack.collection.FastStream<ControlFlowNode> getDominatorTreeChildren(ControlFlowNode node)