Files
codeql/java/ql/test/kotlin/library-tests/annotations/jvmName/test.kt
Chris Smowton 5e023bf619 Remove no-longer-applicable diagnostic matches
These resulted from the Java compiler exploring NotNull and other Kotlin-emitted annotations, which it no longer does because it finds a .class trap file already present and truncates its class-graph walk
2022-12-06 18:35:04 +00:00

19 lines
281 B
Kotlin

class X {
val x: Int
@JvmName("getX_prop")
get() = 15
fun getX() = 10
@get:JvmName("y")
@set:JvmName("changeY")
var y: Int = 23
@JvmName("method")
fun fn() {}
}
annotation class Ann(
val p: Int,
@get:JvmName("w") val q: Int)