Files
codeql/java/ql/test-kotlin1/library-tests/extensions/methodaccesses.ql
2023-11-21 15:28:12 +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()