public static class UnderlyingAST.CFGMethod extends UnderlyingAST
UnderlyingAST.CFGLambda, UnderlyingAST.CFGMethod, UnderlyingAST.CFGStatement, UnderlyingAST.Kind
Modifier and Type | Field and Description |
---|---|
protected ClassTree |
classTree
The class tree this method belongs to.
|
protected MethodTree |
method
The method declaration.
|
kind
Constructor and Description |
---|
CFGMethod(MethodTree method,
ClassTree classTree) |
Modifier and Type | Method and Description |
---|---|
ClassTree |
getClassTree()
Returns the class tree this method belongs to.
|
Tree |
getCode()
Returns the code that corresponds to the CFG.
|
MethodTree |
getMethod() |
String |
getMethodName()
Returns the name of the method.
|
String |
getSimpleClassName()
Returns the simple name of the enclosing class.
|
String |
toString() |
getKind, getUid
protected final MethodTree method
protected final ClassTree classTree
public CFGMethod(MethodTree method, ClassTree classTree)
public Tree getCode()
UnderlyingAST
getCode
in class UnderlyingAST
public MethodTree getMethod()
public String getMethodName()
public ClassTree getClassTree()
public String getSimpleClassName()