Is there a way to get all the subclasses of a sealed class? If not, should there be?
No, but there should be: https://youtrack.jetbrains.com/issue/KT-14657