Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
org.mapstruct.ap.internal.model.beanmapping |
helper classes used in
BeanMappingMethod
|
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.
|
Modifier and Type | Method and Description |
---|---|
static List<SelectedMethod<SourceMethod>> |
ObjectFactoryMethodResolver.getMatchingFactoryMethods(Method method,
Type alternativeTarget,
SelectionParameters selectionParameters,
MappingBuilderContext ctx) |
List<SourceMethod> |
MappingBuilderContext.getSourceModel() |
Modifier and Type | Method and Description |
---|---|
static MapperReference |
MapperReference.findMapperReference(List<MapperReference> mapperReferences,
SourceMethod method) |
BeanMappingMethod.Builder |
BeanMappingMethod.Builder.sourceMethod(SourceMethod sourceMethod) |
Modifier and Type | Method and Description |
---|---|
static LifecycleCallbackMethodReference |
LifecycleCallbackMethodReference.forMethodReference(SelectedMethod<SourceMethod> lifecycleMethod,
MapperReference mapperReference,
Method containingMethod,
Set<String> existingVariableNames) |
static LifecycleCallbackMethodReference |
LifecycleCallbackMethodReference.forParameterProvidedMethod(SelectedMethod<SourceMethod> lifecycleMethod,
Parameter providingParameter,
Method containingMethod,
Set<String> existingVariableNames) |
static MethodReference |
ObjectFactoryMethodResolver.getFactoryMethodReference(Method method,
SelectedMethod<SourceMethod> matchingFactoryMethod,
MappingBuilderContext ctx) |
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 MappingReferences |
MappingReferences.forSourceMethod(SourceMethod sourceMethod,
Type targetType,
Set<String> targetProperties,
FormattingMessager messager,
TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
SourceMethod |
SourceMethod.Builder.build() |
Modifier and Type | Method and Description |
---|---|
List<SourceMethod> |
ParameterProvidedMethods.getAllProvidedMethodsInParameterOrder(List<Parameter> orderedParameters) |
List<SourceMethod> |
SourceMethod.getApplicablePrototypeMethods() |
List<SourceMethod> |
SourceMethod.getApplicableReversePrototypeMethods() |
Modifier and Type | Method and Description |
---|---|
void |
MappingMethodOptions.applyIgnoreAll(SourceMethod method,
TypeFactory typeFactory,
FormattingMessager messager) |
void |
MappingMethodOptions.applyInheritedOptions(SourceMethod templateMethod,
boolean isInverse)
Merges in all the mapping options configured, giving the already defined options precedence.
|
boolean |
SourceMethod.canInheritFrom(SourceMethod method) |
MappingOptions |
MappingOptions.copyForForwardInheritance(SourceMethod templateMethod,
BeanMappingOptions beanMappingOptions)
Creates a copy of this mapping
|
MappingOptions |
MappingOptions.copyForInverseInheritance(SourceMethod templateMethod,
BeanMappingOptions beanMappingOptions) |
boolean |
SourceMethod.inverses(SourceMethod method) |
Modifier and Type | Method and Description |
---|---|
void |
ParameterProvidedMethods.Builder.addMethodsForParameter(Parameter param,
List<SourceMethod> methods) |
SourceMethod.Builder |
SourceMethod.Builder.setPrototypeMethods(List<SourceMethod> prototypeMethods) |
Modifier and Type | Method and Description |
---|---|
List<SourceMethod> |
MethodRetrievalProcessor.process(ModelElementProcessor.ProcessorContext context,
TypeElement mapperTypeElement,
Void sourceModel) |
Modifier and Type | Method and Description |
---|---|
Mapper |
MapperCreationProcessor.process(ModelElementProcessor.ProcessorContext context,
TypeElement mapperTypeElement,
List<SourceMethod> sourceModel) |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.