getReferencedTypes

open fun TypeMirror.getReferencedTypes(): Set<TypeMirror>

Get all types that are directly referenced by the given type