Given a ```annotation class Foo<T>``` is the...
# getting-started
Given a
Copy code
annotation class Foo<T>
is there a way to determine what the
parameter of a specific instance of the annotation obtained from reflection at runtime? Alternately, is there some variation on
Copy code
annotation class Foo<T : Any>(val fooClass: KClass<T> = T::class)
which works? I'm trying to avoid having to write
with manual duplication at use sites, but I don't see how to get at the type parameter otherwise.