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>.

Report a problem

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>.

Report a problem

This kind of reflection is currently only supported for the JVM platform.

For non-JVM platforms, we omit support for resolving covariant types of declared dependencies.

Report a problem