Class ControlFlowSummary
java.lang.Object
org.openrewrite.analysis.controlflow.ControlFlowSummary
To create an instance call
ControlFlow.findControlFlow().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.openrewrite.Cursor>computeExecutableCodePoints(BarrierGuardPredicate predicate) Set<org.openrewrite.analysis.controlflow.ControlFlowNode.BasicBlock>computeReachableBasicBlock(BarrierGuardPredicate predicate) Set<org.openrewrite.java.tree.Expression>computeReachableExpressions(BarrierGuardPredicate predicate) Set<org.openrewrite.analysis.controlflow.ControlFlowNode.BasicBlock>Set<org.openrewrite.analysis.controlflow.ControlFlowNode.ConditionNode>
-
Constructor Details
-
ControlFlowSummary
public ControlFlowSummary()
-
-
Method Details
-
getBasicBlocks
-
getConditionNodes
-
computeReachableExpressions
public Set<org.openrewrite.java.tree.Expression> computeReachableExpressions(BarrierGuardPredicate predicate) -
computeExecutableCodePoints
-
computeReachableBasicBlock
public Set<org.openrewrite.analysis.controlflow.ControlFlowNode.BasicBlock> computeReachableBasicBlock(BarrierGuardPredicate predicate)
-