Meta-model of mapper types, their methods, mappings between properties etc. Model elements can serialize themselves using FreeMarker templates.
Interface Summary Interface Description ConstructorBasic interface class that facilitates an empty constructor. MappingBuilderContext.MappingResolverResolves the most suitable way for mapping an element (property, iterable element etc.) from source to target.
Class Summary Class Description AbstractMappingMethodBuilder<B extends AbstractMappingMethodBuilder<B,M>,M extends MappingMethod>An abstract builder that can be reused for building
AnnotatedConstructorRepresents a constructor that is used for constructor injection. AnnotationRepresents a Java 5 annotation. AnnotationMapperReferenceMapper reference which is retrieved via Annotation-based dependency injection.
The dependency injection may vary between field and constructor injection.
BeanMappingMethod BeanMappingMethod.Builder BuilderFinisherMethodResolver CollectionAssignmentBuilderA builder that is used for creating an assignment to a collection. ContainerMappingMethod ContainerMappingMethodBuilder<B extends ContainerMappingMethodBuilder<B,M>,M extends ContainerMappingMethod>Builder that can be used to build
DecoratorRepresents a decorator applied to a generated mapper type. Decorator.Builder DecoratorConstructorRepresents the constructor of a decorator. DefaultMapperReferenceMapper reference which is retrieved via the
DelegatingMethodA method of a decorator which delegates to the corresponding method of the generated mapper implementation. FieldA field of a mapper type, e.g. a reference to another mapper. ForgedMethodThis method will be generated in absence of a suitable abstract method to implement. ForgedMethodHistoryKeeps the context where the ForgedMethod is generated, especially handy with nested forged methods GeneratedTypeA type generated by MapStruct, e.g. representing a mapper type. GeneratedType.GeneratedTypeBuilder<T extends GeneratedType.GeneratedTypeBuilder> HelperMethodA non mapping method to be generated. IterableCreation IterableMappingMethod IterableMappingMethod.Builder LifecycleCallbackMethodReferenceRepresents a reference to a method that is annotated with
LifecycleMethodResolverFactory for creating lists of appropriate
MapMappingMethod MapMappingMethod.Builder MapperRepresents a type implementing a mapper interface (annotated with
Mapper.Builder MapperReferenceA reference to another mapper class, which itself may be generated or hand-written. MappingBuilderContextThis class provides the context for the builders. MappingMethodA method implemented or referenced by a
MethodReferenceRepresents a reference to another method, e.g. used to map a bean property from source to target type or to instantiate the return value of a mapping method (rather than calling the
MethodReferencePresenceCheck NestedPropertyMappingMethodThis 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. NestedPropertyMappingMethod.Builder NestedPropertyMappingMethod.SafePropertyEntry NestedTargetPropertyMappingHolderThis is a helper class that holds the generated
PropertyMapping(s) and all the information associated with it for nested target properties.
NestedTargetPropertyMappingHolder.Builder NoArgumentConstructorRepresents a constructor that is used for constructor injection. NormalTypeMappingMethod ObjectFactoryMethodResolver PresenceCheckMethodResolver PropertyMappingRepresents the mapping between a source and target property, e.g. from
PropertyMapping.ConstantMappingBuilder PropertyMapping.JavaExpressionMappingBuilder PropertyMapping.PropertyMappingBuilder ServicesEntry StreamMappingMethod StreamMappingMethod.Builder SubclassMappingRepresents the mapping between a Subclass and its mapping target. SupportingConstructorFragmentA mapper instance field, initialized as null SupportingFieldsupports the SupportingMappingMethodA mapping method which is not based on an actual method declared in the original mapper interface but is added as private method to map a certain source/target type combination. TypeConversionAn inline conversion between source and target type of a mapping. ValueMappingMethod ValueMappingMethod.Builder ValueMappingMethod.MappingEntry