Package | Description |
---|---|
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 |
---|---|
Mapping |
Mapping.copyForInheritanceTo(SourceMethod method)
Creates a copy of this mapping, which is adapted to the given method
|
static Mapping |
Mapping.fromMappingPrism(org.mapstruct.ap.internal.prism.MappingPrism mappingPrism,
ExecutableElement element,
FormattingMessager messager) |
Mapping |
SourceMethod.getSingleMappingByTargetPropertyName(String targetPropertyName) |
Mapping |
Mapping.reverse(SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
static Map<String,List<Mapping>> |
Mapping.fromMappingsPrism(org.mapstruct.ap.internal.prism.MappingsPrism mappingsAnnotation,
ExecutableElement method,
FormattingMessager messager) |
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 |
---|---|
SourceReference.BuilderFromMapping |
SourceReference.BuilderFromMapping.mapping(Mapping mapping) |
Modifier and Type | Method and Description |
---|---|
void |
MappingOptions.setMappings(Map<String,List<Mapping>> mappings) |
SourceMethod.Builder |
SourceMethod.Builder.setMappings(Map<String,List<Mapping>> mappings) |
Constructor and Description |
---|
MappingOptions(Map<String,List<Mapping>> mappings,
IterableMapping iterableMapping,
MapMapping mapMapping,
BeanMapping beanMapping) |
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.