| 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(MappingPrism mapping,
Element element) |
Mapping |
SourceMethod.getMappingByTargetPropertyName(String targetPropertyName)
Returns the
Mapping for the given target property. |
Mapping |
Mapping.reverse() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<Mapping>> |
Mapping.fromMappingsPrism(MappingsPrism mappingsAnnotation,
Element element) |
Map<String,List<Mapping>> |
SourceMethod.getMappings()
Returns the
Mappings configured for this method, keyed by source property name. |
| Modifier and Type | Method and Description |
|---|---|
static SourceMethod |
SourceMethod.forMethodRequiringImplementation(ExecutableElement executable,
List<Parameter> parameters,
Type returnType,
Map<String,List<Mapping>> mappings,
IterableMapping iterableMapping,
MapMapping mapMapping,
Types typeUtils) |
void |
SourceMethod.setMappings(Map<String,List<Mapping>> mappings) |
Copyright © 2012-2014. All Rights Reserved.