Class Processor.Literal
java.lang.Object
io.micronaut.coherence.annotation.Processor.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- Processor
An annotation literal for the
Processor
annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.coherence.annotation.Processor
Processor.Literal -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>Method returns the type of the annotation literal.booleaninthashCode()static Processor.LiteralCreate aProcessor.Literal.Class<? extends com.tangosol.util.InvocableMap.EntryProcessor>value()The processor class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.Annotation
toString
-
Method Details
-
of
public static Processor.Literal of(Class<? extends com.tangosol.util.InvocableMap.EntryProcessor> processorClass) Create aProcessor.Literal.- Parameters:
processorClass- the processor class- Returns:
- a
Processor.Literalwith the specified value
-
value
The processor class.- Returns:
- the processor class
-
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.
-