| 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 mappingPrism,
javax.lang.model.element.Element element,
javax.annotation.processing.Messager messager) |
Mapping |
SourceMethod.getMappingByTargetPropertyName(java.lang.String targetPropertyName)
Returns the
Mapping for the given target property. |
Mapping |
Mapping.reverse() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,java.util.List<Mapping>> |
Mapping.fromMappingsPrism(MappingsPrism mappingsAnnotation,
javax.lang.model.element.Element element,
javax.annotation.processing.Messager messager) |
java.util.Map<java.lang.String,java.util.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(javax.lang.model.element.ExecutableElement executable,
java.util.List<Parameter> parameters,
Type returnType,
java.util.List<Type> exceptionTypes,
java.util.Map<java.lang.String,java.util.List<Mapping>> mappings,
IterableMapping iterableMapping,
MapMapping mapMapping,
javax.lang.model.util.Types typeUtils) |
void |
SourceMethod.setMappings(java.util.Map<java.lang.String,java.util.List<Mapping>> mappings) |
Copyright © 2012-2014. All Rights Reserved.