collectSubTypes

fun KType.collectSubTypes(maxRecursionDepth: Int = 10): Bundle<KType>

See ReflectionAnnotationSubTypeStep