mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
11 lines
339 B
Plaintext
11 lines
339 B
Plaintext
import java
|
|
|
|
from MethodCall ma
|
|
// Generally Kotlin calls will always use an explicit qualifier, except for calls
|
|
// to the synthetic instance initializer <obinit>, which use an implicit `this`.
|
|
where
|
|
not exists(ma.getQualifier()) and
|
|
ma.getFile().isKotlinSourceFile() and
|
|
not ma.getCallee() instanceof InstanceInitializer
|
|
select ma
|