Class MappingReferences
java.lang.Object
org.mapstruct.ap.internal.model.beanmapping.MappingReferences
-
Constructor Summary
ConstructorsConstructorDescriptionMappingReferences(Set<MappingReference> mappingReferences, boolean restrictToDefinedMappings) MappingReferences(Set<MappingReference> mappingReferences, boolean restrictToDefinedMappings, boolean forForgedMethods) -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingReferencesempty()booleanstatic MappingReferencesforSourceMethod(SourceMethod sourceMethod, Type targetType, Set<String> targetProperties, FormattingMessager messager, TypeFactory typeFactory) inthashCode()booleanCheck there are nested target references for this mapping options.booleanboolean
-
Constructor Details
-
MappingReferences
public MappingReferences(Set<MappingReference> mappingReferences, boolean restrictToDefinedMappings) -
MappingReferences
public MappingReferences(Set<MappingReference> mappingReferences, boolean restrictToDefinedMappings, boolean forForgedMethods)
-
-
Method Details
-
empty
-
forSourceMethod
public static MappingReferences forSourceMethod(SourceMethod sourceMethod, Type targetType, Set<String> targetProperties, FormattingMessager messager, TypeFactory typeFactory) -
getMappingReferences
-
isRestrictToDefinedMappings
public boolean isRestrictToDefinedMappings() -
isForForgedMethods
public boolean isForForgedMethods() -
collectNestedDependsOn
- Returns:
- all dependencies to other properties the contained mappings are dependent on
-
hasNestedTargetReferences
public boolean hasNestedTargetReferences()Check there are nested target references for this mapping options.- Returns:
- boolean, true if there are nested target references
-
equals
-
hashCode
public int hashCode()
-