Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/annotations3.kt
T
2022-02-17 12:26:41 +01:00

19 lines
349 B
Kotlin
Vendored

// WITH_STDLIB
interface Parceler<T>
@Retention(AnnotationRetention.SOURCE)
@Repeatable
@Target(AnnotationTarget.CLASS, AnnotationTarget.PROPERTY)
annotation class TypeParceler<T, P: Parceler<in T>>
@TypeParceler<B, BParceler>
@TypeParceler<C, CParceler>
class Test
class B
class C
object BParceler : Parceler<B>
object CParceler : Parceler<C>