Package io.micronaut.spring.annotation
Class AbstractSpringAnnotationMapper
java.lang.Object
io.micronaut.spring.annotation.AbstractSpringAnnotationMapper
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.inject.annotation.AnnotationMapper<Annotation>
,io.micronaut.inject.annotation.NamedAnnotationMapper
- Direct Known Subclasses:
AsyncAnnotationMapper
,AutowiredAnnotationMapper
,BeanAnnotationMapper
,CacheableAnnotationMapper
,ComponentAnnotationMapper
,ConditionalOnBeanAnnotationMapper
,ConditionalOnNotWebApplicationAnnotationMapper
,ConditionalOnPropertyAnnotationMapper
,ConditionalOnSingleCandidateAnnotationMapper
,ConditionalOnWebApplicationAnnotationMapper
,ConfigurationAnnotationMapper
,ConfigurationPropertiesAnnotationMapper
,CookieValueAnnotationMapper
,EndpointAnnotationMapper
,EventListenerAnnotationMapper
,ExceptionHandlerAnnotationMapper
,LazyAnnotationMapper
,PathVariableAnnotationMapper
,PrimaryAnnotationMapper
,ProfileAnnotationMapper
,QualifierAnnotationMapper
,ReadOperationAnnotationMapper
,RequestAttributeAnnotationMapper
,RequestBodyAnnotationMapper
,RequestHeaderAnnotationMapper
,RequestParamAnnotationMapper
,RequestPartAnnotationMapper
,ResponseStatusAnnotationMapper
,ScheduledAnnotationMapper
,ValidatedAnnotationMapper
,ValueAnnotationMapper
,WebBindAnnotationMapper
public abstract class AbstractSpringAnnotationMapper
extends Object
implements io.micronaut.inject.annotation.NamedAnnotationMapper
Abstract mapper for Spring annotations.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal List<io.micronaut.core.annotation.AnnotationValue<?>>
map
(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) protected abstract @NonNull List<io.micronaut.core.annotation.AnnotationValue<?>>
mapInternal
(@NonNull io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, @NonNull io.micronaut.inject.visitor.VisitorContext visitorContext) Internal map implemenation that subclasses should implement.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.naming.Named
getName
-
Constructor Details
-
AbstractSpringAnnotationMapper
public AbstractSpringAnnotationMapper()
-
-
Method Details
-
map
public final List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
map
in interfaceio.micronaut.inject.annotation.AnnotationMapper<Annotation>
-
mapInternal
@NonNull protected abstract @NonNull List<io.micronaut.core.annotation.AnnotationValue<?>> mapInternal(@NonNull @NonNull io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, @NonNull @NonNull io.micronaut.inject.visitor.VisitorContext visitorContext) Internal map implemenation that subclasses should implement.- Parameters:
annotation
- The annotationvisitorContext
- The visitor context- Returns:
- A list of annotations
-