public static class UnderlyingAST.CFGLambda extends UnderlyingAST
UnderlyingAST.CFGLambda, UnderlyingAST.CFGMethod, UnderlyingAST.CFGStatement, UnderlyingAST.Kindkind| Constructor and Description |
|---|
CFGLambda(LambdaExpressionTree lambda,
ClassTree classTree,
MethodTree method)
Create a new CFGLambda.
|
| Modifier and Type | Method and Description |
|---|---|
ClassTree |
getClassTree()
Returns the enclosing class of the lambda.
|
Tree |
getCode()
Returns the code that corresponds to the CFG.
|
LambdaExpressionTree |
getLambdaTree()
Returns the lambda expression tree.
|
MethodTree |
getMethod()
Returns the enclosing method of the lambda.
|
String |
toString() |
getKindpublic CFGLambda(LambdaExpressionTree lambda, ClassTree classTree, MethodTree method)
lambda - the lambda expressionclassTree - the enclosing class of the lambdamethod - the enclosing method of the lambdapublic Tree getCode()
UnderlyingASTgetCode in class UnderlyingASTpublic LambdaExpressionTree getLambdaTree()
public ClassTree getClassTree()
public MethodTree getMethod()