Files
kotlin/plugins/annotation-processing/testData/withFiler/MethodsFields.kt
Yan Zhulanow 743be477ec Kapt: Add tests with Filer.
JavaFileObject.getName() now returns a path as required.
(cherry picked from commit c611f9b)
2016-09-10 17:36:15 +03:00

9 lines
136 B
Kotlin
Vendored

annotation class Inject
class Test {
@Inject
fun myFunc(): String = "Mary"
@field:Inject
val myField: String = "Tom"
}