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.
|
Modifier and Type | Method and Description |
---|---|
Map<PropertyEntry,List<Mapping>> |
NestedTargetPropertyMappingHolder.getUnprocessedDefinedTarget() |
Constructor and Description |
---|
NestedTargetPropertyMappingHolder(List<Parameter> processedSourceParameters,
Set<String> handledTargets,
List<PropertyMapping> propertyMappings,
Map<PropertyEntry,List<Mapping>> unprocessedDefinedTarget,
boolean errorOccurred) |
Modifier and Type | Method and Description |
---|---|
Mapping |
Mapping.copyForInheritanceTo(SourceMethod method)
Creates a copy of this mapping, which is adapted to the given method
|
static Mapping |
Mapping.forIgnore(String targetName) |
static Mapping |
Mapping.fromMappingPrism(org.mapstruct.ap.internal.prism.MappingPrism mappingPrism,
ExecutableElement element,
FormattingMessager messager,
Types typeUtils) |
Mapping |
SourceMethod.getSingleMappingByTargetPropertyName(String targetPropertyName) |
Mapping |
Mapping.popSourceReference() |
Mapping |
Mapping.popTargetReference() |
Mapping |
Mapping.reverse(SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory,
AccessorNamingUtils accessorNaming) |
Modifier and Type | Method and Description |
---|---|
static Map<String,List<Mapping>> |
Mapping.fromMappingsPrism(org.mapstruct.ap.internal.prism.MappingsPrism mappingsAnnotation,
ExecutableElement method,
FormattingMessager messager,
Types typeUtils) |
List<Mapping> |
SourceMethod.getMappingBySourcePropertyName(String sourcePropertyName)
Returns the
Mapping s for the given source property. |
Map<String,List<Mapping>> |
MappingOptions.getMappings() |
Modifier and Type | Method and Description |
---|---|
TargetReference.BuilderFromTargetMapping |
TargetReference.BuilderFromTargetMapping.mapping(Mapping mapping) |
SourceReference.BuilderFromMapping |
SourceReference.BuilderFromMapping.mapping(Mapping mapping) |
Modifier and Type | Method and Description |
---|---|
static MappingOptions |
MappingOptions.forMappingsOnly(Map<String,List<Mapping>> mappings,
boolean restrictToDefinedMappings)
creates mapping options with only regular mappings
|
static MappingOptions |
MappingOptions.forMappingsOnly(Map<String,List<Mapping>> mappings,
boolean restrictToDefinedMappings,
boolean forForgedMethods)
creates mapping options with only regular mappings
|
SourceMethod.Builder |
SourceMethod.Builder.setMappings(Map<String,List<Mapping>> mappings) |
void |
MappingOptions.setMappings(Map<String,List<Mapping>> mappings) |
Constructor and Description |
---|
MappingOptions(Map<String,List<Mapping>> mappings,
IterableMapping iterableMapping,
MapMapping mapMapping,
BeanMapping beanMapping,
List<ValueMapping> valueMappings,
boolean restrictToDefinedMappings) |
Copyright © 2012-2019 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.