Youssef Shoaib [MOD]
09/24/2025, 1:58 PM@Target(AnnotationTarget.TYPE)
annotation class Foo<C: Any>
fun <T> bar() : @Foo<T> Bar
I'm wondering if the @Foo<T>, and especially the T part, will survive serialization and deserialization. If so, then I can easily have a cone attribute that includes that generic.Youssef Shoaib [MOD]
09/24/2025, 2:14 PMFirAnnotation seems to have no way "up" the declaration hierarchy)