Class HierarchicType

java.lang.Object
com.fasterxml.classmate.members.HierarchicType

public final class HierarchicType extends Object
Container class used to enclose information about a single ResolvedType that is part of ResolvedTypeWithMembers.
  • Field Details

    • _isMixin

      protected final boolean _isMixin
      Whether this type instance represents a mix-in; if so, it can only result in addition of annotations but not in addition of actual members.
    • _type

      protected final ResolvedType _type
    • _priority

      protected final int _priority
      Relative priority of this type in hierarchy; higher priority members can override lower priority members. Priority values are unique and are based on type index (starting from 0), although they are not to be used for indexing.
  • Constructor Details

    • HierarchicType

      public HierarchicType(ResolvedType type, boolean mixin, int priority)
  • Method Details

    • getType

      public ResolvedType getType()
    • getErasedType

      public Class<?> getErasedType()
    • isMixin

      public boolean isMixin()
    • getPriority

      public int getPriority()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object