public class SpringComponentProcessor extends AnnotationBasedComponentModelProcessor
ModelElementProcessor
which converts the given Mapper
object into a Spring bean in case Spring is configured as the
target component model for this mapper.ModelElementProcessor.ProcessorContext
Constructor and Description |
---|
SpringComponentProcessor() |
Modifier and Type | Method and Description |
---|---|
protected String |
getComponentModelIdentifier() |
protected List<Annotation> |
getDecoratorAnnotations() |
protected List<Annotation> |
getDelegatorReferenceAnnotations(Mapper mapper) |
protected List<Annotation> |
getMapperReferenceAnnotations() |
protected List<Annotation> |
getTypeAnnotations(Mapper mapper) |
protected boolean |
requiresGenerationOfDecoratorClass() |
additionalPublicEmptyConstructor, adjustDecorator, getPriority, getTypeFactory, process, replacementMapperReference
protected String getComponentModelIdentifier()
getComponentModelIdentifier
in class AnnotationBasedComponentModelProcessor
protected List<Annotation> getTypeAnnotations(Mapper mapper)
getTypeAnnotations
in class AnnotationBasedComponentModelProcessor
mapper
- the mapperprotected List<Annotation> getDecoratorAnnotations()
getDecoratorAnnotations
in class AnnotationBasedComponentModelProcessor
protected List<Annotation> getMapperReferenceAnnotations()
getMapperReferenceAnnotations
in class AnnotationBasedComponentModelProcessor
protected List<Annotation> getDelegatorReferenceAnnotations(Mapper mapper)
getDelegatorReferenceAnnotations
in class AnnotationBasedComponentModelProcessor
protected boolean requiresGenerationOfDecoratorClass()
requiresGenerationOfDecoratorClass
in class AnnotationBasedComponentModelProcessor
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.