Kapt: Add runtime library, move all modules inside the 'kapt3' directory

This commit is contained in:
Yan Zhulanow
2017-11-02 11:15:15 +09:00
parent b74ef72af7
commit fd84ecda54
140 changed files with 110 additions and 58 deletions
@@ -0,0 +1,23 @@
package test
internal class Simple {
@MyAnnotation
fun myMethod() {
// do nothing
}
fun heavyMethod(): Int {
return if (true) 5 else 6
}
}
internal annotation class MyAnnotation
internal enum class EnumClass {
BLACK, WHITE
}
internal enum class EnumClass2 private constructor(private val blah: String) {
WHITE("A"), RED("B")
}