Skip to content

Commit 464d137

Browse files
tamasvajkigfoo
authored andcommitted
Add QL doc for LambdaExpr::isKotlinFunctionN
1 parent 1151f79 commit 464d137

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

java/ql/lib/semmle/code/java/Expr.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,9 @@ class LambdaExpr extends FunctionalExpr, @lambdaexpr {
13821382
result.getNumberOfParameters() = 1
13831383
}
13841384

1385+
/**
1386+
* Holds if this expression is a big-arity lambda expression in Kotlin.
1387+
*/
13851388
predicate isKotlinFunctionN() {
13861389
exists(RefType r |
13871390
this.getAnonymousClass().extendsOrImplements(r) and

0 commit comments

Comments
 (0)