getAllSuperTypes

open fun TypeElement.getAllSuperTypes(): List<TypeElement>

Returns all supertypes (direct and indirect) of the TypeElement recursively