Class SwitchDetection.LoopContext

java.lang.Object
net.covers1624.coffeegrinder.bytecode.transform.transformers.SwitchDetection.LoopContext
Enclosing class:
SwitchDetection

public static class SwitchDetection.LoopContext extends Object
  • Constructor Details

  • Method Details

    • matchContinue

      public boolean matchContinue(ControlFlowNode node, int depth)
    • getDominatorTreeChildren

      public 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)