public class MappingReferences extends Object
Constructor and Description |
---|
MappingReferences(Set<MappingReference> mappingReferences,
boolean restrictToDefinedMappings) |
MappingReferences(Set<MappingReference> mappingReferences,
boolean restrictToDefinedMappings,
boolean forForgedMethods) |
MappingReferences(Set<MappingReference> mappingReferences,
List<MappingReference> targetThisReferences,
boolean restrictToDefinedMappings) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
collectNestedDependsOn() |
static MappingReferences |
empty() |
boolean |
equals(Object o) |
static MappingReferences |
forSourceMethod(SourceMethod sourceMethod,
Type targetType,
Set<String> targetProperties,
FormattingMessager messager,
TypeFactory typeFactory) |
Set<MappingReference> |
getMappingReferences() |
List<MappingReference> |
getTargetThisReferences() |
int |
hashCode() |
boolean |
hasNestedTargetReferences()
Check there are nested target references for this mapping options.
|
boolean |
isForForgedMethods() |
boolean |
isRestrictToDefinedMappings() |
public MappingReferences(Set<MappingReference> mappingReferences, List<MappingReference> targetThisReferences, boolean restrictToDefinedMappings)
public MappingReferences(Set<MappingReference> mappingReferences, boolean restrictToDefinedMappings)
public MappingReferences(Set<MappingReference> mappingReferences, boolean restrictToDefinedMappings, boolean forForgedMethods)
public static MappingReferences empty()
public static MappingReferences forSourceMethod(SourceMethod sourceMethod, Type targetType, Set<String> targetProperties, FormattingMessager messager, TypeFactory typeFactory)
public Set<MappingReference> getMappingReferences()
public boolean isRestrictToDefinedMappings()
public boolean isForForgedMethods()
public Set<String> collectNestedDependsOn()
public boolean hasNestedTargetReferences()
public List<MappingReference> getTargetThisReferences()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.