"Move lambda argument into parentheses" intention - slightly wider range

This commit is contained in:
Valentin Kipyatkov
2015-04-28 15:43:06 +03:00
parent f631f97a22
commit 077307b518
2 changed files with 4 additions and 7 deletions
@@ -44,14 +44,11 @@ public class JetFunctionLiteralExpression extends JetExpressionImpl {
return getFunctionLiteral().getValueParameters();
}
@Nullable
public JetBlockExpression getBodyExpression() {
return getFunctionLiteral().getBodyExpression();
}
public boolean hasBlockBody() {
return getFunctionLiteral().hasBlockBody();
}
public boolean hasDeclaredReturnType() {
return getFunctionLiteral().getTypeReference() != null;
}