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 |
getMethodName()
Returns the name of the enclosing method of the lambda.
|
String |
getSimpleClassName()
Returns the simple name of the enclosing class.
|
String |
toString() |
getKind, getUidpublic 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 String getSimpleClassName()
public MethodTree getMethod()
public String getMethodName()