Files
Alexander Udalov 07d3e3a5bd Kapt: support property $annotations methods for JVM IR
`is PropertyDescriptor` check doesn't work for JVM IR where descriptor
is created on-the-fly and is an `IrBasedSimpleFunctionDescriptor`.

 #KT-49682
2022-02-08 20:15:14 +01:00

21 lines
348 B
Kotlin
Vendored

class JvmStaticTest {
companion object {
@JvmStatic
val one = 1
const val two = 2
const val c: Char = 'C'
}
const val three: Byte = 3.toByte()
const val d: Char = 'D'
}
interface FooComponent {
companion object {
@JvmStatic
fun create(context: String): String = "foo"
}
}