You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is that currently possible? I tried doing something with collectors, but a single class is passed to the getTransformedType, whilst i would need to run it on a collection of classes.
Collecting all the instances of MyInterface is something I can do, I just need the correct types generated :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I have the following interface:
And the following implementations
I would love to be able to generate an enum from the
getName
function, which would be something like:Is that currently possible? I tried doing something with collectors, but a single class is passed to the
getTransformedType
, whilst i would need to run it on a collection of classes.Collecting all the instances of
MyInterface
is something I can do, I just need the correct types generated :)Beta Was this translation helpful? Give feedback.
All reactions