Class TypedAttribute

All Implemented Interfaces:
NamedWriteable, Writeable, Resolvable
Direct Known Subclasses:
FieldAttribute, MetadataAttribute, ReferenceAttribute

public abstract class TypedAttribute extends Attribute
  • Constructor Details

  • Method Details

    • dataType

      public DataType dataType()
      Description copied from class: Expression
      The DataType returned by executing the tree rooted at this expression. If Expression.typeResolved() returns an error then the behavior of this method is undefined. It may return a valid type. Or it may throw an exception. Or it may return a totally nonsensical type.
      Specified by:
      dataType in class Expression
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Attribute
    • innerEquals

      protected boolean innerEquals(Object o)
      Overrides:
      innerEquals in class Attribute