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
Base class for array-based annotation literals.
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractArrayLiteral
(Object[] array) Constructs a new array-based annotation literal. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
Method returns the type of the annotation literal.boolean
int
hashCode()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
toString
-
Field Details
-
array
The values for this annotation.
-
-
Constructor Details
-
AbstractArrayLiteral
Constructs a new array-based annotation literal.- Parameters:
array
- the values.
-
-
Method Details
-
equals
- Specified by:
equals
in interfaceAnnotation
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceAnnotation
-
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 interfaceAnnotation
- Returns:
- annotation type of this literal.
-