Kapt: Allow to ignore specific methods/fields from being put into kapt stubs

Classes can't be ignored yet as it requires to ignore also all type usages which is a non-trivial operation.
This commit is contained in:
Yan Zhulanow
2017-11-02 12:26:31 +09:00
parent fd84ecda54
commit 6ca5787799
7 changed files with 60 additions and 4 deletions
@@ -0,0 +1,13 @@
import kotlinx.kapt.*
class Test {
@KaptIgnored
fun ignoredFun() {}
@KaptIgnored @get:KaptIgnored
val ignoredProperty: String = ""
fun nonIgnoredFun() {}
val nonIgnoredProperty: String = ""
}