jean
01/20/2023, 8:38 AMKsType
is generic?
data class Test<T> (
val a: String,
val b: T,
)
...
constructorParameter.type.isGeneric // Something like that doesn't exist
constructorParameter.type.toClassName()
works on a
but crashes on b
jean
01/20/2023, 9:03 AMKSDeclasration
is it possible to check if it has any generic types?ephemient
01/20/2023, 2:19 PM