Kapt: Add runtime library, move all modules inside the 'kapt3' directory
This commit is contained in:
@@ -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")
|
||||
}
|
||||
Reference in New Issue
Block a user