9 lines
264 B
Kotlin
9 lines
264 B
Kotlin
class C : a.Tr
|
|
|
|
fun main(args: Array<String>) {
|
|
val method = javaClass<C>().getDeclaredMethod("foo")
|
|
val annotations = method.getDeclaredAnnotations().joinToString("\n")
|
|
if (annotations != "@a.Ann()") {
|
|
throw AssertionError(annotations)
|
|
}
|
|
} |