Package org.mapstruct.ap.internal.model
Class BeanMappingMethod
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.NormalTypeMappingMethod
org.mapstruct.ap.internal.model.BeanMappingMethod
- All Implemented Interfaces:
Writable
A
MappingMethod implemented by a Mapper class which maps one bean type to another, optionally
configured by one or more PropertyMappings.- Author:
- Gunnar Morling
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.mapstruct.ap.internal.writer.Writable
Writable.Context -
Method Summary
Modifier and TypeMethodDescriptionconstructorPropertyMappingsByParameter(Parameter parameter) booleanReturns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.getPresenceCheckByParameter(Parameter parameter) getSourceParameterReassignment(Parameter parameter) booleaninthashCode()booleanbooleanpropertyMappingsByParameter(Parameter parameter) Methods inherited from class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
getAnnotations, getFactoryMethod, isMapNullToDefaultMethods 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
-
getSubclassExhaustiveException
-
getConstantMappings
-
getConstructorConstantMappings
-
getSubclassMappings
-
getFinalizedResultName
-
getFinalizedReturnType
-
getOptionalResultName
-
getBeforeMappingReferencesWithFinalizedReturnType
-
getAfterMappingReferencesWithFinalizedReturnType
-
getAfterMappingReferencesWithOptionalReturnType
-
propertyMappingsByParameter
-
constructorPropertyMappingsByParameter
-
getReturnTypeToConstruct
-
hasSubclassMappings
public boolean hasSubclassMappings() -
isAbstractReturnType
public boolean isAbstractReturnType() -
hasConstructorMappings
public boolean hasConstructorMappings() -
getFinalizerMethod
-
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 classNormalTypeMappingMethod- Returns:
- A set with type referenced by this model element. Must not be
null.
-
getSourcePresenceChecks
-
getPresenceChecksByParameter
-
getPresenceCheckByParameter
-
getSourceParametersNeedingPresenceCheck
-
getSourceParametersNotNeedingPresenceCheck
-
getSourceParameterReassignment
-
hashCode
public int hashCode()- Overrides:
hashCodein classNormalTypeMappingMethod
-
equals
- Overrides:
equalsin classNormalTypeMappingMethod
-