mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
This usually can't happen, but delegates pointing at Java appear to be synthesised with this normally-hidden annotation
10 lines
229 B
Kotlin
10 lines
229 B
Kotlin
import zpkg.A
|
|
|
|
class KotlinAnnotatedMethods {
|
|
|
|
@A fun f(@A m: AnnotatedMethods): String = m.notNullAnnotated("hello") + m.nullableAnnotated("world")!!
|
|
|
|
}
|
|
|
|
class KotlinDelegate(c: AnnotatedMethods) : AnnotatedInterface by c { }
|