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, WebEndpointAnnotationMapper
public abstract class AbstractSpringAnnotationMapper
extends Object
implements io.micronaut.inject.annotation.NamedAnnotationMapper
Abstract mapper for Spring annotations.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
Constructors -
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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
mapin interfaceio.micronaut.inject.annotation.AnnotationMapper<Annotation>
-
mapInternal
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.- Parameters:
annotation- The annotationvisitorContext- The visitor context- Returns:
- A list of annotations
-