public class CFCFGBuilder extends CFGBuilder
CFGBuilder) that knows about the Checker Framework
annotations and their representation as AnnotatedTypeMirrors.| Modifier and Type | Class and Description |
|---|---|
protected static class |
CFCFGBuilder.CFCFGTranslationPhaseOne
A specialized phase-one CFG builder, with a few modifications that make use of the type
factory.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CFCFGBuilder()
This class should never be instantiated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
assumeAssertionsActivatedForAssertTree(BaseTypeChecker checker,
AssertTree tree)
Given a SourceChecker and an AssertTree, returns whether the AssertTree uses
an @AssumeAssertion string that is relevant to the SourceChecker.
|
static ControlFlowGraph |
build(CompilationUnitTree root,
UnderlyingAST underlyingAST,
BaseTypeChecker checker,
AnnotatedTypeFactory factory,
ProcessingEnvironment env)
Build the control flow graph of some code.
|
build, build, build, build, extendedNodeCollectionToStringDebug, printBlocksprotected CFCFGBuilder()
public static ControlFlowGraph build(CompilationUnitTree root, UnderlyingAST underlyingAST, BaseTypeChecker checker, AnnotatedTypeFactory factory, ProcessingEnvironment env)
public static boolean assumeAssertionsActivatedForAssertTree(BaseTypeChecker checker, AssertTree tree)
checker - the checkertree - an assert tree