Package org.mapstruct.ap.internal.model
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.
-
ClassDescriptionAn abstract builder that can be reused for building
MappingMethod(s).Helper class which is responsible for collecting all additional annotations that should be added.Represents a constructor that is used for constructor injection.A method in a generated type that represents a setter with annotations.Represents a Java 5 annotation.Mapper reference which is retrieved via Annotation-based dependency injection.
The dependency injection may vary between field and constructor injection.AMappingMethodimplemented by aMapperclass which maps one bean type to another, optionally configured by one or morePropertyMappings.Factory for creating the appropriate builder finisher method.A builder that is used for creating an assignment to a collection.Basic interface class that facilitates an empty constructor.AMappingMethodimplemented by aMapperclass which does mapping of generic types.ContainerMappingMethodBuilder<B extends ContainerMappingMethodBuilder<B,M>, M extends ContainerMappingMethod> Builder that can be used to buildContainerMappingMethod(s).Represents a decorator applied to a generated mapper type.Represents the constructor of a decorator.Mapper reference which is retrieved via theMappers#getMapper()method.A method of a decorator which delegates to the corresponding method of the generated mapper implementation.A field of a mapper type, e.g. a reference to another mapper.This method will be generated in absence of a suitable abstract method to implement.Keeps the context where the ForgedMethod is generated, especially handy with nested forged methodsAn inline conversion from an optional source to it's value.A type generated by MapStruct, e.g. representing a mapper type.Base class for methods available in a generated type.A non mapping method to be generated.AMappingMethodimplemented by aMapperclass which maps one iterable type to another.Represents the javadoc information that should be generated for aMapper.Represents a reference to a method that is annotated with@BeforeMappingor@AfterMapping.Factory for creating lists of appropriateLifecycleCallbackMethodReferencesRepresents a type implementing a mapper interface (annotated with@Mapper).A reference to another mapper class, which itself may be generated or hand-written.This class provides the context for the builders.Resolves the most suitable way for mapping an element (property, iterable element etc.) from source to target.A method implemented or referenced by aMapperclass.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 thenewoperator).APresenceCheckthat is based on aMethodReference.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.This is a helper class that holds the generatedPropertyMapping(s) and all the information associated with it for nested target properties.Represents a constructor that is used for constructor injection.AMappingMethodthat is used by the main mapping methods (BeanMappingMethod,MapMappingMethod,IterableMappingMethodandStreamMappingMethod(non-enum / non-value mapping)Factory for creating the appropriate object factory method.Factory for creatingPresenceChecks.Represents the mapping between a source and target property, e.g. fromString Source#footoint Target#bar.Represents a service entry for the service loader file.AMappingMethodimplemented by aMapperclass which maps one iterable or array type to Stream.Represents the mapping between a Subclass and its mapping target.A mapper instance field, initialized as nullsupports theA 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.An inline conversion from a source to an optional of the source.An inline conversion between source and target type of a mapping.AValueMappingMethodwhich maps one value type to another, optionally configured by one or moreValueMappingOptionss.