mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
27 lines
371 B
Kotlin
Vendored
27 lines
371 B
Kotlin
Vendored
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
|
|
// WITH_RUNTIME
|
|
|
|
package test
|
|
|
|
class TopLevel {
|
|
companion object {
|
|
fun a() {}
|
|
|
|
@JvmStatic
|
|
val q = "A"
|
|
}
|
|
|
|
fun b() {}
|
|
|
|
val x: String
|
|
|
|
val y = 5
|
|
|
|
class NestedClass {
|
|
inner class NestedInnerClass
|
|
}
|
|
|
|
object InnerObject
|
|
|
|
interface InnerInterface
|
|
} |