Class HierarchicType


  • public class HierarchicType
    extends Object
    Simple replacement for Class (and/or various Type subtypes) that is used as part of single-path extends/implements chain to express specific relationship between one subtype and one supertype. This is needed for resolving type parameters. Instances are doubly-linked so that chain can be traversed in both directions
    Since:
    1.6
    • Constructor Detail

      • HierarchicType

        public HierarchicType​(Type type)
    • Method Detail

      • deepCloneWithoutSubtype

        public HierarchicType deepCloneWithoutSubtype()
        Method that can be used to create a deep clone of this hierarchic type, including super types (but not subtypes)
        Since:
        1.9
      • isGeneric

        public final boolean isGeneric()
      • getRawClass

        public final Class<?> getRawClass()