Class AbstractArrayLiteral<T extends Annotation>

java.lang.Object
io.micronaut.coherence.annotation.AbstractArrayLiteral<T>
Type Parameters:
T - the annotation type
All Implemented Interfaces:
Serializable, Annotation
Direct Known Subclasses:
ChainedExtractor.Extractors.Literal, ChainedExtractor.Literal, PropertyExtractor.Extractors.Literal

public abstract class AbstractArrayLiteral<T extends Annotation> extends Object
Base class for array-based annotation literals.
See Also:
  • Field Details

    • array

      protected final Object[] array
      The values for this annotation.
  • Constructor Details

    • AbstractArrayLiteral

      protected AbstractArrayLiteral(Object[] array)
      Constructs a new array-based annotation literal.
      Parameters:
      array - the values.
  • Method Details

    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface Annotation
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Annotation
    • annotationType

      public Class<? extends Annotation> annotationType()
      Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.
      Specified by:
      annotationType in interface Annotation
      Returns:
      annotation type of this literal.