Class ClassHierarchy


  • public class ClassHierarchy
    extends java.lang.Object
    A representation of the class hierarchy, with logic for performing search between subtypes and their supertypes.
    • Method Detail

      • transitiveSupertypes

        public java.lang.Iterable<ClassSymbol> transitiveSupertypes​(ClassSymbol s)
        Returns all classes in the transitive supertype hierarchy of the given class, including the class itself.

        The iteration order of the results is undefined, and in particular no guarantees are made about the ordering of sub-types and super-types.