mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Lambda expressions support: second round
- typed parameters - type parameter list - resolve inside lambda
This commit is contained in:
@@ -22,6 +22,14 @@ import org.jetbrains.annotations.Nullable;
|
||||
* Represents a Java lambda expression.
|
||||
*/
|
||||
public interface PsiLambdaExpression extends PsiExpression {
|
||||
/**
|
||||
* Returns this lambda expression's type parameter list (if any).
|
||||
*
|
||||
* @return type parameter list or null.
|
||||
*/
|
||||
@Nullable
|
||||
PsiTypeParameterList getTypeParameterList();
|
||||
|
||||
/**
|
||||
* Returns this lambda expression's parameter list.
|
||||
*
|
||||
@@ -31,7 +39,8 @@ public interface PsiLambdaExpression extends PsiExpression {
|
||||
PsiParameterList getParameterList();
|
||||
|
||||
/**
|
||||
* Returns PSI element representing lambda expression body: {@link PsiCodeBlock}, {@link PsiExpression}, or null if none.
|
||||
* Returns PSI element representing lambda expression body: {@link PsiCodeBlock}, {@link PsiExpression},
|
||||
* or null if the expression is incomplete.
|
||||
*
|
||||
* @return lambda expression body.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user