Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/annotationsWithTargets.kt
T
Alexander Udalov ebb9659e03 Add mode to run kapt with JVM IR, use in tests
Currently JVM IR is not supported in kapt, so almost all tests are
failing, and thus are muted with IGNORE_BACKEND.

 #KT-49682
2022-02-08 20:15:13 +01:00

26 lines
467 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
@Target(AnnotationTarget.FIELD)
annotation class FieldAnno
@Target(AnnotationTarget.PROPERTY)
annotation class PropertyAnno
@Target(AnnotationTarget.VALUE_PARAMETER)
annotation class ParameterAnno
annotation class Anno
class Foo(@FieldAnno @PropertyAnno @ParameterAnno @Anno val a: String)
class Bar {
@FieldAnno @PropertyAnno @Anno
val a: String = ""
}
class Baz {
@FieldAnno @Anno
@JvmField
val a: String = ""
}