@Beta public interface LambdaExpressionTree extends ExpressionTree
() -> { }
x -> x + 1
(x, y) -> { return x + y; }
(List<String> ls) -> ls.size()
Modifier and Type | Method and Description |
---|---|
SyntaxToken |
arrowToken() |
Tree |
body() |
SyntaxToken |
closeParenToken() |
SyntaxToken |
openParenToken() |
List<VariableTree> |
parameters() |
symbolType
@Nullable SyntaxToken openParenToken()
List<VariableTree> parameters()
@Nullable SyntaxToken closeParenToken()
SyntaxToken arrowToken()
Tree body()
Copyright © 2012–2016 SonarSource. All rights reserved.