Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
org.mapstruct.ap.internal.model.source |
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
|
org.mapstruct.ap.internal.processor |
Contains model processors which perform tasks such as retrieving mapping methods, creating a model representation
and writing the model into Java source files.
|
org.mapstruct.ap.internal.util |
Several helper types dealing with collection types, option management etc.
|
org.mapstruct.ap.spi |
SPI (service provider interface) contracts to be implemented for advanced use cases.
|
Modifier and Type | Method and Description |
---|---|
Map<String,EnumTransformationStrategy> |
MappingBuilderContext.getEnumTransformationStrategies() |
Constructor and Description |
---|
MappingBuilderContext(TypeFactory typeFactory,
Elements elementUtils,
Types typeUtils,
FormattingMessager messager,
AccessorNamingUtils accessorNaming,
EnumMappingStrategy enumMappingStrategy,
Map<String,EnumTransformationStrategy> enumTransformationStrategies,
Options options,
MappingBuilderContext.MappingResolver mappingResolver,
TypeElement mapper,
List<SourceMethod> sourceModel,
List<MapperReference> mapperReferences) |
Modifier and Type | Method and Description |
---|---|
static EnumMappingOptions |
EnumMappingOptions.getInstanceOn(ExecutableElement method,
MapperOptions mapperOptions,
Map<String,EnumTransformationStrategy> enumTransformationStrategies,
FormattingMessager messager) |
Modifier and Type | Method and Description |
---|---|
Map<String,EnumTransformationStrategy> |
DefaultModelElementProcessorContext.getEnumTransformationStrategies() |
Map<String,EnumTransformationStrategy> |
ModelElementProcessor.ProcessorContext.getEnumTransformationStrategies() |
Modifier and Type | Method and Description |
---|---|
Map<String,EnumTransformationStrategy> |
AnnotationProcessorContext.getEnumTransformationStrategies() |
Modifier and Type | Class and Description |
---|---|
class |
PrefixEnumTransformationStrategy |
class |
StripPrefixEnumTransformationStrategy |
class |
StripSuffixEnumTransformationStrategy |
class |
SuffixEnumTransformationStrategy |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.