hierarchy
Returns all types of the hierarchy, starting with the given type.
When type arguments are encountered, they are included in parent type arguments, so for example, Collection<Element> is included for the root type ArrayList<Element>.
Returns all types of the hierarchy, starting with the given type.
When type arguments are encountered, they are included in parent type arguments, so for example, Collection<Element> is included for the root type ArrayList<Element>.