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