Class AbstractArrayLiteral<T extends java.lang.annotation.Annotation>
- java.lang.Object
-
- io.micronaut.coherence.annotation.AbstractArrayLiteral<T>
-
- Type Parameters:
T
- the annotation type
- All Implemented Interfaces:
java.io.Serializable
,java.lang.annotation.Annotation
- Direct Known Subclasses:
ChainedExtractor.Extractors.Literal
,ChainedExtractor.Literal
,PropertyExtractor.Extractors.Literal
public abstract class AbstractArrayLiteral<T extends java.lang.annotation.Annotation> extends java.lang.Object
Base class for array-based annotation literals.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object[]
array
The values for this annotation.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractArrayLiteral(java.lang.Object[] array)
Constructs a new array-based annotation literal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>
annotationType()
Method returns the type of the annotation literal.boolean
equals(java.lang.Object o)
int
hashCode()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.lang.annotation.Annotation
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.lang.annotation.Annotation
-
annotationType
public java.lang.Class<? extends java.lang.annotation.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 interfacejava.lang.annotation.Annotation
- Returns:
- annotation type of this literal.
-
-