Kapt3: Do not resolve declaration bodies if possible in kapt

This commit is contained in:
Yan Zhulanow
2016-11-02 21:37:39 +03:00
committed by Yan Zhulanow
parent d884830700
commit b54df7a945
6 changed files with 116 additions and 18 deletions
+4
View File
@@ -0,0 +1,4 @@
MyMethodMyAnnotation.java:
package generated;
class MyMethodMyAnnotation {}
+4
View File
@@ -5,6 +5,10 @@ internal class Simple {
fun myMethod() {
// do nothing
}
fun heavyMethod(): Int {
return if (true) 5 else 6
}
}
internal annotation class MyAnnotation