We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac68b62 + 6d3717c commit 116c13eCopy full SHA for 116c13e
java/ql/src/semmle/code/java/Expr.qll
@@ -1016,7 +1016,7 @@ class LambdaExpr extends FunctionalExpr, @lambdaexpr {
1016
}
1017
1018
/** Gets the body of this lambda expression, if it is a statement. */
1019
- Stmt getStmtBody() { hasStmtBody() and result = asMethod().getBody() }
+ Block getStmtBody() { hasStmtBody() and result = asMethod().getBody() }
1020
1021
/** Gets a printable representation of this expression. */
1022
override string toString() { result = "...->..." }
0 commit comments