public class Mapping extends Object
@Mapping
.public static Map<String,List<Mapping>> fromMappingsPrism(org.mapstruct.ap.internal.prism.MappingsPrism mappingsAnnotation, ExecutableElement method, FormattingMessager messager)
public static Mapping fromMappingPrism(org.mapstruct.ap.internal.prism.MappingPrism mappingPrism, ExecutableElement element, FormattingMessager messager)
public void init(SourceMethod method, FormattingMessager 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 String getDefaultValue()
public List<TypeMirror> getQualifiers()
public boolean isIgnored()
public AnnotationMirror getMirror()
public AnnotationValue getSourceAnnotationValue()
public AnnotationValue getTargetAnnotationValue()
public AnnotationValue getDependsOnAnnotationValue()
public SourceReference getSourceReference()
public TypeMirror getResultType()
public Mapping reverse(SourceMethod method, FormattingMessager messager, TypeFactory typeFactory)
public Mapping copyForInheritanceTo(SourceMethod method)
method
- the method to create the copy forCopyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.