org.sonar.plugins.java.api.tree
Interface LambdaExpressionTree

All Superinterfaces:
ExpressionTree, Tree

@Beta
public interface LambdaExpressionTree
extends ExpressionTree

lambda expression. For example:

()->{}
   (List<String> ls)->ls.size()
   (x,y)-> { return x + y; }
 

Since:
Java 1.8

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sonar.plugins.java.api.tree.Tree
Tree.Kind
 
Method Summary
 Tree body()
           
 List<VariableTree> parameters()
           
 
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
accept, is
 

Method Detail

parameters

List<VariableTree> parameters()

body

Tree body()


Copyright © 2012-2014 SonarSource. All Rights Reserved.