public static class UnderlyingAST.CFGLambda extends UnderlyingAST
UnderlyingAST.CFGLambda, UnderlyingAST.CFGMethod, UnderlyingAST.CFGStatement, UnderlyingAST.Kind
kind
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() |
getKind
public 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()
UnderlyingAST
getCode
in class UnderlyingAST
public LambdaExpressionTree getLambdaTree()
public ClassTree getClassTree()
public MethodTree getMethod()