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.processor.creation |
Contains all helper classes for the
MapperCreationProcessor
|
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) |
ValueMappingMethod.Builder |
ValueMappingMethod.Builder.souceMethod(SourceMethod sourceMethod) |
Constructor and Description |
---|
LifecycleCallbackMethodReference(SourceMethod method,
List<Parameter> parameterAssignments) |
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> |
SourceMethod.getApplicablePrototypeMethods() |
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 isReverse) |
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 |
---|---|
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) |
Constructor and Description |
---|
MappingResolverImpl(FormattingMessager messager,
Elements elementUtils,
Types typeUtils,
TypeFactory typeFactory,
List<SourceMethod> sourceModel,
List<MapperReference> mapperReferences) |
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.