Class HierarchicType

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected 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.
      protected int _priority
      Relative priority of this type in hierarchy; higher priority members can override lower priority members.
      protected ResolvedType _type  
    • Field Detail

      • _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.
      • _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 Detail

      • HierarchicType

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

      • getErasedType

        public java.lang.Class<?> getErasedType()
      • isMixin

        public boolean isMixin()
      • getPriority

        public int getPriority()
      • toString

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object