Class GlobalDataFlow
java.lang.Object
org.openrewrite.analysis.dataflow.global.GlobalDataFlow
Plan:
- Build an exhaustive flow graph that includes all methods, from all arguments, to all arguments, and to all return values. Don't discriminate at all. This is a superset graph of data flow. It will include all possible paths.
- Connect this graph together after finding all of the valid source nodes.
-
Walk the graph from all sources, pruning all paths were
DataFlowSpec.isAdditionalFlowStep(org.openrewrite.analysis.dataflow.DataFlowNode, org.openrewrite.analysis.dataflow.DataFlowNode)returns false, and whereDataFlowSpec.isSink(DataFlowNode)returns false.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobalDataFlow.Accumulatoraccumulator(DataFlowSpec spec)
-
Constructor Details
-
GlobalDataFlow
public GlobalDataFlow()
-
-
Method Details
-
accumulator
-