| Package | Description |
|---|---|
| org.mapstruct.ap.model.source |
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
|
| Modifier and Type | Method and Description |
|---|---|
static Mapping |
Mapping.fromMappingPrism(org.mapstruct.ap.prism.MappingPrism mappingPrism,
ExecutableElement element,
Messager messager) |
Mapping |
SourceMethod.getSingleMappingByTargetPropertyName(String targetPropertyName) |
Mapping |
Mapping.reverse(SourceMethod method,
Messager messager,
TypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<Mapping>> |
Mapping.fromMappingsPrism(org.mapstruct.ap.prism.MappingsPrism mappingsAnnotation,
ExecutableElement method,
Messager messager) |
List<Mapping> |
SourceMethod.getMappingBySourcePropertyName(String sourcePropertyName)
Returns the
Mappings for the given source property. |
Map<String,List<Mapping>> |
SourceMethod.getMappings() |
| Modifier and Type | Method and Description |
|---|---|
SourceReference.BuilderFromMapping |
SourceReference.BuilderFromMapping.mapping(Mapping mapping) |
| Modifier and Type | Method and Description |
|---|---|
static SourceMethod |
SourceMethod.forMethodRequiringImplementation(ExecutableElement executable,
List<Parameter> parameters,
Type returnType,
List<Type> exceptionTypes,
Map<String,List<Mapping>> mappings,
IterableMapping iterableMapping,
MapMapping mapMapping,
Types typeUtils,
Messager messager,
TypeFactory typeFactory) |
void |
SourceMethod.setMappings(Map<String,List<Mapping>> mappings) |
Copyright © 2012-2014. All Rights Reserved.