Class AnnotateType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AnnotateType>

    public class AnnotateType
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<AnnotateType>
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.scala.syntax.AnnotateType type.
      • TPE

        public static final Name TPE
        Name of the hydra.scala.syntax.AnnotateType.tpe field.
      • ANNOTS

        public static final Name ANNOTS
        Name of the hydra.scala.syntax.AnnotateType.annots field.
      • tpe

        public final Type tpe
      • annots

        public final java.util.List<AnnotMod> annots
    • Constructor Detail

      • AnnotateType

        public AnnotateType​(Type tpe,
                            java.util.List<AnnotMod> annots)
        Constructs an immutable AnnotateType.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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

        public int compareTo​(AnnotateType other)
        Specified by:
        compareTo in interface java.lang.Comparable<AnnotateType>