Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/ignoredMembers.kt
T
Yan Zhulanow 6ca5787799 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.
2017-12-01 22:53:18 +09:00

13 lines
219 B
Kotlin
Vendored

import kotlinx.kapt.*
class Test {
@KaptIgnored
fun ignoredFun() {}
@KaptIgnored @get:KaptIgnored
val ignoredProperty: String = ""
fun nonIgnoredFun() {}
val nonIgnoredProperty: String = ""
}