Klasse ClassTree.Hierarchy

java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.util.ClassTree.Hierarchy
Umschließende Klasse:
ClassTree

public static class ClassTree.Hierarchy extends Object
A “hierarchy” provides the subtypes of all the supertypes of a set of leaf elements, together with the root supertype(s).
  • Methodendetails

    • roots

      Gibt the roots of the hierarchy zurück.

      Each root is a class or interface with no superclass or superinterfaces. If the hierarchy just contains classes, the root will be java.lang.Object.

      Gibt zurück:
      the roots of the hierarchy
    • subtypes

      public SortedSet<TypeElement> subtypes(TypeElement typeElement)
      Gibt the immediate subtypes of the given type element, or an empty set if there are none zurück.
      Parameter:
      typeElement - the type element
      Gibt zurück:
      the immediate subtypes of the given type element, or an empty set if there are none
    • allSubtypes

      Gibt the set of all subtypes of the given type element, or an empty set if there are none zurück.

      The set of all subtypes is the transitive closure of the immediate subtypes of the given type element.

      Parameter:
      typeElement - the type element
      Gibt zurück:
      the set of all subtypes of the given type element, or an empty set if there are none