Class UnderlyingAST.CFGMethod
java.lang.Object
org.checkerframework.dataflow.cfg.UnderlyingAST
org.checkerframework.dataflow.cfg.UnderlyingAST.CFGMethod
- All Implemented Interfaces:
- org.plumelib.util.UniqueId
- Enclosing class:
- UnderlyingAST
If the underlying AST is a method.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.checkerframework.dataflow.cfg.UnderlyingASTUnderlyingAST.CFGLambda, UnderlyingAST.CFGMethod, UnderlyingAST.CFGStatement, UnderlyingAST.Kind
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final ClassTreeThe class tree this method belongs to.protected final MethodTreeThe method declaration.Fields inherited from class org.checkerframework.dataflow.cfg.UnderlyingASTkind
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.checkerframework.dataflow.cfg.UnderlyingASTgetKind, getUidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.plumelib.util.UniqueIdgetClassAndUid
- 
Field Details- 
methodThe method declaration.
- 
classTreeThe class tree this method belongs to.
 
- 
- 
Constructor Details- 
CFGMethod
 
- 
- 
Method Details- 
getCodeDescription copied from class:UnderlyingASTReturns the code that corresponds to the CFG. For a method or lamdda, this returns the body. For other constructs, it returns the tree itself (a statement or expression).- Specified by:
- getCodein class- UnderlyingAST
- Returns:
- the code that corresponds to the CFG
 
- 
getMethod
- 
getMethodNameReturns the name of the method.- Returns:
- the name of the method
 
- 
getClassTreeReturns the class tree this method belongs to.- Returns:
- the class tree this method belongs to
 
- 
getSimpleClassNameReturns the simple name of the enclosing class.- Returns:
- the simple name of the enclosing class
 
- 
toString
 
-