Class PhaseOneResult
- java.lang.Object
-
- org.checkerframework.dataflow.cfg.builder.PhaseOneResult
-
public class PhaseOneResult extends java.lang.ObjectA wrapper object to pass around the result of phase one.
-
-
Constructor Summary
Constructors Constructor Description PhaseOneResult(UnderlyingAST underlyingAST, java.util.IdentityHashMap<com.sun.source.tree.Tree,java.util.Set<Node>> treeToCfgNodes, java.util.IdentityHashMap<com.sun.source.tree.Tree,java.util.Set<Node>> treeToConvertedCfgNodes, java.util.IdentityHashMap<com.sun.source.tree.UnaryTree,com.sun.source.tree.BinaryTree> postfixTreeToCfgNodes, java.util.List<ExtendedNode> nodeList, java.util.Map<Label,java.lang.Integer> bindings, java.util.Set<java.lang.Integer> leaders, java.util.List<ReturnNode> returnNodes, Label regularExitLabel, Label exceptionalExitLabel, java.util.List<com.sun.source.tree.ClassTree> declaredClasses, java.util.List<com.sun.source.tree.LambdaExpressionTree> declaredLambdas, javax.lang.model.util.Types types)Create a PhaseOneResult with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringnodeToString(ExtendedNode n)java.lang.StringtoString()java.lang.StringtoStringDebug()Returns a verbose string representation of this, useful for debugging.
-
-
-
Constructor Detail
-
PhaseOneResult
public PhaseOneResult(UnderlyingAST underlyingAST, java.util.IdentityHashMap<com.sun.source.tree.Tree,java.util.Set<Node>> treeToCfgNodes, java.util.IdentityHashMap<com.sun.source.tree.Tree,java.util.Set<Node>> treeToConvertedCfgNodes, java.util.IdentityHashMap<com.sun.source.tree.UnaryTree,com.sun.source.tree.BinaryTree> postfixTreeToCfgNodes, java.util.List<ExtendedNode> nodeList, java.util.Map<Label,java.lang.Integer> bindings, java.util.Set<java.lang.Integer> leaders, java.util.List<ReturnNode> returnNodes, Label regularExitLabel, Label exceptionalExitLabel, java.util.List<com.sun.source.tree.ClassTree> declaredClasses, java.util.List<com.sun.source.tree.LambdaExpressionTree> declaredLambdas, javax.lang.model.util.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 Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
nodeToString
protected java.lang.String nodeToString(ExtendedNode n)
-
toStringDebug
public java.lang.String toStringDebug()
Returns a verbose string representation of this, useful for debugging.- Returns:
- a string representation of this
-
-