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.
|
Modifier and Type | Method and Description |
---|---|
List<SourceMethod> |
MappingBuilderContext.getSourceModel() |
Modifier and Type | Method and Description |
---|---|
BeanMappingMethod.Builder |
BeanMappingMethod.Builder.souceMethod(SourceMethod sourceMethod) |
EnumMappingMethod.Builder |
EnumMappingMethod.Builder.souceMethod(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) |
Constructor and Description |
---|
MappingBuilderContext(TypeFactory typeFactory,
Elements elementUtils,
Types typeUtils,
FormattingMessager messager,
Options options,
MappingBuilderContext.MappingResolver mappingResolver,
TypeElement mapper,
List<SourceMethod> sourceModel,
List<MapperReference> mapperReferences) |
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 |
MappingOptions.applyInheritedOptions(MappingOptions inherited,
boolean isInverse,
SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory)
Merges in all the mapping options configured, giving the already defined options precedence.
|
boolean |
SourceMethod.canInheritFrom(SourceMethod method) |
Mapping |
Mapping.copyForInheritanceTo(SourceMethod method)
Creates a copy of this mapping, which is adapted to the given method
|
SourceReference |
SourceReference.copyForInheritanceTo(SourceMethod method)
Creates a copy of this reference, which is adapted to the given method
|
void |
Mapping.init(SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory) |
boolean |
SourceMethod.isSame(SourceMethod method) |
SourceReference.BuilderFromMapping |
SourceReference.BuilderFromMapping.method(SourceMethod method) |
TargetReference.BuilderFromTargetMapping |
TargetReference.BuilderFromTargetMapping.method(SourceMethod method) |
Mapping |
Mapping.reverse(SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory) |
boolean |
SourceMethod.reverses(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-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.