Class PhaseOneResult
java.lang.Object
org.checkerframework.dataflow.cfg.builder.PhaseOneResult
A wrapper object to pass around the result of phase one.
-
Constructor Summary
ConstructorDescriptionPhaseOneResult
(UnderlyingAST underlyingAST, IdentityHashMap<Tree, Set<Node>> treeToCfgNodes, IdentityHashMap<Tree, Set<Node>> treeToConvertedCfgNodes, IdentityHashMap<UnaryTree, BinaryTree> postfixTreeToCfgNodes, List<org.checkerframework.dataflow.cfg.builder.ExtendedNode> nodeList, Map<org.checkerframework.dataflow.cfg.builder.Label, Integer> bindings, Set<Integer> leaders, List<ReturnNode> returnNodes, org.checkerframework.dataflow.cfg.builder.Label regularExitLabel, org.checkerframework.dataflow.cfg.builder.Label exceptionalExitLabel, List<ClassTree> declaredClasses, List<LambdaExpressionTree> declaredLambdas, Types types) Create a PhaseOneResult with the given data. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
nodeToString
(org.checkerframework.dataflow.cfg.builder.ExtendedNode n) toString()
Returns a verbose string representation of this, useful for debugging.
-
Constructor Details
-
PhaseOneResult
public PhaseOneResult(UnderlyingAST underlyingAST, IdentityHashMap<Tree, Set<Node>> treeToCfgNodes, IdentityHashMap<Tree, Set<Node>> treeToConvertedCfgNodes, IdentityHashMap<UnaryTree, BinaryTree> postfixTreeToCfgNodes, List<org.checkerframework.dataflow.cfg.builder.ExtendedNode> nodeList, Map<org.checkerframework.dataflow.cfg.builder.Label, Integer> bindings, Set<Integer> leaders, List<ReturnNode> returnNodes, org.checkerframework.dataflow.cfg.builder.Label regularExitLabel, org.checkerframework.dataflow.cfg.builder.Label exceptionalExitLabel, List<ClassTree> declaredClasses, List<LambdaExpressionTree> declaredLambdas, Types types) Create a PhaseOneResult with the given data.- Parameters:
underlyingAST
- the underlying ASTtreeToCfgNodes
- the tree to nodes mappingtreeToConvertedCfgNodes
- the tree to converted nodes mappingpostfixTreeToCfgNodes
- the postfix tree to nodes mappingnodeList
- the list of nodesbindings
- the label bindingsleaders
- the leadersreturnNodes
- the return nodesregularExitLabel
- the regular exit labelsexceptionalExitLabel
- the exceptional exit labelsdeclaredClasses
- the declared classesdeclaredLambdas
- the declared lambdastypes
- the javac type utilities
-
-
Method Details