Kapt3: Add simple AP test with Kotlin

This commit is contained in:
Yan Zhulanow
2016-10-28 20:40:15 +03:00
committed by Yan Zhulanow
parent 5b780ec56c
commit 64046f1e40
10 changed files with 206 additions and 69 deletions
+19
View File
@@ -0,0 +1,19 @@
package test
internal class Simple {
@MyAnnotation
fun myMethod() {
// do nothing
}
}
internal annotation class MyAnnotation
internal enum class EnumClass {
BLACK, WHITE
}
internal enum class EnumClass2 private constructor(private val blah: String) {
WHITE("A"), RED("B")
}
+4
View File
@@ -0,0 +1,4 @@
MyMethodMyAnnotation.java:
package generated;
class MyMethodMyAnnotation {}