Package org.mapstruct.ap.internal.model
Class NestedPropertyMappingMethod
java.lang.Object
org.mapstruct.ap.internal.writer.FreeMarkerWritable
org.mapstruct.ap.internal.model.common.ModelElement
org.mapstruct.ap.internal.model.GeneratedTypeMethod
org.mapstruct.ap.internal.model.MappingMethod
org.mapstruct.ap.internal.model.NestedPropertyMappingMethod
- All Implemented Interfaces:
Writable
This method is used to convert the nested properties as listed in propertyEntries into a method
that creates a mapping from the start of this list to the end of the list.
So, say that the start of the list is of TypeA and the end of the list is of TypeB than the forged method will create a forged mapping method: TypeB methodName( TypeA in ).
- Author:
- Sjaak Derksen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.mapstruct.ap.internal.writer.Writable
Writable.Context -
Method Summary
Methods inherited from class org.mapstruct.ap.internal.model.MappingMethod
filterMappingTarget, getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toStringMethods inherited from class org.mapstruct.ap.internal.writer.FreeMarkerWritable
getTemplateName, getTemplateNameForClass, write
-
Method Details
-
getSourceParameter
-
getPropertyEntries
-
getImportTypes
Description copied from class:ModelElementReturns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.- Overrides:
getImportTypesin classMappingMethod- Returns:
- A set with type referenced by this model element. Must not be
null.
-
hashCode
public int hashCode()- Overrides:
hashCodein classMappingMethod
-
equals
- Overrides:
equalsin classMappingMethod
-