Kapt3: Do not resolve declaration bodies if possible in kapt
This commit is contained in:
committed by
Yan Zhulanow
parent
d884830700
commit
b54df7a945
@@ -0,0 +1,4 @@
|
||||
MyMethodMyAnnotation.java:
|
||||
|
||||
package generated;
|
||||
class MyMethodMyAnnotation {}
|
||||
@@ -5,6 +5,10 @@ internal class Simple {
|
||||
fun myMethod() {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
fun heavyMethod(): Int {
|
||||
return if (true) 5 else 6
|
||||
}
|
||||
}
|
||||
|
||||
internal annotation class MyAnnotation
|
||||
|
||||
Reference in New Issue
Block a user