Files
codeql/java/ql/test-kotlin2/library-tests/extensions/methodaccesses.ql
2023-11-17 14:07:13 +00:00

8 lines
262 B
Plaintext

import java
// For extension methods we use JVM bytecode representation:
// * the qualifier is the dispatch receiver expression, and
// * the extension receiver expression is the 0th argument.
from MethodCall ma
select ma, ma.getQualifier(), ma.getAnArgument()