blob: 959f79f2aa23a0f89d69e6d53877fd62f91c7640 [file] [log] [blame]
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@file:StringHolder("OK")
@file:JvmName("FileClass")
@Target(AnnotationTarget.FILE)
@Retention(AnnotationRetention.RUNTIME)
public annotation class StringHolder(val value: String)
fun box(): String =
Class.forName("FileClass").getAnnotation(StringHolder::class.java)?.value ?: "null"