Package org.mapstruct.ap.internal.model
Meta-model of mapper types, their methods, mappings between properties etc. Model elements can serialize themselves using FreeMarker templates.
-
Interface Summary Interface Description Constructor Basic interface class that facilitates an empty constructor.MappingBuilderContext.MappingResolver Resolves 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 buildingMappingMethod
(s).AdditionalAnnotationsBuilder AnnotatedConstructor Represents a constructor that is used for constructor injection.AnnotatedSetter Annotation Represents a Java 5 annotation.AnnotationMapperReference Mapper reference which is retrieved via Annotation-based dependency injection.
The dependency injection may vary between field and constructor injection.BeanMappingMethod AMappingMethod
implemented by aMapper
class which maps one bean type to another, optionally configured by one or morePropertyMapping
s.BeanMappingMethod.Builder BuilderFinisherMethodResolver CollectionAssignmentBuilder A builder that is used for creating an assignment to a collection.ContainerMappingMethod AMappingMethod
implemented by aMapper
class which does mapping of generic types.ContainerMappingMethodBuilder<B extends ContainerMappingMethodBuilder<B,M>,M extends ContainerMappingMethod> Builder that can be used to buildContainerMappingMethod
(s).Decorator Represents a decorator applied to a generated mapper type.Decorator.Builder DecoratorConstructor Represents the constructor of a decorator.DefaultMapperReference Mapper reference which is retrieved via theMappers#getMapper()
method.DelegatingMethod A method of a decorator which delegates to the corresponding method of the generated mapper implementation.Field A field of a mapper type, e.g. a reference to another mapper.ForgedMethod This method will be generated in absence of a suitable abstract method to implement.ForgedMethodHistory Keeps the context where the ForgedMethod is generated, especially handy with nested forged methodsGeneratedType A type generated by MapStruct, e.g. representing a mapper type.GeneratedType.GeneratedTypeBuilder<T extends GeneratedType.GeneratedTypeBuilder> GeneratedTypeMethod HelperMethod A non mapping method to be generated.IterableCreation IterableMappingMethod AMappingMethod
implemented by aMapper
class which maps one iterable type to another.IterableMappingMethod.Builder Javadoc Represents the javadoc information that should be generated for aMapper
.Javadoc.Builder LifecycleCallbackMethodReference Represents a reference to a method that is annotated with@BeforeMapping
or@AfterMapping
.LifecycleMethodResolver Factory for creating lists of appropriateLifecycleCallbackMethodReference
sMapMappingMethod MapMappingMethod.Builder Mapper Represents a type implementing a mapper interface (annotated with@Mapper
).Mapper.Builder MapperReference A reference to another mapper class, which itself may be generated or hand-written.MappingBuilderContext This class provides the context for the builders.MappingMethod A method implemented or referenced by aMapper
class.MethodReference Represents 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 thenew
operator).MethodReferencePresenceCheck NestedPropertyMappingMethod 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.NestedPropertyMappingMethod.Builder NestedPropertyMappingMethod.SafePropertyEntry NestedTargetPropertyMappingHolder This is a helper class that holds the generatedPropertyMapping
(s) and all the information associated with it for nested target properties.NestedTargetPropertyMappingHolder.Builder NoArgumentConstructor Represents a constructor that is used for constructor injection.NormalTypeMappingMethod AMappingMethod
that is used by the main mapping methods (BeanMappingMethod
,MapMappingMethod
,IterableMappingMethod
andStreamMappingMethod
(non-enum / non-value mapping)ObjectFactoryMethodResolver PresenceCheckMethodResolver PropertyMapping Represents the mapping between a source and target property, e.g. fromString Source#foo
toint Target#bar
.PropertyMapping.ConstantMappingBuilder PropertyMapping.JavaExpressionMappingBuilder PropertyMapping.PropertyMappingBuilder ServicesEntry StreamMappingMethod AMappingMethod
implemented by aMapper
class which maps one iterable or array type to Stream.StreamMappingMethod.Builder SubclassMapping Represents the mapping between a Subclass and its mapping target.SupportingConstructorFragment A mapper instance field, initialized as nullSupportingField supports theSupportingMappingMethod A 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.TypeConversion An inline conversion between source and target type of a mapping.ValueMappingMethod AValueMappingMethod
which maps one value type to another, optionally configured by one or moreValueMappingOptions
s.ValueMappingMethod.Builder ValueMappingMethod.MappingEntry