Kapt3: Add simple AP test with Kotlin
This commit is contained in:
committed by
Yan Zhulanow
parent
5b780ec56c
commit
64046f1e40
+19
@@ -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")
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
MyMethodMyAnnotation.java:
|
||||
|
||||
package generated;
|
||||
class MyMethodMyAnnotation {}
|
||||
Reference in New Issue
Block a user