Drop loading Java annotation methods as functions

This commit is contained in:
Yan Zhulanow
2015-10-15 16:27:11 +03:00
parent 25b40455ad
commit 9ae3b0fa9c
81 changed files with 30 additions and 409 deletions

View File

@@ -1,4 +1,4 @@
@file:StringHolder("OK")
fun box(): String =
Class.forName("FileFacadeKt").getAnnotation(StringHolder::class.java)?.value() ?: "null"
Class.forName("FileFacadeKt").getAnnotation(StringHolder::class.java)?.value ?: "null"