Join Slack
Powered by
Hey! Is it possible to get the class that a `Kotli...
# arrow-meta
a
Ahmed Mourad
12/18/2020, 10:36 AM
Hey! Is it possible to get the class that a
KotlinType
(type parameter) is pointing to, in the analysis phase?
r
raulraja
12/18/2020, 2:11 PM
Hi
@Ahmed Mourad
, if you have a kotlin type you should be able to just access it’s type constructor descriptor accessing the constructor property.
raulraja
12/18/2020, 2:13 PM
If I recall it’s something like
type.constructor.declarationDescriptor
😅 1
a
Ahmed Mourad
12/18/2020, 2:27 PM
Oh .. cool 😅 Thank you!
👍 1
5
Views
Open in Slack
Previous
Next