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, boolean isReverse)
public String getSourceName()
parameter1.foo
) or
unqualified (e.g. foo
) property reference.public String getConstant()
public String getJavaExpression()
public String getTargetName()
public String getDefaultValue()
public FormattingParameters getFormattingParameters()
public SelectionParameters getSelectionParameters()
public boolean isIgnored()
public AnnotationMirror getMirror()
public AnnotationValue getSourceAnnotationValue()
public AnnotationValue getTargetAnnotationValue()
public AnnotationValue getDependsOnAnnotationValue()
public SourceReference getSourceReference()
public TargetReference getTargetReference()
public Mapping reverse(SourceMethod method, FormattingMessager messager, TypeFactory typeFactory)
public Mapping copyForInheritanceTo(SourceMethod method)
method
- the method to create the copy forCopyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.