iterateClassHierarchy

tailrec fun Element.iterateClassHierarchy(types: Types, classCallback: (classElement: TypeElement) -> Unit)

Return each of the classes in the class hierarchy, starting with the initial receiver and working upwards until Any.