public class Mapping extends Object
@Mapping.| Modifier and Type | Method and Description |
|---|---|
static Mapping |
fromMappingPrism(org.mapstruct.ap.prism.MappingPrism mappingPrism,
ExecutableElement element,
Messager messager) |
static Map<String,List<Mapping>> |
fromMappingsPrism(org.mapstruct.ap.prism.MappingsPrism mappingsAnnotation,
ExecutableElement method,
Messager messager) |
String |
getConstant() |
String |
getDateFormat() |
String |
getJavaExpression() |
AnnotationMirror |
getMirror() |
List<TypeMirror> |
getQualifiers() |
AnnotationValue |
getSourceAnnotationValue() |
String |
getSourceName()
Returns the complete source name of this mapping, either a qualified (e.g.
|
SourceReference |
getSourceReference() |
AnnotationValue |
getTargetAnnotationValue() |
String |
getTargetName() |
void |
init(SourceMethod method,
Messager messager,
TypeFactory typeFactory) |
boolean |
isIgnored() |
Mapping |
reverse(SourceMethod method,
Messager messager,
TypeFactory typeFactory) |
String |
toString() |
public static Map<String,List<Mapping>> fromMappingsPrism(org.mapstruct.ap.prism.MappingsPrism mappingsAnnotation, ExecutableElement method, Messager messager)
public static Mapping fromMappingPrism(org.mapstruct.ap.prism.MappingPrism mappingPrism, ExecutableElement element, Messager messager)
public void init(SourceMethod method, Messager messager, TypeFactory typeFactory)
public String getSourceName()
parameter1.foo) or
unqualified (e.g. foo) property reference.public String getConstant()
public String getJavaExpression()
public String getTargetName()
public String getDateFormat()
public List<TypeMirror> getQualifiers()
public boolean isIgnored()
public AnnotationMirror getMirror()
public AnnotationValue getSourceAnnotationValue()
public AnnotationValue getTargetAnnotationValue()
public SourceReference getSourceReference()
public Mapping reverse(SourceMethod method, Messager messager, TypeFactory typeFactory)
Copyright © 2012-2014. All Rights Reserved.