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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractArrayLiteral(Object[] array) Constructs a new array-based annotation literal. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>Method returns the type of the annotation literal.booleaninthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
equalsin interfaceAnnotation
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAnnotation
-
annotationType
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationTypein interfaceAnnotation- Returns:
- annotation type of this literal.
-