diff --git a/config.toml b/config.toml index 51a4aaf12..f0d17ceb2 100644 --- a/config.toml +++ b/config.toml @@ -50,7 +50,7 @@ url = "https://github.com/mapstruct/mapstruct" [Params] stableVersion = "1.5.5.Final" -devVersion = "1.5.5.Final" +devVersion = "1.6.0.Beta1" numberOfLatestPosts = 7 tagLine = "Java bean mappings, the easy way!" contentSourceUrl = "https://github.com/mapstruct/mapstruct.org/tree/main/content/" diff --git a/content/documentation/reference-guide.md b/content/documentation/reference-guide.md index 8eccc5601..280de3b59 100644 --- a/content/documentation/reference-guide.md +++ b/content/documentation/reference-guide.md @@ -10,6 +10,13 @@ teaser = "The reference documentation and API docs for the current stable and pr parent = "Documentation" +++ +**1.6.0.Beta1** (November 4th 2023; latest beta release) + +* Reference guide: [HTML](/documentation/dev/reference/html/) | [PDF](/documentation/dev/reference/pdf/mapstruct-reference-guide.pdf) +* API documentation: [JavaDoc](/documentation/dev/api/) +* [Migration notes](https://github.com/mapstruct/mapstruct/releases/tag/1.6.0.Beta1) + + **1.5.5.Final** (April 23th 2023; latest stable release) * Reference guide: [HTML](/documentation/stable/reference/html/) | [PDF](/documentation/stable/reference/pdf/mapstruct-reference-guide.pdf) diff --git a/static/documentation/1.6/api/allclasses-index.html b/static/documentation/1.6/api/allclasses-index.html new file mode 100644 index 000000000..c2a9a765c --- /dev/null +++ b/static/documentation/1.6/api/allclasses-index.html @@ -0,0 +1,2322 @@ + + + + + +All Classes (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes

+
+
+ +
+
+ + + diff --git a/static/documentation/1.6/api/allclasses.html b/static/documentation/1.6/api/allclasses.html new file mode 100644 index 000000000..0ce01de65 --- /dev/null +++ b/static/documentation/1.6/api/allclasses.html @@ -0,0 +1,405 @@ + + + + + +All Classes (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + +
+

All Classes

+
+ +
+
+ + diff --git a/static/documentation/1.6/api/allpackages-index.html b/static/documentation/1.6/api/allpackages-index.html new file mode 100644 index 000000000..f128c6649 --- /dev/null +++ b/static/documentation/1.6/api/allpackages-index.html @@ -0,0 +1,321 @@ + + + + + +All Packages (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
+ +
+
+ + + diff --git a/static/documentation/1.6/api/constant-values.html b/static/documentation/1.6/api/constant-values.html new file mode 100644 index 000000000..96ed9472d --- /dev/null +++ b/static/documentation/1.6/api/constant-values.html @@ -0,0 +1,603 @@ + + + + + +Constant Field Values (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Constant Field Values

+
+

Contents

+ +
+
+
+ + +
+

org.mapstruct.*

+ + + +
+
+
+ + + diff --git a/static/documentation/1.6/api/deprecated-list.html b/static/documentation/1.6/api/deprecated-list.html new file mode 100644 index 000000000..1e883449d --- /dev/null +++ b/static/documentation/1.6/api/deprecated-list.html @@ -0,0 +1,178 @@ + + + + + +Deprecated List (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Deprecated API

+

Contents

+ +
+
+ + + +
+
+ + + diff --git a/static/documentation/1.6/api/element-list b/static/documentation/1.6/api/element-list new file mode 100644 index 000000000..618175c5f --- /dev/null +++ b/static/documentation/1.6/api/element-list @@ -0,0 +1,25 @@ +org.mapstruct +org.mapstruct.ap +org.mapstruct.ap.internal.conversion +org.mapstruct.ap.internal.model +org.mapstruct.ap.internal.model.annotation +org.mapstruct.ap.internal.model.assignment +org.mapstruct.ap.internal.model.beanmapping +org.mapstruct.ap.internal.model.common +org.mapstruct.ap.internal.model.dependency +org.mapstruct.ap.internal.model.presence +org.mapstruct.ap.internal.model.source +org.mapstruct.ap.internal.model.source.builtin +org.mapstruct.ap.internal.model.source.selector +org.mapstruct.ap.internal.option +org.mapstruct.ap.internal.processor +org.mapstruct.ap.internal.processor.creation +org.mapstruct.ap.internal.util +org.mapstruct.ap.internal.util.accessor +org.mapstruct.ap.internal.version +org.mapstruct.ap.internal.writer +org.mapstruct.ap.spi +org.mapstruct.ap.spi.util +org.mapstruct.control +org.mapstruct.factory +org.mapstruct.util diff --git a/static/documentation/1.6/api/help-doc.html b/static/documentation/1.6/api/help-doc.html new file mode 100644 index 000000000..75b92c2f8 --- /dev/null +++ b/static/documentation/1.6/api/help-doc.html @@ -0,0 +1,282 @@ + + + + + +API Help (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +
+This help file applies to API documentation generated by the standard doclet.
+
+ + + diff --git a/static/documentation/1.6/api/index-all.html b/static/documentation/1.6/api/index-all.html new file mode 100644 index 000000000..613c711c4 --- /dev/null +++ b/static/documentation/1.6/api/index-all.html @@ -0,0 +1,8112 @@ + + + + + +Index (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes All Packages + + +

A

+
+
AbstractElementUtilsDecorator - Class in org.mapstruct.ap.internal.util
+
 
+
AbstractJavaTimeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
+ Base type for mapping Java 8 time types to String and vice versa.
+
+
AbstractJavaTimeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion
+
 
+
AbstractJodaTypeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Base class for conversions between Joda-Time types and String.
+
+
AbstractJodaTypeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
+
 
+
AbstractMappingMethodBuilder<B extends AbstractMappingMethodBuilder<B,​M>,​M extends MappingMethod> - Class in org.mapstruct.ap.internal.model
+
+
An abstract builder that can be reused for building MappingMethod(s).
+
+
AbstractMappingMethodBuilder(Class<B>) - Constructor for class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
+
 
+
AbstractNumberToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Abstract base class for PrimitiveToStringConversion, WrapperToStringConversion, + BigDecimalToStringConversion and BigIntegerToStringConversion + + Contains shared utility methods.
+
+
AbstractNumberToStringConversion(boolean) - Constructor for class org.mapstruct.ap.internal.conversion.AbstractNumberToStringConversion
+
 
+
AbstractReference - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
Class acts as a common base class for TargetReference and SourceReference.
+
+
AbstractReference(Parameter, List<PropertyEntry>, boolean) - Constructor for class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
AbstractToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
AbstractToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar
+
 
+
AbstractTypeUtilsDecorator - Class in org.mapstruct.ap.internal.util
+
+
Replaces the usage of TypeUtils within MapStruct by delegating to the original implementation or to our + specific workarounds if necessary.
+
+
accessedType - Variable in class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
 
+
Accessibility - Enum in org.mapstruct.ap.internal.model.common
+
+
Accessibility of an element
+
+
Accessor - Interface in org.mapstruct.ap.internal.util.accessor
+
+
This represents an Accessor that can be used for writing/reading a property to/from a bean.
+
+
ACCESSOR_ONLY - org.mapstruct.CollectionMappingStrategy
+
+
The setter of the target property will be used to propagate the value: + orderDto.setOrderLines(order.getOrderLines).
+
+
AccessorNamingStrategy - Interface in org.mapstruct.ap.spi
+
+
A service provider interface for the mapping between method names and properties.
+
+
AccessorNamingUtils - Class in org.mapstruct.ap.internal.util
+
+
Utils for working with the AccessorNamingStrategy.
+
+
AccessorNamingUtils(AccessorNamingStrategy) - Constructor for class org.mapstruct.ap.internal.util.AccessorNamingUtils
+
 
+
AccessorType - Enum in org.mapstruct.ap.internal.util.accessor
+
 
+
addAllFieldsIn(Set<SupportingMappingMethod>, Set<Field>) - Static method in class org.mapstruct.ap.internal.model.SupportingField
+
 
+
addAllFragmentsIn(Set<SupportingMappingMethod>, Set<SupportingConstructorFragment>) - Static method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
addAnnotation(Annotation) - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
ADDER - org.mapstruct.ap.internal.util.accessor.AccessorType
+
 
+
ADDER - org.mapstruct.ap.spi.MethodType
+
+
An adder method, e.g.
+
+
ADDER_PREFERRED - org.mapstruct.CollectionMappingStrategy
+
+
Identical to CollectionMappingStrategy.SETTER_PREFERRED, only that adder methods will be preferred over setter methods, if both + are present for a given collection-typed property.
+
+
adderMethodsIn(List<ExecutableElement>) - Method in class org.mapstruct.ap.internal.util.Filters
+
 
+
AdderWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Wraps the assignment in a target setter.
+
+
AdderWrapper(Assignment, List<Type>, boolean, String) - Constructor for class org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
 
+
addIfImportRequired(Collection<Type>, Type) - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
addInstance(AnnotateWithGem, Element, Set<Annotation>) - Method in class org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder
+
 
+
addInstance(MappingGem, ExecutableElement, BeanMappingOptions, FormattingMessager, TypeUtils, Set<MappingOptions>) - Static method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
addInstance(SubclassMappingGem, ExecutableElement, BeanMappingOptions, FormattingMessager, TypeUtils, Set<SubclassMappingOptions>, List<Parameter>, Type, SubclassValidator) - Static method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
addInstance(SINGULAR, Element, Set<OPTIONS>) - Method in class org.mapstruct.ap.internal.util.RepeatableAnnotations
+
 
+
addInstances(MULTIPLE, Element, Set<OPTIONS>) - Method in class org.mapstruct.ap.internal.util.RepeatableAnnotations
+
 
+
addInstances(AnnotateWithsGem, Element, Set<Annotation>) - Method in class org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder
+
 
+
addInstances(MappingsGem, ExecutableElement, BeanMappingOptions, FormattingMessager, TypeUtils, Set<MappingOptions>) - Static method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
addInstances(SubclassMappingsGem, ExecutableElement, BeanMappingOptions, FormattingMessager, TypeUtils, Set<SubclassMappingOptions>, List<Parameter>, Type, SubclassValidator) - Static method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
additionalAnnotations(Set<Annotation>) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
AdditionalAnnotationsBuilder - Class in org.mapstruct.ap.internal.model
+
 
+
AdditionalAnnotationsBuilder(ElementUtils, TypeFactory, FormattingMessager) - Constructor for class org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder
+
 
+
additionalPublicEmptyConstructor() - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
additionalPublicEmptyConstructor() - Method in class org.mapstruct.ap.internal.processor.CdiComponentProcessor
+
 
+
additionalPublicEmptyConstructor() - Method in class org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor
+
 
+
AdditionalSupportedOptionsProvider - Interface in org.mapstruct.ap.spi
+
+
Provider for any additional supported options required for custom SPI implementations.
+
+
addMethodsForParameter(Parameter, List<SourceMethod>) - Method in class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods.Builder
+
 
+
addThrownTypes(List<Type>) - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
addTypeReadyForProcessing(TypeMirror) - Method in class org.mapstruct.ap.internal.util.RoundContext
+
+
Marks the given type as being ready for further processing.
+
+
adjustDecorator(Mapper, InjectionStrategyGem) - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
AfterMapping - Annotation Type in org.mapstruct
+
+
Marks a method to be invoked at the end of a generated mapping method, right before the last return statement + of the mapping method.
+
+
afterMappingMethods(Method, Type, SelectionParameters, MappingBuilderContext, Set<String>) - Static method in class org.mapstruct.ap.internal.model.LifecycleMethodResolver
+
 
+
afterMappingMethods(Method, SelectionParameters, MappingBuilderContext, Set<String>) - Static method in class org.mapstruct.ap.internal.model.LifecycleMethodResolver
+
 
+
all(Class<T>) - Static method in class org.mapstruct.ap.internal.util.Services
+
 
+
allowBy2Steps() - Method in class org.mapstruct.ap.internal.model.source.MappingControl
+
 
+
allowDirect() - Method in class org.mapstruct.ap.internal.model.source.MappingControl
+
 
+
allowMappingMethod() - Method in class org.mapstruct.ap.internal.model.source.MappingControl
+
 
+
allowTypeConversion() - Method in class org.mapstruct.ap.internal.model.source.MappingControl
+
 
+
AllPresenceChecksPresenceCheck - Class in org.mapstruct.ap.internal.model.presence
+
 
+
AllPresenceChecksPresenceCheck(Collection<PresenceCheck>) - Constructor for class org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck
+
 
+
ALWAYS - org.mapstruct.NullValueCheckStrategy
+
+
This option always includes a null check.
+
+
ALWAYS_GENERATE_SERVICE_FILE - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
AND - Static variable in class org.mapstruct.ap.internal.util.MessageConstants
+
 
+
ANNOTATE_WITH_ANNOTATION_IS_NOT_REPEATABLE - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_DUPLICATE - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_DUPLICATE_PARAMETER - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_ENUM_CLASS_NOT_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_ENUM_VALUE_DOES_NOT_EXIST - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_ENUMS_NOT_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_MISSING_REQUIRED_PARAMETER - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_NOT_ALLOWED_ON_CLASS - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_NOT_ALLOWED_ON_METHODS - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_PARAMETER_ARRAY_NOT_EXPECTED - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_TOO_MANY_VALUE_TYPES - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_UNKNOWN_PARAMETER - org.mapstruct.ap.internal.util.Message
+
 
+
ANNOTATE_WITH_WRONG_PARAMETER - org.mapstruct.ap.internal.util.Message
+
 
+
AnnotatedConstructor - Class in org.mapstruct.ap.internal.model
+
+
Represents a constructor that is used for constructor injection.
+
+
AnnotatedSetter - Class in org.mapstruct.ap.internal.model
+
 
+
AnnotatedSetter(Field, Collection<Annotation>, Collection<Annotation>) - Constructor for class org.mapstruct.ap.internal.model.AnnotatedSetter
+
 
+
AnnotateWith - Annotation Type in org.mapstruct
+
+
This can be used to have mapstruct generate additional annotations on classes/methods.
+
+
AnnotateWith.Element - Annotation Type in org.mapstruct
+
+
Used in combination with AnnotateWith to configure the annotation elements.
+
+
AnnotateWiths - Annotation Type in org.mapstruct
+
+
This can be used to have mapstruct generate additional annotations on classes/methods.
+
+
Annotation - Class in org.mapstruct.ap.internal.model
+
+
Represents a Java 5 annotation.
+
+
Annotation(Type) - Constructor for class org.mapstruct.ap.internal.model.Annotation
+
 
+
Annotation(Type, List<AnnotationElement>) - Constructor for class org.mapstruct.ap.internal.model.Annotation
+
 
+
AnnotationBasedComponentModelProcessor - Class in org.mapstruct.ap.internal.processor
+
+
An ModelElementProcessor which converts the given Mapper object into an annotation based component + model in case a matching model is selected as target component model for this mapper.
+
+
AnnotationBasedComponentModelProcessor() - Constructor for class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
AnnotationElement - Class in org.mapstruct.ap.internal.model.annotation
+
 
+
AnnotationElement(AnnotationElement.AnnotationElementType, String, List<? extends Object>) - Constructor for class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
AnnotationElement(AnnotationElement.AnnotationElementType, List<? extends Object>) - Constructor for class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
AnnotationElement.AnnotationElementType - Enum in org.mapstruct.ap.internal.model.annotation
+
 
+
AnnotationMapperReference - Class in org.mapstruct.ap.internal.model
+
+
Mapper reference which is retrieved via Annotation-based dependency injection.
+ The dependency injection may vary between field and constructor injection.
+
+
AnnotationMapperReference(Type, String, List<Annotation>, boolean, boolean, boolean) - Constructor for class org.mapstruct.ap.internal.model.AnnotationMapperReference
+
 
+
AnnotationProcessingException - Exception in org.mapstruct.ap.internal.util
+
+
Indicates an error during annotation processing.
+
+
AnnotationProcessingException(String) - Constructor for exception org.mapstruct.ap.internal.util.AnnotationProcessingException
+
 
+
AnnotationProcessingException(String, Element) - Constructor for exception org.mapstruct.ap.internal.util.AnnotationProcessingException
+
 
+
AnnotationProcessingException(String, Element, AnnotationMirror) - Constructor for exception org.mapstruct.ap.internal.util.AnnotationProcessingException
+
 
+
AnnotationProcessingException(String, Element, AnnotationMirror, AnnotationValue) - Constructor for exception org.mapstruct.ap.internal.util.AnnotationProcessingException
+
 
+
AnnotationProcessorContext - Class in org.mapstruct.ap.internal.util
+
+
Keeps contextual data in the scope of the entire annotation processor ("application scope").
+
+
AnnotationProcessorContext(Elements, Types, Messager, boolean, boolean, Map<String, String>) - Constructor for class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
ANY_REMAINING - Static variable in class org.mapstruct.MappingConstants
+
+
In an ValueMapping this represents any source that is not already mapped by either a defined mapping or + by means of name based mapping.
+
+
ANY_UNMAPPED - Static variable in class org.mapstruct.MappingConstants
+
+
In an ValueMapping this represents any source that is not already mapped by a defined mapping.
+
+
apply(T) - Method in interface org.mapstruct.ap.internal.util.Extractor
+
+
Extract a value from the passed parameter.
+
+
applyIgnoreAll(SourceMethod, TypeFactory, FormattingMessager) - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
applyInheritedOptions(SourceMethod, SourceMethod, boolean, AnnotationMirror) - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
+
Merges in all the mapping options configured, giving the already defined options precedence.
+
+
ArrayCopyWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Decorates the assignment as a Map or Collection constructor
+
+
ArrayCopyWrapper(Assignment, String, Type, Type, boolean, boolean, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper
+
 
+
asElement(TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
asImmutableElement(TypeElement) - Method in class org.mapstruct.ap.spi.ImmutablesBuilderProvider
+
 
+
asMemberOf(DeclaredType, Element) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
asRawType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
removes any bounds from this type.
+
+
asSet(Collection<T>, Collection<T>...) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
asSet(Collection<T>, T...) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
asSet(T...) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
assignment(Assignment) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
Assignment - Interface in org.mapstruct.ap.internal.model.common
+
+
Assignment represents all kind of manners a source can be assigned to a target.
+
+
Assignment.AssignmentType - Enum in org.mapstruct.ap.internal.model.common
+
 
+
AssignmentWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Base class for decorators (wrappers).
+
+
AssignmentWrapper(Assignment, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
AstModifyingAnnotationProcessor - Interface in org.mapstruct.ap.spi
+
+
A contract to be implemented by other annotation processors which - against the design philosophy of JSR 269 - alter + the types under compilation.
+
+
authors() - Method in annotation type org.mapstruct.Javadoc
+
+
List of authors of the code that it is being documented.
+
+
authors(List) - Method in class org.mapstruct.ap.internal.model.Javadoc.Builder
+
 
+
AUTO_INHERIT_ALL_FROM_CONFIG - org.mapstruct.MappingInheritanceStrategy
+
+
Inherit the method-level forward and reverse configuration annotations automatically if source and target types + of the prototype method are assignable from the types of a given mapping method.
+
+
AUTO_INHERIT_FROM_CONFIG - org.mapstruct.MappingInheritanceStrategy
+
+
Inherit the method-level forward configuration annotations automatically if source and target types of the + prototype method are assignable from the types of a given mapping method.
+
+
AUTO_INHERIT_REVERSE_FROM_CONFIG - org.mapstruct.MappingInheritanceStrategy
+
+
Inherit the method-level reverse configuration annotations automatically if source and target types of the + prototype method are assignable from the target and source types of a given mapping method.
+
+
+ + + +

B

+
+
BeanMapping - Annotation Type in org.mapstruct
+
+
Configures the mapping between two bean types.
+
+
BEANMAPPING_ABSTRACT - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_CREATE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_CYCLE_BETWEEN_PROPERTIES - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_IGNORE_BY_DEFAULT_WITH_MAPPING_TARGET_THIS - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_MISSING_IGNORED_SOURCES_ERROR - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_NO_ELEMENTS - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_NOT_ASSIGNABLE - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_PROPERTY_HAS_NO_WRITE_ACCESSOR_IN_RESULTTYPE - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_PROPERTY_HAS_NO_WRITE_ACCESSOR_IN_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_SEVERAL_POSSIBLE_SOURCES - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_SEVERAL_POSSIBLE_TARGET_ACCESSORS - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNKNOWN_PROPERTY_IN_DEPENDS_ON - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNKNOWN_PROPERTY_IN_RESULTTYPE - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNKNOWN_PROPERTY_IN_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNMAPPED_FORGED_TARGETS_ERROR - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNMAPPED_FORGED_TARGETS_WARNING - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNMAPPED_SOURCES_ERROR - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNMAPPED_SOURCES_WARNING - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNMAPPED_TARGETS_ERROR - org.mapstruct.ap.internal.util.Message
+
 
+
BEANMAPPING_UNMAPPED_TARGETS_WARNING - org.mapstruct.ap.internal.util.Message
+
 
+
BeanMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A MappingMethod implemented by a Mapper class which maps one bean type to another, optionally + configured by one or more PropertyMappings.
+
+
BeanMappingMethod.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
BeanMappingOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Represents an bean mapping as configured via @BeanMapping.
+
+
BeforeMapping - Annotation Type in org.mapstruct
+
+
Marks a method to be invoked at the beginning of a generated mapping method.
+
+
beforeMappingMethods(Method, Type, SelectionParameters, MappingBuilderContext, Set<String>) - Static method in class org.mapstruct.ap.internal.model.LifecycleMethodResolver
+
 
+
beforeMappingMethods(Method, SelectionParameters, MappingBuilderContext, Set<String>) - Static method in class org.mapstruct.ap.internal.model.LifecycleMethodResolver
+
 
+
bigDecimal(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for BigDecimal.
+
+
BigDecimalToBigIntegerConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between BigDecimal and BigInteger.
+
+
BigDecimalToBigIntegerConversion() - Constructor for class org.mapstruct.ap.internal.conversion.BigDecimalToBigIntegerConversion
+
 
+
BigDecimalToPrimitiveConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between BigDecimal and native number types.
+
+
BigDecimalToPrimitiveConversion(Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.BigDecimalToPrimitiveConversion
+
 
+
BigDecimalToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between BigDecimal and String.
+
+
BigDecimalToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion
+
 
+
BigDecimalToWrapperConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between BigDecimal and wrappers of native number types.
+
+
BigDecimalToWrapperConversion(Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.BigDecimalToWrapperConversion
+
 
+
bigInteger(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for BigInteger.
+
+
BigIntegerToPrimitiveConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between BigInteger and native number types.
+
+
BigIntegerToPrimitiveConversion(Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.BigIntegerToPrimitiveConversion
+
 
+
BigIntegerToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between BigInteger and String.
+
+
BigIntegerToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion
+
 
+
BigIntegerToWrapperConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between BigInteger and wrappers of native number types.
+
+
BigIntegerToWrapperConversion(Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.BigIntegerToWrapperConversion
+
 
+
BOOLEAN - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
booleans() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
boxedClass(PrimitiveType) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromSourceReference
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder
+
+
Builds the analyzer and triggers traversal of all nodes for detecting potential cycles and calculates the + full list of descendants of each node.
+
+
build() - Method in class org.mapstruct.ap.internal.model.Javadoc.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.PropertyMapping.JavaExpressionMappingBuilder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
build() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.Builder
+
 
+
build() - Method in class org.mapstruct.ap.spi.BuilderInfo.Builder
+
+
Create the BuilderInfo.
+
+
builder() - Static method in class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer
+
 
+
builder() - Static method in class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods
+
 
+
builder() - Method in annotation type org.mapstruct.BeanMapping
+
+
The information that should be used for the builder mappings.
+
+
builder() - Method in annotation type org.mapstruct.Mapper
+
+
The information that should be used for the builder mappings.
+
+
builder() - Method in annotation type org.mapstruct.MapperConfig
+
+
The information that should be used for the builder mappings.
+
+
Builder - Annotation Type in org.mapstruct
+
+
Configuration of builders, e.g. the name of the final build method.
+
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.IterableMappingMethod.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.Javadoc.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.MapMappingMethod.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.StreamMappingMethod.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.internal.model.ValueMappingMethod.Builder
+
 
+
Builder() - Constructor for class org.mapstruct.ap.spi.BuilderInfo.Builder
+
 
+
BUILDER_MORE_THAN_ONE_BUILDER_CREATION_METHOD - org.mapstruct.ap.internal.util.Message
+
 
+
BUILDER_NO_BUILD_METHOD_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
BUILDER_NO_BUILD_METHOD_FOUND_DEFAULT - org.mapstruct.ap.internal.util.Message
+
 
+
builderCreationMethod(ExecutableElement) - Method in class org.mapstruct.ap.spi.BuilderInfo.Builder
+
 
+
BuilderFinisherMethodResolver - Class in org.mapstruct.ap.internal.model
+
 
+
BuilderFromMapping() - Constructor for class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
+
 
+
BuilderFromProperty() - Constructor for class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
+
 
+
BuilderFromSourceReference() - Constructor for class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromSourceReference
+
 
+
BuilderInfo - Class in org.mapstruct.ap.spi
+
+
Holder for the builder information.
+
+
BuilderInfo.Builder - Class in org.mapstruct.ap.spi
+
 
+
BuilderProvider - Interface in org.mapstruct.ap.spi
+
+
A service provider interface that is used to detect types that require a builder for mapping.
+
+
BuilderType - Class in org.mapstruct.ap.internal.model.common
+
 
+
builderTypeFor(Type, BuilderGem) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
buildMethod() - Method in annotation type org.mapstruct.Builder
+
+
The name of the build method that needs to be invoked on the builder to create the type to be build
+
+
buildMethod(Collection<ExecutableElement>) - Method in class org.mapstruct.ap.spi.BuilderInfo.Builder
+
 
+
BUILT_IN_CONVERSION - org.mapstruct.control.MappingControl.Use
+
+
Controls the mapping, allows for type conversion from source type to target type
+
+
BuiltInMappingMethods - Class in org.mapstruct.ap.internal.model.source.builtin
+
+
Registry for all built-in methods.
+
+
BuiltInMappingMethods(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.BuiltInMappingMethods
+
 
+
BuiltInMethod - Class in org.mapstruct.ap.internal.model.source.builtin
+
+
Represents a "built-in" mapping method which will be added as private method to the generated mapper.
+
+
BuiltInMethod() - Constructor for class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
BYTE - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
bytes() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
+ + + +

C

+
+
CalendarToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
CalendarToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.CalendarToXmlGregorianCalendar
+
 
+
CalendarToZonedDateTime - Class in org.mapstruct.ap.internal.model.source.builtin
+
+
BuiltInMethod for mapping between Calendar and ZonedDateTime.
+
+
callingContextTargetPropertyName(String) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
canAccess(Type, ExecutableElement) - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
canGenerateAutoSubMappingBetween(Type, Type) - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
canInheritFrom(SourceMethod) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
canInverse() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
+
mapping can only be inversed if the source was not a constant nor an expression nor a nested property + and the mapping is not a 'target-source-ignore' mapping
+
+
capitalize(String) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
capture(TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
CASE_TRANSFORMATION - Static variable in class org.mapstruct.MappingConstants
+
+
In an EnumMapping this represent the enum transformation strategy that applies case transformation + at the source.
+
+
CaseEnumTransformationStrategy - Class in org.mapstruct.ap.spi
+
+
Applies case transformation to the source enum
+
+
CaseEnumTransformationStrategy() - Constructor for class org.mapstruct.ap.spi.CaseEnumTransformationStrategy
+
 
+
CDI - Static variable in class org.mapstruct.MappingConstants.ComponentModel
+
+
The generated mapper is an application-scoped CDI bean and can be retrieved via @Inject.
+
+
CdiComponentProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which converts the given Mapper + object into an application-scoped CDI bean in case CDI is configured as the + target component model for this mapper.
+
+
CdiComponentProcessor() - Constructor for class org.mapstruct.ap.internal.processor.CdiComponentProcessor
+
 
+
CHARACTER - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
chars() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
CharToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between char and String.
+
+
CharToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.CharToStringConversion
+
 
+
CharWrapperToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between Character and String.
+
+
CharWrapperToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.CharWrapperToStringConversion
+
 
+
CLASS - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
classes() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
classTypeOf(Type) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
+
Returns the Type that represents the declared Class type of the given type.
+
+
CollectionAssignmentBuilder - Class in org.mapstruct.ap.internal.model
+
+
A builder that is used for creating an assignment to a collection.
+
+
CollectionAssignmentBuilder() - Constructor for class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
collectionMappingStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
The strategy to be applied when propagating the value of collection-typed properties.
+
+
collectionMappingStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
The strategy to be applied when propagating the value of collection-typed properties.
+
+
CollectionMappingStrategy - Enum in org.mapstruct
+
+
Strategy for propagating the value of collection-typed properties from source to target.
+
+
Collections - Class in org.mapstruct.ap.internal.util
+
+
Provides utility methods around collections.
+
+
collectNestedDependsOn() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
compareTo(Type) - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
COMPILE_ERROR - org.mapstruct.SubclassExhaustiveStrategy
+
+
If there is no valid constructor or known method to create the return value of a with `@SubclassMapping` + annotated mapping then a compilation error will be thrown.
+
+
COMPLEX_MAPPING - org.mapstruct.control.MappingControl.Use
+
+
Controls the mapping from source to target type, allows mapping by calling: + + A type conversion, passed into a mapping method + A mapping method, passed into a type conversion + A mapping method passed into another mapping method +
+
+
componentModel() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
componentModel() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
componentModel() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
componentModel() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
componentModel() - Method in annotation type org.mapstruct.Mapper
+
+
Specifies the component model to which the generated mapper should + adhere.
+
+
componentModel() - Method in annotation type org.mapstruct.MapperConfig
+
+
Specifies the component model to which the generated mapper should + adhere.
+
+
Condition - Annotation Type in org.mapstruct
+
+
This annotation marks a method as a presence check method to check check for presence in beans.
+
+
conditionExpression() - Method in annotation type org.mapstruct.Mapping
+
+
A conditionExpression String based on which the specified property is to be checked + whether it is present or not.
+
+
conditionJavaExpression(String) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
conditionQualifiedBy() - Method in annotation type org.mapstruct.Mapping
+
+
A qualifier can be specified to aid the selection process of a suitable presence check method.
+
+
conditionQualifiedByName() - Method in annotation type org.mapstruct.Mapping
+
+
String-based form of qualifiers for condition / presence check methods; + When looking for a suitable presence check method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names.
+
+
config() - Method in annotation type org.mapstruct.Mapper
+
+
A class annotated with MapperConfig which should be used as configuration template.
+
+
CONFIG_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
configuration() - Method in annotation type org.mapstruct.EnumMapping
+
+
The configuration that should be passed on the appropriate name transformation strategy.
+
+
constant() - Method in annotation type org.mapstruct.Mapping
+
+
A constant String based on which the specified target property is to be set.
+
+
constantExpression(String) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder
+
 
+
CONSTANTMAPPING_MAPPING_NOT_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
CONSTANTMAPPING_MAPPING_NOT_FOUND_WITH_DETAILS - org.mapstruct.ap.internal.util.Message
+
 
+
CONSTANTMAPPING_NO_READ_ACCESSOR_FOR_TARGET_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
CONSTANTMAPPING_NON_EXISTING_CONSTANT - org.mapstruct.ap.internal.util.Message
+
 
+
Constructor - Interface in org.mapstruct.ap.internal.model
+
+
Basic interface class that facilitates an empty constructor.
+
+
CONSTRUCTOR - org.mapstruct.InjectionStrategy
+
+
Annotations are written on the constructor
+
+
ConstructorFragment - Interface in org.mapstruct.ap.internal.model.common
+
+
ConstructorFragments are 'code snippets' added to the constructor to initialize fields used by + BuiltInMethod/HelperMethod
+
+
constructorFragments(Set<SupportingConstructorFragment>) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
constructorPropertyMappingsByParameter(Parameter) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
ContainerMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A MappingMethod implemented by a Mapper class which does mapping of generic types.
+
+
ContainerMappingMethodBuilder<B extends ContainerMappingMethodBuilder<B,​M>,​M extends ContainerMappingMethod> - Class in org.mapstruct.ap.internal.model
+
+
Builder that can be used to build ContainerMappingMethod(s).
+
+
contains(TypeMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
contains(TypeMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.util.EclipseTypeUtilsDecorator
+
 
+
containsTargetTypeParameter(List<Parameter>) - Static method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
Context - Annotation Type in org.mapstruct
+
+
Marks a parameter of a method to be treated as mapping context.
+
+
CONVERSION_LOSSY_ERROR - org.mapstruct.ap.internal.util.Message
+
 
+
CONVERSION_LOSSY_WARNING - org.mapstruct.ap.internal.util.Message
+
 
+
ConversionContext - Interface in org.mapstruct.ap.internal.model.common
+
+
Context object passed to conversion providers and built-in methods.
+
+
ConversionProvider - Interface in org.mapstruct.ap.internal.conversion
+
+
Implementations create inline TypeConversions such as + + + (long)source, + Integer.valueOf(source) or + new SimpleDateFormat().format( source ). +
+
+
Conversions - Class in org.mapstruct.ap.internal.conversion
+
+
Holds built-in ConversionProviders such as from int to String.
+
+
Conversions(TypeFactory) - Constructor for class org.mapstruct.ap.internal.conversion.Conversions
+
 
+
ConversionUtils - Class in org.mapstruct.ap.internal.conversion
+
+
Methods mainly used in SimpleConversion classes, e. g.
+
+
copyForForwardInheritance(SourceMethod, BeanMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
+
Creates a copy of this mapping
+
+
copyForInheritance(Set<SubclassMappingOptions>, BeanMappingOptions) - Static method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
copyForInverseInheritance(Set<SubclassMappingOptions>, BeanMappingOptions) - Static method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
copyForInverseInheritance(SourceMethod, BeanMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
create(ProcessingEnvironment, VersionInformation) - Static method in interface org.mapstruct.ap.internal.util.TypeUtils
+
 
+
create(ProcessingEnvironment, VersionInformation, TypeElement) - Static method in interface org.mapstruct.ap.internal.util.ElementUtils
+
 
+
create(NormalTypeMappingMethod, Parameter) - Static method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
create(BuilderInfo, Type, TypeFactory, TypeUtils) - Static method in class org.mapstruct.ap.internal.model.common.BuilderType
+
 
+
CreateDecimalFormat - Class in org.mapstruct.ap.internal.conversion
+
+
HelperMethod that creates a DecimalFormat + + DecimalFormat df = new DecimalFormat( numberFormat ) + with setParseBigDecimal set to true.
+
+
CreateDecimalFormat(TypeFactory) - Constructor for class org.mapstruct.ap.internal.conversion.CreateDecimalFormat
+
 
+
createNew(Type) - Method in class org.mapstruct.ap.internal.model.common.ImplementationType
+
+ +
+
CreateOrUpdateSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
Selection based on type of method (create - or update method).
+
+
CreateOrUpdateSelector() - Constructor for class org.mapstruct.ap.internal.model.source.selector.CreateOrUpdateSelector
+
 
+
createReferenceName() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Returns a String that could be used in generated code to reference to this Type.
+
+
createSourcePropertyErrorMessage() - Method in class org.mapstruct.ap.internal.model.ForgedMethodHistory
+
 
+
createTargetPropertyName() - Method in class org.mapstruct.ap.internal.model.ForgedMethodHistory
+
 
+
createUniqueVarName(String) - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
createUniqueVarName(String) - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
Creates an unique safe (local) variable name.
+
+
createUniqueVarName(String) - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
createUniqueVarName(String) - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
createUniqueVarName(String) - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
createVoidType() - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
+
creates a void return type
+
+
currency(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for Currency.
+
+
CurrencyToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
 
+
CurrencyToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.CurrencyToStringConversion
+
 
+
+ + + +

D

+
+
date(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for Date.
+
+
DATE_TIME_FORMAT - Static variable in class org.mapstruct.ap.internal.util.JodaTimeConstants
+
 
+
DATE_TIME_FORMAT_FQN - Static variable in class org.mapstruct.ap.internal.util.JodaTimeConstants
+
 
+
DATE_TIME_FQN - Static variable in class org.mapstruct.ap.internal.util.JodaTimeConstants
+
 
+
DATE_TIME_ZONE_FQN - Static variable in class org.mapstruct.ap.internal.util.JodaTimeConstants
+
 
+
dateFormat() - Method in annotation type org.mapstruct.IterableMapping
+
+
A format string as processable by SimpleDateFormat if the annotated method maps from an iterable of + String to an iterable Date or vice-versa.
+
+
dateFormat() - Method in annotation type org.mapstruct.Mapping
+
+
A format string as processable by SimpleDateFormat if the attribute is mapped from String to + Date or vice-versa.
+
+
dateTimeFormat(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for org.joda.time.format.DateTimeFormat.
+
+
dateTimeFormatter(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+ +
+
DateToSqlDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between Date and Date.
+
+
DateToSqlDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.DateToSqlDateConversion
+
 
+
DateToSqlTimeConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between Date and Time.
+
+
DateToSqlTimeConversion() - Constructor for class org.mapstruct.ap.internal.conversion.DateToSqlTimeConversion
+
 
+
DateToSqlTimestampConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between Date and Timestamp.
+
+
DateToSqlTimestampConversion() - Constructor for class org.mapstruct.ap.internal.conversion.DateToSqlTimestampConversion
+
 
+
DateToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between String and Date.
+
+
DateToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.DateToStringConversion
+
 
+
DateToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
DateToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.DateToXmlGregorianCalendar
+
 
+
decapitalize(String) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
decapitalize(String) - Static method in class org.mapstruct.ap.spi.util.IntrospectorUtils
+
+
Utility method to take a string and convert it to normal Java variable + name capitalization.
+
+
decimalFormat(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for DecimalFormat.
+
+
decoratedWith(DecoratedWithGem) - Method in class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
DecoratedWith - Annotation Type in org.mapstruct
+
+
Specifies a decorator to be applied to a generated mapper, which e.g. can be used to amend mappings performed by + generated mapping methods.
+
+
decorator(Decorator) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
Decorator - Class in org.mapstruct.ap.internal.model
+
+
Represents a decorator applied to a generated mapper type.
+
+
DECORATOR_CONSTRUCTOR - org.mapstruct.ap.internal.util.Message
+
 
+
DECORATOR_NO_SUBTYPE - org.mapstruct.ap.internal.util.Message
+
 
+
Decorator.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
DecoratorConstructor - Class in org.mapstruct.ap.internal.model
+
+
Represents the constructor of a decorator.
+
+
DecoratorConstructor(String, String, boolean) - Constructor for class org.mapstruct.ap.internal.model.DecoratorConstructor
+
 
+
DeepClone - Annotation Type in org.mapstruct.control
+
+
Clones a source type to a target type (assuming source and target are of the same type).
+
+
DEFAULT - org.mapstruct.ap.internal.model.common.Accessibility
+
 
+
DEFAULT - Static variable in class org.mapstruct.MappingConstants.ComponentModel
+
+
The mapper uses no component model, instances are typically retrieved + via Mappers.getMapper(java.lang.Class)
+
+
DEFAULT_COMPONENT_MODEL - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
DEFAULT_INJECTION_STRATEGY - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
DefaultAccessorNamingStrategy - Class in org.mapstruct.ap.spi
+
+
The default JavaBeans-compliant implementation of the AccessorNamingStrategy service provider interface.
+
+
DefaultAccessorNamingStrategy() - Constructor for class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
 
+
DefaultBuilderProvider - Class in org.mapstruct.ap.spi
+
+
Default implementation of BuilderProvider.
+
+
DefaultBuilderProvider() - Constructor for class org.mapstruct.ap.spi.DefaultBuilderProvider
+
 
+
DefaultConversionContext - Class in org.mapstruct.ap.internal.model.common
+
+
Default implementation of the ConversionContext passed to conversion providers.
+
+
DefaultConversionContext(TypeFactory, FormattingMessager, Type, Type, FormattingParameters) - Constructor for class org.mapstruct.ap.internal.model.common.DefaultConversionContext
+
 
+
DefaultEnumMappingStrategy - Class in org.mapstruct.ap.spi
+
 
+
DefaultEnumMappingStrategy() - Constructor for class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
defaultExpression() - Method in annotation type org.mapstruct.Mapping
+
+
A defaultExpression String based on which the specified target property is to be set + if and only if the specified source property is null.
+
+
defaultFormatterSuffix() - Method in class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion
+
 
+
defaultFormatterSuffix() - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToStringConversion
+
 
+
defaultFormatterSuffix() - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToStringConversion
+
 
+
defaultFormatterSuffix() - Method in class org.mapstruct.ap.internal.conversion.JavaLocalTimeToStringConversion
+
 
+
defaultFormatterSuffix() - Method in class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToStringConversion
+
 
+
defaultJavaExpression(String) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
DefaultMapperReference - Class in org.mapstruct.ap.internal.model
+
+
Mapper reference which is retrieved via the Mappers#getMapper() method.
+
+
DefaultModelElementProcessorContext - Class in org.mapstruct.ap.internal.processor
+
+
Default implementation of the processor context.
+
+
DefaultModelElementProcessorContext(ProcessingEnvironment, Options, RoundContext, Map<String, String>, TypeElement) - Constructor for class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
DefaultOptions - Class in org.mapstruct.ap.internal.model.source
+
 
+
defaultValue() - Method in annotation type org.mapstruct.Mapping
+
+
In case the source property is null, the provided default String value is set.
+
+
defaultValue(String) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
DefaultVersionInformation - Class in org.mapstruct.ap.internal.processor
+
+
Provides information about the processor version and the processor context implementation version.
+
+
delegate - Variable in class org.mapstruct.ap.internal.util.accessor.DelegateAccessor
+
 
+
DelegateAccessor - Class in org.mapstruct.ap.internal.util.accessor
+
 
+
DelegateAccessor(Accessor) - Constructor for class org.mapstruct.ap.internal.util.accessor.DelegateAccessor
+
 
+
DelegatingMethod - Class in org.mapstruct.ap.internal.model
+
+
A method of a decorator which delegates to the corresponding method of the generated mapper implementation.
+
+
DelegatingMethod(Method) - Constructor for class org.mapstruct.ap.internal.model.DelegatingMethod
+
 
+
DelegatingOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Chain Of Responsibility Pattern.
+
+
DelegatingOptions(DelegatingOptions) - Constructor for class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
dependsOn() - Method in annotation type org.mapstruct.Mapping
+
+
One or more properties of the result type on which the mapped property depends.
+
+
deprecated() - Method in annotation type org.mapstruct.Javadoc
+
+
Specifies that the functionality that is being documented is deprecated.
+
+
deprecated(String) - Method in class org.mapstruct.ap.internal.model.Javadoc.Builder
+
 
+
describe() - Method in class org.mapstruct.ap.internal.conversion.CreateDecimalFormat
+
 
+
describe() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
describe() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
describe() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
describe() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
describe() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
describe() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
determineTypeArguments(Class<?>) - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Searches for the given superclass and collects all type arguments for the given class
+
+
DIRECT - org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
assignment is direct
+
+
DIRECT - org.mapstruct.control.MappingControl.Use
+
+
Controls the mapping, allows for a direct mapping from source type to target type.
+
+
directSupertypes(TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
DISABLE_BUILDERS - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
disableBuilder() - Method in annotation type org.mapstruct.Builder
+
+
Toggling builders on / off.
+
+
disableSubMappingMethodsGeneration() - Method in annotation type org.mapstruct.Mapper
+
+
If MapStruct could not find another mapping method or apply an automatic conversion it will try to generate a + sub-mapping method between the two beans.
+
+
disableSubMappingMethodsGeneration() - Method in annotation type org.mapstruct.MapperConfig
+
+
If MapStruct could not find another mapping method or apply an automatic conversion it will try to generate a + sub-mapping method between the two beans.
+
+
distanceTo(Type) - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Returns the length of the shortest path in the type hierarchy between this type and the specified other type.
+
+
doTypeVarsMatch(Type, Type) - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
Analyzes the Java Generic type variables in the parameter do match the type variables in the build in method same + goes for the returnType.
+
+
doTypeVarsMatch(Type, Type) - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
Analyzes the Java Generic type variables in the parameter do match the type variables in the build in method same + goes for the returnType.
+
+
DOUBLE - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
doubles() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
+ + + +

E

+
+
EclipseElementUtilsDecorator - Class in org.mapstruct.ap.internal.util
+
 
+
EclipseTypeUtilsDecorator - Class in org.mapstruct.ap.internal.util
+
 
+
effectiveResultTypeFor(Type, BuilderGem) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
element(TypeElement) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
elementMappingControl() - Method in annotation type org.mapstruct.IterableMapping
+
+
Allows detailed control over the mapping process.
+
+
elements() - Method in annotation type org.mapstruct.AnnotateWith
+
 
+
elementTargetType() - Method in annotation type org.mapstruct.IterableMapping
+
+
Specifies the type of the element to be used in the result of the mapping method in case multiple mapping + methods qualify.
+
+
elementUtils - Variable in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
elementUtils - Variable in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
 
+
elementUtils - Variable in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
 
+
elementUtils - Variable in class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
elementUtils(ElementUtils) - Method in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
ElementUtils - Interface in org.mapstruct.ap.internal.util
+
 
+
empty() - Static method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
empty() - Static method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
+
creates empty mapping options
+
+
empty() - Static method in class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods
+
 
+
empty(DelegatingOptions) - Static method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
EMPTY - Static variable in class org.mapstruct.ap.internal.model.common.FormattingParameters
+
 
+
ENUM - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
EnumAnnotationElementHolder - Class in org.mapstruct.ap.internal.model.annotation
+
 
+
EnumAnnotationElementHolder(Type, String) - Constructor for class org.mapstruct.ap.internal.model.annotation.EnumAnnotationElementHolder
+
 
+
enumClass() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
only used in conjunction with the AnnotateWith.Element.enums() annotation element.
+
+
EnumConstantWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
 
+
EnumConstantWrapper(Assignment, Type) - Constructor for class org.mapstruct.ap.internal.model.assignment.EnumConstantWrapper
+
 
+
enumMapping(EnumMappingOptions) - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.Builder
+
 
+
EnumMapping - Annotation Type in org.mapstruct
+
+
Configured the mapping between two value types.
+
+
ENUMMAPPING_ILLEGAL_TRANSFORMATION - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_INCORRECT_TRANSFORMATION_STRATEGY - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_MISSING_CONFIGURATION - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_MULTIPLE_SOURCES - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_NO_ELEMENTS - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_NON_EXISTING_CONSTANT - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_REMOVED - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_UNDEFINED_SOURCE - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_UNDEFINED_TARGET - org.mapstruct.ap.internal.util.Message
+
 
+
ENUMMAPPING_UNMAPPED_SOURCES - org.mapstruct.ap.internal.util.Message
+
 
+
EnumMappingOptions - Class in org.mapstruct.ap.internal.model.source
+
 
+
EnumMappingStrategy - Interface in org.mapstruct.ap.spi
+
+
A service provider interface for the mapping between different enum constants
+
+
enums() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
EnumStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between String and Enum types.
+
+
EnumStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.EnumStringConversion
+
 
+
EnumToIntegerConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between Enum and Integer types.
+
+
EnumToIntegerConversion() - Constructor for class org.mapstruct.ap.internal.conversion.EnumToIntegerConversion
+
 
+
EnumTransformationStrategy - Interface in org.mapstruct.ap.spi
+
+
A service provider interface for transforming name based value mappings.
+
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.common.NegatePresenceCheck
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.common.Type.ResolvedPair
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.Field
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
equals based on class
+
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
equals based on class
+
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.source.selector.SelectedMethod
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.SubclassMapping
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
equals(Object) - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
erasure() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
erasure(TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
ERROR - org.mapstruct.ReportingPolicy
+
+
A report with Diagnostic.Kind.ERROR will be created for the given issue, + causing the compilation to fail.
+
+
ExecutableElementAccessor - Class in org.mapstruct.ap.internal.util.accessor
+
+
An Accessor that wraps an ExecutableElement.
+
+
ExecutableElementAccessor(ExecutableElement, TypeMirror, AccessorType) - Constructor for class org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor
+
 
+
Executables - Class in org.mapstruct.ap.internal.util
+
+
Provides functionality around ExecutableElements.
+
+
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.mapstruct.ap.internal.writer.ModelIncludeDirective
+
 
+
ExistingInstanceSetterWrapperForCollectionsAndMaps - Class in org.mapstruct.ap.internal.model.assignment
+
+
This wrapper handles the situation where an assignment is done for an update method.
+
+
ExistingInstanceSetterWrapperForCollectionsAndMaps(Assignment, List<Type>, Type, NullValueCheckStrategyGem, NullValuePropertyMappingStrategyGem, TypeFactory, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.ExistingInstanceSetterWrapperForCollectionsAndMaps
+
 
+
existingVariableNames(Set<String>) - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
Experimental - Annotation Type in org.mapstruct.util
+
+
Features that are marked with this annotation are considered experimental.
+
+
EXPLICIT - org.mapstruct.MappingInheritanceStrategy
+
+
Apply the method-level configuration annotations only if the prototype method is explicitly referenced using + InheritConfiguration.
+
+
expression() - Method in annotation type org.mapstruct.Mapping
+
+
An expression String based on which the specified target property is to be set.
+
+
Extractor<T,​R> - Interface in org.mapstruct.ap.internal.util
+
+
This is a helper interface until we migrate to Java 8.
+
+
extraImportedTypes - Variable in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
extraImports(SortedSet<Type>) - Method in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
+ + + +

F

+
+
FactoryParameterSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
For factory methods, the candidate list is checked if it contains a method with a source parameter which is to be + favored compared to factory methods without a source parameter.
+
+
FactoryParameterSelector() - Constructor for class org.mapstruct.ap.internal.model.source.selector.FactoryParameterSelector
+
 
+
FAQ_AMBIGUOUS_URL - Static variable in class org.mapstruct.ap.internal.util.MessageConstants
+
 
+
FAQ_QUALIFIER_URL - Static variable in class org.mapstruct.ap.internal.util.MessageConstants
+
 
+
Field - Class in org.mapstruct.ap.internal.model
+
+
A field of a mapper type, e.g. a reference to another mapper.
+
+
Field(Type, String) - Constructor for class org.mapstruct.ap.internal.model.Field
+
 
+
Field(Type, String, boolean) - Constructor for class org.mapstruct.ap.internal.model.Field
+
 
+
FIELD - org.mapstruct.ap.internal.util.accessor.AccessorType
+
 
+
FIELD - org.mapstruct.InjectionStrategy
+
+
Annotations are written on the field
+
+
fieldAssignment - Variable in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
FieldElementAccessor - Class in org.mapstruct.ap.internal.util.accessor
+
+
An Accessor that wraps a VariableElement.
+
+
FieldElementAccessor(VariableElement) - Constructor for class org.mapstruct.ap.internal.util.accessor.FieldElementAccessor
+
 
+
FieldReference - Interface in org.mapstruct.ap.internal.model.common
+
+
reference used by BuiltInMethod/HelperMethod to create an additional field in the mapper.
+
+
fields(List<Field>) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
Fields - Class in org.mapstruct.ap.internal.util
+
+
Provides functionality around VariableElements.
+
+
fieldsIn(List<VariableElement>, Function<VariableElement, T>) - Method in class org.mapstruct.ap.internal.util.Filters
+
 
+
filterMappingTarget(List<LifecycleCallbackMethodReference>, boolean) - Static method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
Filters - Class in org.mapstruct.ap.internal.util
+
+
Filter methods for working with Element collections.
+
+
Filters(AccessorNamingUtils, TypeUtils, TypeMirror) - Constructor for class org.mapstruct.ap.internal.util.Filters
+
 
+
FinalField - Class in org.mapstruct.ap.internal.model.common
+
+
A mapper instance field, initialized as null
+
+
FinalField(Type, String) - Constructor for class org.mapstruct.ap.internal.model.common.FinalField
+
 
+
findBuilderInfo(TypeElement) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
+
Find the BuilderInfo for the given typeElement.
+
+
findBuilderInfo(TypeElement) - Method in class org.mapstruct.ap.spi.ImmutablesBuilderProvider
+
 
+
findBuilderInfo(TypeMirror) - Method in interface org.mapstruct.ap.spi.BuilderProvider
+
+
Find the builder information, if any, for the type.
+
+
findBuilderInfo(TypeMirror) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
 
+
findBuilderInfo(TypeMirror) - Method in class org.mapstruct.ap.spi.NoOpBuilderProvider
+
 
+
findBuilderInfoForImmutables(TypeElement, TypeElement) - Method in class org.mapstruct.ap.spi.ImmutablesBuilderProvider
+
 
+
findBuildMethods(TypeElement, TypeElement) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
+
Searches for a build method for typeElement within the builderElement.
+
+
findMapperReference(List<MapperReference>, SourceMethod) - Static method in class org.mapstruct.ap.internal.model.MapperReference
+
 
+
findType(String) - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
+
Finds a Type by a given name.
+
+
first(Collection<T>) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
first(Map<K, V>) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
firstKey(Map<K, V>) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
firstValue(Map<K, V>) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
FLOAT - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
floats() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
forBuiltInMethod(BuiltInMethod, ConversionContext) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forceUpdateMethod(boolean) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
+
Force the created mapping to use update methods when forging a method.
+
+
forComponentModels(String, List<AnnotationMapperReference>, List<Annotation>, Constructor, boolean) - Static method in class org.mapstruct.ap.internal.model.AnnotatedConstructor
+
 
+
forConstructorInvocation(Type, List<ParameterBinding>) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forElementAndType(VariableElement, Type, boolean) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
forElementMapping(String, Type, Type, Method, ForgedMethodHistory, boolean) - Static method in class org.mapstruct.ap.internal.model.ForgedMethod
+
+
Creates a new forged method for mapping a collection element, map key/value or stream element
+
+
forFactoryMethods(Method, Type, SelectionParameters, TypeFactory) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
forFactoryMethods(SelectionParameters) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
forForgedMappingTarget(Type) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
forForgedMethod(Method, List<ParameterBinding>) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forForgedMethods(BeanMappingOptions) - Static method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
forgedMethod(ForgedMethod) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
+
 
+
ForgedMethod - Class in org.mapstruct.ap.internal.model
+
+
This method will be generated in absence of a suitable abstract method to implement.
+
+
ForgedMethod(String, ForgedMethod) - Constructor for class org.mapstruct.ap.internal.model.ForgedMethod
+
+
creates a new ForgedMethod with the same arguments but with a new name
+
+
ForgedMethodHistory - Class in org.mapstruct.ap.internal.model
+
+
Keeps the context where the ForgedMethod is generated, especially handy with nested forged methods
+
+
ForgedMethodHistory(ForgedMethodHistory, String, String, Type, Type, boolean, String) - Constructor for class org.mapstruct.ap.internal.model.ForgedMethodHistory
+
 
+
forgedNamedBased(boolean) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
forgeMethodWithMappingReferences(MappingReferences) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
forIgnore(String) - Static method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
forInheritance(BeanMappingOptions, boolean) - Static method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
+
creates a mapping for inheritance.
+
+
forInheritance(SelectionParameters) - Static method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
+
Returns new selection parameters + + ResultType is not inherited.
+
+
forLifecycleMethods(Method, Type, SelectionParameters, TypeFactory) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
forLifecycleMethods(SelectionParameters) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
forMapperReference(Method, MapperReference, List<ParameterBinding>) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forMappingMethods(Method, Type, Type, SelectionCriteria, TypeFactory) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
forMappingMethods(SelectionParameters, MappingControl, String, boolean) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
forMappingTargetBinding(Type) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
formatStyle() - Method in class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
+
 
+
formatStyle() - Method in class org.mapstruct.ap.internal.conversion.JodaDateTimeToStringConversion
+
 
+
formatStyle() - Method in class org.mapstruct.ap.internal.conversion.JodaLocalDateTimeToStringConversion
+
 
+
formatStyle() - Method in class org.mapstruct.ap.internal.conversion.JodaLocalDateToStringConversion
+
 
+
formatStyle() - Method in class org.mapstruct.ap.internal.conversion.JodaLocalTimeToStringConversion
+
 
+
FormattingMessager - Interface in org.mapstruct.ap.internal.util
+
+
Prints out diagnostics raised by the annotation processor.
+
+
formattingParameters(FormattingParameters) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
formattingParameters(FormattingParameters) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder
+
 
+
formattingParameters(FormattingParameters) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
FormattingParameters - Class in org.mapstruct.ap.internal.model.common
+
 
+
FormattingParameters(String, String, AnnotationMirror, AnnotationValue, Element) - Constructor for class org.mapstruct.ap.internal.model.common.FormattingParameters
+
 
+
forMethodCall(String) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forMethodChaining(MethodReference...) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forMethodReference(SelectedMethod<SourceMethod>, MapperReference, Method, Set<String>) - Static method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
 
+
forParameterMapping(String, Type, Type, Method) - Static method in class org.mapstruct.ap.internal.model.ForgedMethod
+
+
Creates a new forged method with the given name for mapping a method parameter to a property.
+
+
forParameterProvidedMethod(Method, Parameter, List<ParameterBinding>) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forParameterProvidedMethod(SelectedMethod<SourceMethod>, Parameter, Method, Set<String>) - Static method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
 
+
forPresenceCheckMethods(Method, SelectionParameters, TypeFactory) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
forPresenceCheckMethods(SelectionParameters) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
forPropertyMapping(String, Type, Type, List<Parameter>, Method, ForgedMethodHistory, MappingReferences, boolean) - Static method in class org.mapstruct.ap.internal.model.ForgedMethod
+
+
Creates a new forged method for mapping a bean property to a property
+
+
forSourceMethod(SourceMethod, Type, Set<String>, FormattingMessager, TypeFactory) - Static method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
forSourceReference(String[], ReadAccessor, PresenceCheckAccessor, Type) - Static method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
+
Constructor used to create SourceReference property entries from a mapping
+
+
forSourceRHS(SourceRHS) - Static method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
forSourceTypeBinding(Type) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
forStaticBuilder(String, Type) - Static method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
forSubclassMapping(String, Type, Type, Method, MappingReferences, ForgedMethodHistory, boolean) - Static method in class org.mapstruct.ap.internal.model.ForgedMethod
+
+
Creates a new forged method for mapping a SubclassMapping element
+
+
forSubclassMappingMethods(SelectionParameters, MappingControl) - Static method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
forTargetPropertyNameBinding(Type) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
forTargetTypeBinding(Type) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
FREE_BUILDER_FQN - Static variable in class org.mapstruct.ap.internal.util.FreeBuilderConstants
+
 
+
FreeBuilderAccessorNamingStrategy - Class in org.mapstruct.ap.spi
+
+
Accessor naming strategy for FreeBuilder.
+
+
FreeBuilderAccessorNamingStrategy() - Constructor for class org.mapstruct.ap.spi.FreeBuilderAccessorNamingStrategy
+
 
+
FreeBuilderConstants - Class in org.mapstruct.ap.internal.util
+
+
Helper for holding FreeBuilder FQN.
+
+
FreeMarkerModelElementWriter - Class in org.mapstruct.ap.internal.writer
+
+
Delegate for writing given Writables into a Writer using + FreeMarker templates.
+
+
FreeMarkerModelElementWriter() - Constructor for class org.mapstruct.ap.internal.writer.FreeMarkerModelElementWriter
+
 
+
FreeMarkerWritable - Class in org.mapstruct.ap.internal.writer
+
+
A Writable which uses the FreeMarker template engine to generate the output.
+
+
FreeMarkerWritable() - Constructor for class org.mapstruct.ap.internal.writer.FreeMarkerWritable
+
 
+
from(ConversionContext) - Method in interface org.mapstruct.ap.internal.conversion.ConversionProvider
+
+
Creates the conversion from target to source of a property mapping.
+
+
from(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToStringConversion
+
 
+
from(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.ReverseConversion
+
 
+
from(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
 
+
fromField(VariableElement) - Static method in interface org.mapstruct.ap.internal.util.accessor.ReadAccessor
+
 
+
fromGem(IterableMappingGem, MapperOptions, ExecutableElement, FormattingMessager, TypeUtils) - Static method in class org.mapstruct.ap.internal.model.source.IterableMappingOptions
+
 
+
fromGem(MapMappingGem, MapperOptions, ExecutableElement, FormattingMessager, TypeUtils) - Static method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
fromGetter(ExecutableElement, TypeMirror) - Static method in interface org.mapstruct.ap.internal.util.accessor.ReadAccessor
+
 
+
fromMappingGem(ValueMappingGem) - Static method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
fromMappingsGem(ValueMappingsGem, ExecutableElement, FormattingMessager, Set<ValueMappingOptions>) - Static method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
fromModifiers(Set<Modifier>) - Static method in enum org.mapstruct.ap.internal.model.common.Accessibility
+
 
+
fromParameter(Parameter) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
fromParameters(List<Parameter>) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
fromSourceRHS(SourceRHS) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
fromTypeAndName(Type, String) - Static method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
fromTypeMirror(TypeMirror, ElementUtils) - Static method in class org.mapstruct.ap.internal.model.source.MappingControl
+
 
+
+ + + +

G

+
+
GENERAL_ABSTRACT_RETURN_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_AMBIGUOUS_CONSTRUCTORS - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_AMBIGUOUS_FACTORY_METHOD - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_AMBIGUOUS_MAPPING_CONVERSIONY_METHODX - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_AMBIGUOUS_MAPPING_METHOD - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_AMBIGUOUS_MAPPING_METHODY_CONVERSIONX - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_AMBIGUOUS_MAPPING_METHODY_METHODX - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_AMBIGUOUS_PRESENCE_CHECK_METHOD - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_CANNOT_IMPLEMENT_PRIVATE_MAPPER - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_CONSTRUCTOR_PROPERTIES_NOT_MATCHING_PARAMETERS - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_INVALID_DATE - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_JODA_NOT_ON_CLASSPATH - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_NO_IMPLEMENTATION - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_NO_QUALIFYING_METHOD_ANNOTATION - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_NO_QUALIFYING_METHOD_COMBINED - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_NO_QUALIFYING_METHOD_NAMED - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_NO_SUITABLE_CONSTRUCTOR - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_NOT_ALL_FORGED_CREATED - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_UNSUPPORTED_DATE_FORMAT_CHECK - org.mapstruct.ap.internal.util.Message
+
 
+
GENERAL_VALID_DATE - org.mapstruct.ap.internal.util.Message
+
 
+
GeneratedType - Class in org.mapstruct.ap.internal.model
+
+
A type generated by MapStruct, e.g. representing a mapper type.
+
+
GeneratedType(TypeFactory, String, String, Type, List<MappingMethod>, List<Field>, Options, VersionInformation, boolean, Accessibility, SortedSet<Type>, Constructor) - Constructor for class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
GeneratedType.GeneratedTypeBuilder<T extends GeneratedType.GeneratedTypeBuilder> - Class in org.mapstruct.ap.internal.model
+
 
+
GeneratedTypeMethod - Class in org.mapstruct.ap.internal.model
+
 
+
GeneratedTypeMethod() - Constructor for class org.mapstruct.ap.internal.model.GeneratedTypeMethod
+
 
+
get(Class<T>) - Method in interface org.mapstruct.ap.internal.writer.Writable.Context
+
+
Retrieves the object with the given type from this context.
+
+
get(Class<T>, T) - Static method in class org.mapstruct.ap.internal.util.Services
+
 
+
getAccessedType() - Method in interface org.mapstruct.ap.internal.util.accessor.Accessor
+
+
This returns the type that this accessor gives as a return.
+
+
getAccessedType() - Method in class org.mapstruct.ap.internal.util.accessor.DelegateAccessor
+
 
+
getAccessedType() - Method in class org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor
+
 
+
getAccessedType() - Method in class org.mapstruct.ap.internal.util.accessor.FieldElementAccessor
+
 
+
getAccessedType() - Method in class org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
 
+
getAccessedType() - Method in class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
 
+
getAccessibility() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getAccessibility() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getAccessibility() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getAccessibility() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getAccessibility() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getAccessibility() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns the Accessibility of this method.
+
+
getAccessibility() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getAccessorName() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
getAccessorNaming() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getAccessorNaming() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getAccessorNaming() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getAccessorNaming() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getAccessorNamingStrategy() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getAccessorType() - Method in interface org.mapstruct.ap.internal.util.accessor.Accessor
+
 
+
getAccessorType() - Method in class org.mapstruct.ap.internal.util.accessor.DelegateAccessor
+
 
+
getAccessorType() - Method in class org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor
+
 
+
getAccessorType() - Method in class org.mapstruct.ap.internal.util.accessor.FieldElementAccessor
+
 
+
getAccessorType() - Method in class org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
 
+
getAccessorType() - Method in class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
 
+
getAdderType() - Method in class org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
 
+
getAdderType() - Method in class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
 
+
getAdditionalSupportedOptions() - Method in interface org.mapstruct.ap.spi.AdditionalSupportedOptionsProvider
+
+
Returns the supported options required for custom SPI implementations.
+
+
getAfterMappingReferences() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getAfterMappingReferencesWithFinalizedReturnType() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getAllAnnotationMirrors(Element) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getAllEnclosedExecutableElements(TypeElement) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getAllEnclosedExecutableElements(TypeElement) - Method in interface org.mapstruct.ap.internal.util.ElementUtils
+
+
Finds all executable elements within the given type element, including executable elements defined in super + classes and implemented interfaces.
+
+
getAllEnclosedFields(TypeElement) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getAllEnclosedFields(TypeElement) - Method in interface org.mapstruct.ap.internal.util.ElementUtils
+
+
Finds all variable elements within the given type element, including variable + elements defined in super classes and implemented interfaces and including the fields in the .
+
+
getAllMembers(TypeElement) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getAllProvidedMethodsInParameterOrder(List<Parameter>) - Method in class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods
+
 
+
getAlwaysImportedType(TypeMirror) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
+
Return a type that is always going to be imported.
+
+
getAnnotationMirror() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getAnnotationMirror() - Method in exception org.mapstruct.ap.internal.util.AnnotationProcessingException
+
 
+
getAnnotationProcessorContext() - Method in class org.mapstruct.ap.internal.util.RoundContext
+
 
+
getAnnotations() - Method in class org.mapstruct.ap.internal.model.AnnotatedConstructor
+
 
+
getAnnotations() - Method in class org.mapstruct.ap.internal.model.AnnotationMapperReference
+
 
+
getAnnotations() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getAnnotations() - Method in class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
+
 
+
getAnnotations() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
getAnnotationValue() - Method in exception org.mapstruct.ap.internal.util.AnnotationProcessingException
+
 
+
getApplicablePrototypeMethods() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getApplicableReversePrototypeMethods() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getArrayType(TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
getAssignment() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getAssignment() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getAssignment() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getAssignment() - Method in class org.mapstruct.ap.internal.model.SubclassMapping
+
 
+
getAssignment() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getAstModifyingAnnotationProcessors() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getAuthors() - Method in class org.mapstruct.ap.internal.model.Javadoc
+
 
+
getAvailableParameterBindings() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
getBeanMapping() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getBeforeMappingReferencesWithFinalizedReturnType() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getBeforeMappingReferencesWithMappingTarget() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getBeforeMappingReferencesWithoutMappingTarget() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getBinaryName(TypeElement) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getBoxedEquivalent() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Gets the boxed equivalent type if the type is primitive, int will return Integer
+
+
getBuilder() - Method in class org.mapstruct.ap.internal.model.common.BuilderType
+
+
The type of the builder itself.
+
+
getBuilder() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getBuilder() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getBuilder() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getBuilder() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getBuilder() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getBuilderCreationMethod() - Method in class org.mapstruct.ap.internal.model.common.BuilderType
+
+
The creation method for the builder.
+
+
getBuilderCreationMethod() - Method in class org.mapstruct.ap.spi.BuilderInfo
+
+
The method that can be used for instantiating a builder.
+
+
getBuilderFactoryMethod(Type, BuilderType) - Static method in class org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
+
 
+
getBuilderFactoryMethod(Method, BuilderType) - Static method in class org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
+
 
+
getBuilderFinisherMethod(Method, BuilderType, MappingBuilderContext) - Static method in class org.mapstruct.ap.internal.model.BuilderFinisherMethodResolver
+
 
+
getBuilderInfo() - Method in exception org.mapstruct.ap.spi.MoreThanOneBuilderCreationMethodException
+
 
+
getBuilderProvider() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getBuildingType() - Method in class org.mapstruct.ap.internal.model.common.BuilderType
+
+
The type that is being built by the builder.
+
+
getBuildMethods() - Method in class org.mapstruct.ap.internal.model.common.BuilderType
+
+
The build methods that can be invoked to create the type being built.
+
+
getBuildMethods() - Method in class org.mapstruct.ap.spi.BuilderInfo
+
+
The methods that can be used to build the type being built.
+
+
getBuiltInMethods() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMappingMethods
+
 
+
getCloseExpression() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getCollectionGetterName(String) - Method in interface org.mapstruct.ap.spi.AccessorNamingStrategy
+
+
Deprecated. +
MapStuct will not call this method anymore. Use AccessorNamingStrategy.getMethodType(ExecutableElement) to + determine the MethodType. When collections somehow need to be treated special, it should be done in + AccessorNamingStrategy.getMethodType(ExecutableElement) as well. In the future, this method will be removed.
+
+
+
getCollectionGetterName(String) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
 
+
getCollectionMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getCollectionMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getCollectionMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getCollectionMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getCompiler() - Method in class org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
 
+
getCompiler() - Method in interface org.mapstruct.ap.internal.version.VersionInformation
+
 
+
getComponentModelIdentifier() - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
getComponentModelIdentifier() - Method in class org.mapstruct.ap.internal.processor.CdiComponentProcessor
+
 
+
getComponentModelIdentifier() - Method in class org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor
+
 
+
getComponentModelIdentifier() - Method in class org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
 
+
getComponentModelIdentifier() - Method in class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
 
+
getComponentModelIdentifier() - Method in class org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
 
+
getComponentType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getConditionJavaExpression() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getConditionQualifiers() - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
getConditionQualifyingNames() - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
getConstant() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getConstantExpression(Object) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getConstantMappings() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getConstructor() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getConstructorConstantMappings() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getConstructorFragment() - Method in class org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar
+
 
+
getConstructorFragment() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getContextParam() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getContextParameter(ConversionContext) - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
the conversion context is used to format an auxiliary parameter in the method call with context specific + information such as a date format.
+
+
getContextParameter(ConversionContext) - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
the conversion context is used to format an auxiliary parameter in the method call with context specific + information such as a date format.
+
+
getContextParameter(ConversionContext) - Method in class org.mapstruct.ap.internal.model.source.builtin.StringToXmlGregorianCalendar
+
 
+
getContextParameter(ConversionContext) - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString
+
 
+
getContextParameters() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getContextParameters() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getContextParameters() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getContextParameters() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
returns the list of mapping context parameters, i.e. those parameters that are annotated with + Context.
+
+
getContextParameters() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getContextParameters(List<Parameter>) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getContextProvidedMethods() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getContextProvidedMethods() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getContextProvidedMethods() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getContextProvidedMethods() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
getContextProvidedMethods() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getConversion(Type, Type) - Method in class org.mapstruct.ap.internal.conversion.Conversions
+
 
+
getCycles() - Method in class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer
+
 
+
getDate() - Method in class org.mapstruct.ap.internal.model.common.FormattingParameters
+
 
+
getDateAnnotationValue() - Method in class org.mapstruct.ap.internal.model.common.FormattingParameters
+
 
+
getDateFormat() - Method in interface org.mapstruct.ap.internal.model.common.ConversionContext
+
+
Returns the date format if this conversion or built-in method is from String to a date type (e.g.
+
+
getDateFormat() - Method in class org.mapstruct.ap.internal.model.common.DefaultConversionContext
+
 
+
GetDateTimeFormatterField - Class in org.mapstruct.ap.internal.conversion
+
 
+
GetDateTimeFormatterField(TypeFactory, String) - Constructor for class org.mapstruct.ap.internal.conversion.GetDateTimeFormatterField
+
 
+
getDateTimeFormatterFieldName(String) - Static method in class org.mapstruct.ap.internal.conversion.GetDateTimeFormatterField
+
 
+
getDeclaredType(TypeElement, TypeMirror...) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
getDeclaredType(DeclaredType, TypeElement, TypeMirror...) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
getDeclaringMapper() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getDeclaringMapper() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users().
+
+
getDeclaringMapper() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getDeclaringMapper() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users().
+
+
getDeclaringMapper() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users().
+
+
getDeclaringMapper() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getDeclaringType() - Method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
 
+
getDecorator() - Method in class org.mapstruct.ap.internal.model.Mapper
+
 
+
getDecoratorAnnotations() - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
getDecoratorAnnotations() - Method in class org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
 
+
getDecoratorAnnotations() - Method in class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
 
+
getDecoratorAnnotations() - Method in class org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
 
+
getDeepestProperty() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
getDeepestPropertyName() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
getDefaultComponentModel() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
getDefaultInjectionStrategy() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
getDefaultJavaExpression() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getDefaultNullEnumConstant(TypeElement) - Method in class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
getDefaultNullEnumConstant(TypeElement) - Method in interface org.mapstruct.ap.spi.EnumMappingStrategy
+
+
Return the default enum constant to use if the source is null.
+
+
getDefaultTarget() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
getDefaultValue() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getDefaultValueAssignment() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getDefiningMethod() - Method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
getDefiningMethod() - Method in class org.mapstruct.ap.internal.model.SupportingField
+
 
+
getDefiningType() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getDefiningType() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getDefiningType() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getDefiningType() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getDefiningType() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
getDefiningType() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getDelegateName() - Method in class org.mapstruct.ap.internal.model.DecoratorConstructor
+
 
+
getDelegatorReferenceAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
getDelegatorReferenceAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
 
+
getDelegatorReferenceAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
 
+
getDelegatorReferenceAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
 
+
getDependsOn() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getDependsOn() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getDependsOnAnnotationValue() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getDeprecated() - Method in class org.mapstruct.ap.internal.model.Javadoc
+
 
+
getDescription() - Method in class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
+
 
+
getDescription() - Method in enum org.mapstruct.ap.internal.util.Message
+
 
+
getDiagnosticKind() - Method in enum org.mapstruct.ap.internal.util.Message
+
 
+
getDirectSuperTypes() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Returns the direct supertypes of a type.
+
+
getDocComment(Element) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getElement() - Method in class org.mapstruct.ap.internal.model.common.FormattingParameters
+
 
+
getElement() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getElement() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getElement() - Method in interface org.mapstruct.ap.internal.util.accessor.Accessor
+
 
+
getElement() - Method in class org.mapstruct.ap.internal.util.accessor.DelegateAccessor
+
 
+
getElement() - Method in class org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
 
+
getElement() - Method in exception org.mapstruct.ap.internal.util.AnnotationProcessingException
+
 
+
getElementAssignment() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getElementMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.IterableMappingOptions
+
 
+
getElementName() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
getElementName(ExecutableElement) - Method in interface org.mapstruct.ap.spi.AccessorNamingStrategy
+
+
Returns the element name of the given adder method.
+
+
getElementName(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
+
Adder methods are used to add elements to collections on a target bean.
+
+
getElementNameForAdder(Accessor) - Method in class org.mapstruct.ap.internal.util.AccessorNamingUtils
+
 
+
getElementNames() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
getElementNames() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
getElementType(Type) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
getElementType(Type) - Method in class org.mapstruct.ap.internal.model.IterableMappingMethod.Builder
+
 
+
getElementType(Type) - Method in class org.mapstruct.ap.internal.model.StreamMappingMethod.Builder
+
 
+
getElementUtils() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getElementUtils() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getElementUtils() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getElementUtils() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getElementUtils() - Method in interface org.mapstruct.ap.spi.MapStructProcessingEnvironment
+
+
Returns an implementation of some utility methods for + operating on elements
+
+
getElementValuesWithDefaults(AnnotationMirror) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getEntryVariableName() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getEnumClass() - Method in class org.mapstruct.ap.internal.model.annotation.EnumAnnotationElementHolder
+
 
+
getEnumConstant(TypeElement, String) - Method in class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
getEnumConstant(TypeElement, String) - Method in interface org.mapstruct.ap.spi.EnumMappingStrategy
+
+
Map the enum constant to the value use for matching.
+
+
getEnumConstants() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getEnumMappingOptions() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getEnumMappingStrategy() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getEnumMappingStrategy() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getEnumMappingStrategy() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getEnumMappingStrategy() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getEnumSetElementType() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
getEnumTransformationStrategies() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getEnumTransformationStrategies() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getEnumTransformationStrategies() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getEnumTransformationStrategies() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getExecutable() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getExecutable() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getExecutable() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getExecutable() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
getExecutable() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getExistingMappingMethod(MappingMethod) - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getFactoryMethod() - Method in class org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
 
+
getFactoryMethod() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
getFactoryMethod() - Method in class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
+
 
+
getFactoryMethod(Method, Type, SelectionParameters, MappingBuilderContext) - Static method in class org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
+
+
returns a no arg factory method
+
+
getFactoryMethod(Method, SelectionParameters, MappingBuilderContext) - Static method in class org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
+
+
returns a no arg factory method
+
+
getFactoryMethodReference(Method, SelectedMethod<SourceMethod>, MappingBuilderContext) - Static method in class org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
+
 
+
getFieldName() - Method in class org.mapstruct.ap.internal.model.AnnotatedSetter
+
 
+
getFieldNames(Set<Field>) - Static method in class org.mapstruct.ap.internal.model.Field
+
 
+
getFieldReference() - Method in class org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar
+
 
+
getFieldReference() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getFields() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getFiler() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getFiler() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getFinalizedResultName() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getFinalizerMethod() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getFlatName(TypeElement) - Static method in class org.mapstruct.ap.internal.model.Mapper
+
+
Returns the same as Class.getName() but without the package declaration.
+
+
getForgedMethodInheritedOptions(MappingMethodOptions) - Static method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
+
SubclassMappingOptions are not inherited to forged methods.
+
+
getForgedMethodsUnderCreation() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
+
Returns a map which is used to track which forged methods are under creation.
+
+
getFormattingParameters() - Method in class org.mapstruct.ap.internal.model.source.IterableMappingOptions
+
 
+
getFormattingParameters() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getFragments() - Method in class org.mapstruct.ap.internal.model.AnnotatedConstructor
+
 
+
getFragments() - Method in class org.mapstruct.ap.internal.model.NoArgumentConstructor
+
 
+
getFromConversionExceptionTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractNumberToStringConversion
+
 
+
getFromConversionExceptionTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
 
+
getFromConversionExceptionTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.URLToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractNumberToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToBigIntegerConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToPrimitiveConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToWrapperConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToPrimitiveConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToWrapperConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.CurrencyToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.EnumStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.EnumToIntegerConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JodaTimeToDateConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.LocaleToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
+
Returns a set with imported types of the "from" conversion.
+
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.StaticParseToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.URLToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.UUIDToStringConversion
+
 
+
getFromConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.WrapperToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToBigIntegerConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToPrimitiveConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToWrapperConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToPrimitiveConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToWrapperConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.CharToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.CharWrapperToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.CurrencyToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlTimeConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlTimestampConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.EnumStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.EnumToIntegerConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaInstantToDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JodaTimeToDateConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.LocaleToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToPrimitiveConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToWrapperConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
+
Returns the conversion string from target to source.
+
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.StaticParseToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.StringBuilderToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.URLToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.UUIDToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.WrapperToStringConversion
+
 
+
getFromExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.WrapperToWrapperConversion
+
 
+
getFullName() - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
getFullyQualifiedName() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getHandledTargets() - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
+
 
+
getHistory() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getIdentification() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getIgnoreUnmappedSourceProperties() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getImplementation() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getImplementationName() - Method in class org.mapstruct.ap.internal.model.ServicesEntry
+
 
+
getImplementationPackage() - Method in class org.mapstruct.ap.internal.model.ServicesEntry
+
 
+
getImplementationType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Returns the implementation type to be instantiated in case this type is an interface iterable, collection or map + type.
+
+
getImportName() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getImportTypeNames() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.conversion.CreateDecimalFormat
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.AnnotatedConstructor
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.AnnotatedSetter
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.annotation.EnumAnnotationElementHolder
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.Annotation
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.AnnotationMapperReference
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.EnumConstantWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.ExistingInstanceSetterWrapperForCollectionsAndMaps
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.GetterWrapperForCollectionsAndMaps
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.Java8FunctionWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.LocalVarWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMapsWithNullCheck
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getImportTypes() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
returns all types required as import by the assignment statement.
+
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.common.ModelElement
+
+
Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
+
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.common.NegatePresenceCheck
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
getImportTypes() - Method in interface org.mapstruct.ap.internal.model.common.PresenceCheck
+
+
returns all types required as import by the presence check.
+
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getImportTypes() - Method in interface org.mapstruct.ap.internal.model.Constructor
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.Decorator
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.DecoratorConstructor
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.DefaultMapperReference
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.Field
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
Returns the types used by this method for which import statements need to be generated.
+
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.IterableMappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.Javadoc
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.NoArgumentConstructor
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.ServicesEntry
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
Returns the types used by this method for which import statements need to be generated.
+
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.CalendarToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.CalendarToZonedDateTime
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.DateToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaDateTimeToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateTimeToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaLocalTimeToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.LocalDateTimeToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.LocalDateToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.StringToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToDate
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaDateTime
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDate
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDateTime
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalTime
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDate
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDateTime
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToXmlGregorianCalendar
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.StreamMappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.SubclassMapping
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getImportTypes() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
getIndex1Name() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getIndex2Name() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getInheritContext() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getInjectionStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getInjectionStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getInjectionStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getInjectionStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getInstance(Type, boolean, boolean, TypeFactory, List<String>) - Static method in class org.mapstruct.ap.internal.model.DefaultMapperReference
+
 
+
getInstanceOn(ExecutableElement, MapperOptions, Map<String, EnumTransformationStrategy>, FormattingMessager) - Static method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
getInstanceOn(TypeElement, Options) - Static method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getInstanceOn(BeanMappingGem, MapperOptions, ExecutableElement, FormattingMessager, TypeUtils, TypeFactory) - Static method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getInstanceVar() - Method in class org.mapstruct.ap.internal.model.assignment.NewInstanceSetterWrapperForCollectionsAndMaps
+
 
+
getIterableCreation() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getIterableCreation() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getIterableMapping() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getJavadoc() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getJavadoc() - Method in class org.mapstruct.ap.internal.model.Mapper
+
 
+
getJavaExpression() - Method in class org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck
+
 
+
getJavaExpression() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getKeyAssignment() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getKeyFormattingParameters() - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getKeyMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getKeySelectionParameters() - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getKeyVariableName() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getKeyword() - Method in enum org.mapstruct.ap.internal.model.common.Accessibility
+
 
+
getLiteral(String, String) - Static method in class org.mapstruct.ap.internal.util.NativeTypes
+
 
+
getLoopVariableName() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getMapMapping() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getMapper() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getMapper(Class<T>) - Static method in class org.mapstruct.factory.Mappers
+
+
Returns an instance of the given mapper type.
+
+
getMapperClass(Class<T>) - Static method in class org.mapstruct.factory.Mappers
+
+
Returns the class of the implementation for the given mapper type.
+
+
getMapperDefinitionType() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getMapperReferenceAnnotations() - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
getMapperReferenceAnnotations() - Method in class org.mapstruct.ap.internal.processor.CdiComponentProcessor
+
 
+
getMapperReferenceAnnotations() - Method in class org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor
+
 
+
getMapperReferenceAnnotations() - Method in class org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
 
+
getMapperReferenceAnnotations() - Method in class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
 
+
getMapperReferenceAnnotations() - Method in class org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
 
+
getMapperReferences() - Method in class org.mapstruct.ap.internal.model.AnnotatedConstructor
+
 
+
getMapperReferences() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getMapperType() - Method in class org.mapstruct.ap.internal.model.Decorator
+
 
+
getMapperTypeElement() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getMapperVariableName() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getMapping() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
getMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getMappingInheritanceStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getMappingInheritanceStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getMappingInheritanceStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getMappingInheritanceStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getMappingMethod() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
getMappingReferences() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
getMappingReferences() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getMappingResolver() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getMappings() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getMappingSourceType() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
getMappingsToGenerate() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getMappingTargetNamesBy(Predicate<MappingOptions>, Set<MappingOptions>) - Static method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getMappingTargetParameter() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getMappingTargetParameter() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
mapping target parameter mechanism not supported for built-in methods
+
+
getMappingTargetParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
mapping target parameter mechanism not supported for built-in methods
+
+
getMappingTargetParameter() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns the parameter designated as mapping target (if present) MappingTarget
+
+
getMappingTargetParameter() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getMappingTargetParameter(List<Parameter>) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getMappingTargetType() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
getMapStructVersion() - Method in class org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
 
+
getMapStructVersion() - Method in interface org.mapstruct.ap.internal.version.VersionInformation
+
 
+
getMatch() - Method in class org.mapstruct.ap.internal.model.common.Type.ResolvedPair
+
 
+
getMatchingFactoryMethods(Method, Type, SelectionParameters, MappingBuilderContext) - Static method in class org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.CreateOrUpdateSelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.FactoryParameterSelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.InheritanceSelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.MethodFamilySelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.MostSpecificResultTypeSelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.QualifierSelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.SourceRhsSelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector
+
 
+
getMatchingMethods(List<SelectedMethod<T>>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.TypeSelector
+
 
+
getMatchingMethods(List<T>, SelectionContext) - Method in class org.mapstruct.ap.internal.model.source.selector.MethodSelectors
+
+
Selects those methods which match the given types and other criteria
+
+
getMessager() - Method in class org.mapstruct.ap.internal.model.common.DefaultConversionContext
+
 
+
getMessager() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getMessager() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getMessager() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getMethod() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectedMethod
+
 
+
getMethodAnnotations() - Method in class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
+
 
+
getMethodAnnotations() - Method in class org.mapstruct.ap.internal.model.AnnotatedSetter
+
 
+
getMethodReference() - Method in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
getMethodResultType() - Method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
+
Returns the result type of the mapping method in which this callback method is called
+
+
getMethodReturnType() - Method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
+
Returns the return type of the mapping method in which this callback method is called
+
+
getMethods() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getMethodsToChain() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getMethodType(ExecutableElement) - Method in interface org.mapstruct.ap.spi.AccessorNamingStrategy
+
+
Returns the type of the given method.
+
+
getMethodType(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
 
+
getMethodType(DeclaredType, Element) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
+
Get the Type for given method as part of usedMapper.
+
+
getMethodType(DeclaredType, ExecutableElement) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
+
Get the ExecutableType for given method as part of usedMapper.
+
+
getMirror() - Method in class org.mapstruct.ap.internal.model.common.FormattingParameters
+
 
+
getMirror() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getMirror() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
getMirror() - Method in class org.mapstruct.ap.internal.model.source.IterableMappingOptions
+
 
+
getMirror() - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getMirror() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getMirror() - Method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
getMirror() - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
getModifiers() - Method in interface org.mapstruct.ap.internal.util.accessor.Accessor
+
 
+
getModifiers() - Method in class org.mapstruct.ap.internal.util.accessor.DelegateAccessor
+
 
+
getModifiers() - Method in class org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
 
+
getMostSimilarWord(String, Collection<String>) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.AnnotatedConstructor
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.annotation.EnumAnnotationElementHolder
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getName() - Method in interface org.mapstruct.ap.internal.model.Constructor
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.DecoratorConstructor
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
Returns then name of the method.
+
+
getName() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.NoArgumentConstructor
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.ServicesEntry
+
 
+
getName() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
Returns then name of the method.
+
+
getName() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns then name of the method.
+
+
getName() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getName(CharSequence) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getName(TypeKind) - Static method in class org.mapstruct.ap.internal.util.NativeTypes
+
+
The name that should be used for the typeKind.
+
+
getNameTransformationConfiguration() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
getNameTransformationStrategy() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
getNoArgumentConstructor() - Method in class org.mapstruct.ap.internal.model.AnnotatedConstructor
+
 
+
getNoType(TypeKind) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
getNull() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getNullCheckLocalVarName() - Method in class org.mapstruct.ap.internal.model.assignment.WrapperForCollectionsAndMaps
+
 
+
getNullCheckLocalVarType() - Method in class org.mapstruct.ap.internal.model.assignment.WrapperForCollectionsAndMaps
+
 
+
getNullTarget() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
getNullType() - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
getNullValueCheckStrategy() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getNullValueCheckStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getNullValueCheckStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getNullValueCheckStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getNullValueCheckStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getNullValueCheckStrategy() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getNullValueIterableMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getNullValueIterableMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getNullValueIterableMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getNullValueIterableMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getNullValueIterableMappingStrategy() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
getNullValueMapMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getNullValueMapMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getNullValueMapMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getNullValueMapMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getNullValueMapMappingStrategy() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
getNullValueMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getNullValueMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getNullValueMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getNullValueMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.IterableMappingOptions
+
 
+
getNullValueMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getNullValueMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getNullValueMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getNullValuePropertyMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getNullValuePropertyMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getNullValuePropertyMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getNullValuePropertyMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getNullValuePropertyMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getNullValuePropertyMappingStrategy() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getNumber() - Method in class org.mapstruct.ap.internal.model.common.FormattingParameters
+
 
+
getNumberFormat() - Method in interface org.mapstruct.ap.internal.model.common.ConversionContext
+
 
+
getNumberFormat() - Method in class org.mapstruct.ap.internal.model.common.DefaultConversionContext
+
 
+
getOpenExpression() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getOptions() - Method in class org.mapstruct.ap.internal.conversion.CreateDecimalFormat
+
 
+
getOptions() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getOptions() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getOptions() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getOptions() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
getOptions() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getOptions() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getOptions() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getOptions() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getOptions() - Method in interface org.mapstruct.ap.spi.MapStructProcessingEnvironment
+
+
Returns the resolved options specified by the impl of + AdditionalSupportedOptionsProvider.
+
+
getOriginalName() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getOwningType() - Method in class org.mapstruct.ap.internal.model.common.BuilderType
+
+
The owning type of the builder, this can be the builder itself, the type that is build by the builder or some + other type.
+
+
getPackageElement(CharSequence) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getPackageName() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getPackageName() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getPackageName() - Method in class org.mapstruct.ap.internal.model.ServicesEntry
+
 
+
getPackageOf(Element) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.conversion.CreateDecimalFormat
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.common.Type.ResolvedPair
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
There's currently only one parameter foreseen instead of a list of parameter
+
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
There's currently only one parameter foreseen instead of a list of parameter
+
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.CalendarToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.CalendarToZonedDateTime
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.DateToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaDateTimeToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateTimeToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.JodaLocalTimeToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.LocalDateTimeToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.LocalDateToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.StringToXmlGregorianCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToDate
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaDateTime
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDate
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDateTime
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalTime
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDate
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDateTime
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToCalendar
+
 
+
getParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToXmlGregorianCalendar
+
 
+
getParameterAnnotations() - Method in class org.mapstruct.ap.internal.model.AnnotatedSetter
+
 
+
getParameterBindings() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getParameterBindings() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectedMethod
+
 
+
getParameterForProvidedMethod(Method) - Method in class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods
+
 
+
getParameterNames() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getParameterNames() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getParameterNames() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getParameterNames() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getParameterNames() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
getParameterNames() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getParameters() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getParameters() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getParameters() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getParameters() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getParameters() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
In contrast to Method.getSourceParameters() this method returns all parameters
+
+
getParameters() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getParameters(DeclaredType, ExecutableElement) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getParameters(DeclaredType, Accessor) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getParameters(ExecutableType, ExecutableElement) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getPathProperties() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
getPermittedSubclasses() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
return the list of permitted TypeMirrors for the java 17+ sealed class
+
+
getPresenceCheck() - Method in class org.mapstruct.ap.internal.model.common.NegatePresenceCheck
+
 
+
getPresenceCheck(Method, SelectionParameters, MappingBuilderContext) - Static method in class org.mapstruct.ap.internal.model.PresenceCheckMethodResolver
+
 
+
getPresenceCheckByParameter(Parameter) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getPresenceChecker() - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
getPresenceChecker() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
getPresenceChecker(String) - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getPresenceChecks() - Method in class org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck
+
 
+
getPresenceChecksByParameter() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getPresenceCheckSuffix() - Method in interface org.mapstruct.ap.internal.util.accessor.PresenceCheckAccessor
+
 
+
getPreviousPropertyName() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
getPrimitiveType(Class<?>) - Static method in class org.mapstruct.ap.internal.util.NativeTypes
+
 
+
getPrimitiveType(TypeKind) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
getPriority() - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
getPriority() - Method in class org.mapstruct.ap.internal.processor.MapperCreationProcessor
+
 
+
getPriority() - Method in class org.mapstruct.ap.internal.processor.MapperRenderingProcessor
+
 
+
getPriority() - Method in class org.mapstruct.ap.internal.processor.MapperServiceProcessor
+
 
+
getPriority() - Method in class org.mapstruct.ap.internal.processor.MethodRetrievalProcessor
+
 
+
getPriority() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor
+
+
Returns the priority value of this processor which must be between 1 + (highest priority) and 10000 (lowest priority).
+
+
getProcessedAnnotations(Element) - Method in class org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder
+
 
+
getProcessedAnnotations(Element) - Method in class org.mapstruct.ap.internal.util.RepeatableAnnotations
+
+
Retrieves the processed annotations.
+
+
getProcessedSourceParameters() - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
+
 
+
getProperties() - Method in class org.mapstruct.ap.internal.model.Annotation
+
 
+
getPropertyEntries() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
getPropertyEntries() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
getPropertyEntries() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod
+
 
+
getPropertyMappings() - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
+
 
+
getPropertyName(ExecutableElement) - Method in class org.mapstruct.ap.internal.util.AccessorNamingUtils
+
 
+
getPropertyName(ExecutableElement) - Method in interface org.mapstruct.ap.spi.AccessorNamingStrategy
+
+
Returns the name of the property represented by the given getter or setter method.
+
+
getPropertyName(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
+
Analyzes the method (getter or setter) and derives the property name.
+
+
getPropertyPresenceCheckers() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
getPropertyPresenceCheckers
+
+
getPropertyReadAccessors() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
getPropertyReadAccessors
+
+
getPropertyWriteAccessors(CollectionMappingStrategyGem) - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
getPropertyWriteAccessors returns a map of the write accessors according to the CollectionMappingStrategy.
+
+
getProvidingParameter() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getQualifiedByNames() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
getQualifiedName(TypeMirror) - Static method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
+
Helper method, to obtain the fully qualified name of a type.
+
+
getQualifiers() - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
getQualifiers() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
getQualifyingNames() - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
getQualifyingResultType() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
getReadAccessor() - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
getReadAccessor(String, boolean) - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getReadValueSource() - Method in class org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
 
+
getReadValueSource() - Method in interface org.mapstruct.ap.internal.util.accessor.ReadAccessor
+
 
+
getRecordComponents() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getRequiredHelperFields(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion
+
 
+
getRequiredHelperFields(ConversionContext) - Method in interface org.mapstruct.ap.internal.conversion.ConversionProvider
+
 
+
getRequiredHelperFields(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.ReverseConversion
+
 
+
getRequiredHelperMethods(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion
+
 
+
getRequiredHelperMethods(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion
+
 
+
getRequiredHelperMethods(ConversionContext) - Method in interface org.mapstruct.ap.internal.conversion.ConversionProvider
+
 
+
getRequiredHelperMethods(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToStringConversion
+
 
+
getRequiredHelperMethods(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.ReverseConversion
+
 
+
getRequiredHelperMethods(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
 
+
getReservedNames() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getResultElementType() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getResultElementType() - Method in class org.mapstruct.ap.internal.model.IterableMappingMethod
+
 
+
getResultElementType() - Method in class org.mapstruct.ap.internal.model.StreamMappingMethod
+
 
+
getResultElementTypes() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getResultName() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getResultType() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getResultType() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getResultType() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
getResultType() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getResultType() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getResultType() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns the type of the result.
+
+
getResultType() - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
getResultType() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.conversion.CreateDecimalFormat
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.CalendarToZonedDateTime
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToCalendar
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToDate
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaDateTime
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDate
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDateTime
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalTime
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDate
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDateTime
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToCalendar
+
 
+
getReturnType() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns the return type of the method
+
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
getReturnType() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getReturnType(DeclaredType, Accessor) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getReturnType(ExecutableType) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getReturnTypeToConstruct() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getRuntimeVendor() - Method in class org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
 
+
getRuntimeVendor() - Method in interface org.mapstruct.ap.internal.version.VersionInformation
+
 
+
getRuntimeVersion() - Method in class org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
 
+
getRuntimeVersion() - Method in interface org.mapstruct.ap.internal.version.VersionInformation
+
 
+
getSafeConstructorFragment(SupportingMappingMethod, ConstructorFragment, Field) - Static method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
getSafeField(SupportingMappingMethod, FieldReference, Set<Field>) - Static method in class org.mapstruct.ap.internal.model.SupportingField
+
 
+
getSafeVariableName(String, String...) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
getSafeVariableName(String, Collection<String>) - Static method in class org.mapstruct.ap.internal.util.Strings
+
+
Returns a variable name which doesn't conflict with the given variable names existing in the same scope and the + Java keywords.
+
+
getSelectionCriteria() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
getSelectionParameters() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getSelectionParameters() - Method in class org.mapstruct.ap.internal.model.source.IterableMappingOptions
+
 
+
getSelectionParameters() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getSelectionParameters() - Method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
getSensibleDefault() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getShallowestProperty() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
getShallowestPropertyName() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
getShallowestPropertyName() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
getSimpleName() - Method in interface org.mapstruct.ap.internal.util.accessor.Accessor
+
 
+
getSimpleName() - Method in class org.mapstruct.ap.internal.util.accessor.DelegateAccessor
+
 
+
getSimpleName() - Method in class org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
 
+
getSimpleName() - Method in class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
 
+
getSince() - Method in class org.mapstruct.ap.internal.model.Javadoc
+
 
+
getSingleParameter(DeclaredType, Accessor) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getSingleSourceParameterType() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSource() - Method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
getSource() - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
getSource() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.MappingEntry
+
 
+
getSourceAnnotationValue() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getSourceAnnotationValue() - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
getSourceArgument() - Method in class org.mapstruct.ap.internal.model.SubclassMapping
+
 
+
getSourceBeanName() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getSourceElementType() - Method in class org.mapstruct.ap.internal.model.IterableMappingMethod
+
 
+
getSourceElementType() - Method in class org.mapstruct.ap.internal.model.StreamMappingMethod
+
 
+
getSourceElementTypes() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getSourceErrorMessagePart() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getSourceLocalVarName() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getSourceLocalVarName() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+ +
+
getSourceLocalVarName() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getSourceLocalVarName() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSourceLocalVarName() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getSourceLoopVarName() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getSourceLoopVarName() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
See Assignment.getSourceLoopVarName() (java.lang.String) }
+
+
getSourceLoopVarName() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getSourceLoopVarName() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSourceLoopVarName() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getSourceModel() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getSourceName() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
+
Returns the complete source name of this mapping, either a qualified (e.g.
+
+
getSourceParameter() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getSourceParameter() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
getSourceParameter() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getSourceParameter() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod
+
 
+
getSourceParameter() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
getSourceParameter(List<Parameter>, String) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getSourceParameterName() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getSourceParameterName() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
Returns the source parameter name, to which this assignment applies.
+
+
getSourceParameterName() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getSourceParameterName() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSourceParameterName() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getSourceParameterPresenceCheck() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
getSourceParameterPresenceCheck() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getSourceParameters() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getSourceParameters() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getSourceParameters() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getSourceParameters() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSourceParameters() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getSourceParameters() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target + type or context parameter.
+
+
getSourceParameters() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getSourceParameters(List<Parameter>) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getSourceParametersNeedingPresenceCheck() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getSourceParametersNotNeedingPresenceCheck() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getSourcePresenceCheckerReference() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getSourcePresenceCheckerReference() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
the source presence checker reference
+
+
getSourcePresenceCheckerReference() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getSourcePresenceCheckerReference() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSourcePresenceCheckerReference() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getSourcePresenceChecks() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getSourceReference() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getSourceReference() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
getSourceReference() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
the source reference being a source-getter, a constant, nested method call, etc.
+
+
getSourceReference() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getSourceReference() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSourceReference() - Method in class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
getSourceReference() - Method in class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
getSourceReference() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getSourceRHS() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
getSourceRHS() - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
getSourceRHS() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
getSourceType() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getSourceType() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
the source type used in the matching process
+
+
getSourceType() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getSourceType() - Method in class org.mapstruct.ap.internal.model.ForgedMethodHistory
+
 
+
getSourceType() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getSourceType() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionContext
+
 
+
getSourceType() - Method in class org.mapstruct.ap.internal.model.SubclassMapping
+
 
+
getSourceType() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getSourceTypeForMatching() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
+
The source type that is to be used when resolving the mapping from source to target.
+
+
getStrategyName() - Method in class org.mapstruct.ap.spi.CaseEnumTransformationStrategy
+
 
+
getStrategyName() - Method in interface org.mapstruct.ap.spi.EnumTransformationStrategy
+
+
The name of the strategy.
+
+
getStrategyName() - Method in class org.mapstruct.ap.spi.PrefixEnumTransformationStrategy
+
 
+
getStrategyName() - Method in class org.mapstruct.ap.spi.StripPrefixEnumTransformationStrategy
+
 
+
getStrategyName() - Method in class org.mapstruct.ap.spi.StripSuffixEnumTransformationStrategy
+
 
+
getStrategyName() - Method in class org.mapstruct.ap.spi.SuffixEnumTransformationStrategy
+
 
+
getSubclassExhaustiveStrategy() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
getSubclassExhaustiveStrategy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getSubclassExhaustiveStrategy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getSubclassExhaustiveStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getSubclassExhaustiveStrategy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getSubclassMappings() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
getSubclassMappings() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getSuffix() - Method in class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
getSupportedOptions() - Method in class org.mapstruct.ap.MappingProcessor
+
 
+
getSupportedSourceVersion() - Method in class org.mapstruct.ap.MappingProcessor
+
 
+
getSupportingConstructorFragment() - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
getSupportingField() - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
getTarget() - Method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
getTarget() - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
getTarget() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.MappingEntry
+
 
+
getTargetAnnotationValue() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getTargetAnnotationValue() - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
getTargetAssignment(Method, ForgedMethodHistory, Type, FormattingParameters, SelectionCriteria, SourceRHS, AnnotationMirror, Supplier<Assignment>) - Method in interface org.mapstruct.ap.internal.model.MappingBuilderContext.MappingResolver
+
+
returns a parameter assignment
+
+
getTargetAssignment(Method, ForgedMethodHistory, Type, FormattingParameters, SelectionCriteria, SourceRHS, AnnotationMirror, Supplier<Assignment>) - Method in class org.mapstruct.ap.internal.processor.creation.MappingResolverImpl
+
 
+
getTargetName() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
getTargetPropertyName() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
getTargetPropertyNameParameter() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getTargetPropertyNameParameter(List<Parameter>) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getTargetReadAccessorName() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getTargetReference() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
getTargetType() - Method in interface org.mapstruct.ap.internal.model.common.ConversionContext
+
+
Returns the target type of this conversion.
+
+
getTargetType() - Method in class org.mapstruct.ap.internal.model.common.DefaultConversionContext
+
 
+
getTargetType() - Method in class org.mapstruct.ap.internal.model.ForgedMethodHistory
+
 
+
getTargetType() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getTargetTypeParameter() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getTargetTypeParameter() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
target type parameter mechanism not supported for built-in methods
+
+
getTargetTypeParameter() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
target type parameter mechanism not supported for built-in methods
+
+
getTargetTypeParameter() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns the parameter designated as target type (if present) TargetType
+
+
getTargetTypeParameter() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getTargetTypeParameter(List<Parameter>) - Static method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getTargetVariableName() - Method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
 
+
getTargetWriteAccessorName() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
getTemplateMethod() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions.InheritContext
+
 
+
getTemplateName() - Method in class org.mapstruct.ap.internal.model.Decorator
+
 
+
getTemplateName() - Method in class org.mapstruct.ap.internal.model.Mapper
+
 
+
getTemplateName() - Method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
getTemplateName() - Method in class org.mapstruct.ap.internal.model.SupportingField
+
 
+
getTemplateName() - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
getTemplateName() - Method in class org.mapstruct.ap.internal.writer.FreeMarkerWritable
+
+
Returns the name of the template to be used for a specific writable type.
+
+
getTemplateNameForClass(Class<?>) - Method in class org.mapstruct.ap.internal.writer.FreeMarkerWritable
+
+
Returns the name of the template to be used for a specific writable type.
+
+
getTemplateParameter() - Method in class org.mapstruct.ap.internal.conversion.GetDateTimeFormatterField
+
 
+
getTemplateParameter() - Method in interface org.mapstruct.ap.internal.model.common.FieldReference
+
 
+
getTemplateParameter() - Method in class org.mapstruct.ap.internal.model.SupportingField
+
 
+
getTemplateParameter() - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
GETTER - org.mapstruct.ap.internal.util.accessor.AccessorType
+
 
+
GETTER - org.mapstruct.ap.spi.MethodType
+
+
A JavaBeans getter method, e.g.
+
+
getterMethodsIn(List<ExecutableElement>) - Method in class org.mapstruct.ap.internal.util.Filters
+
 
+
GetterWrapperForCollectionsAndMaps - Class in org.mapstruct.ap.internal.model.assignment
+
+
This wrapper handles the situation were an assignment must be done via a target getter method because there + is no setter available.
+
+
GetterWrapperForCollectionsAndMaps(Assignment, List<Type>, Type, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.GetterWrapperForCollectionsAndMaps
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.assignment.LocalVarWrapper
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.assignment.SetterWrapper
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.assignment.WrapperForCollectionsAndMaps
+
 
+
getThrownTypes() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
returns all types exception types thrown by this assignment.
+
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getThrownTypes() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns all exceptions thrown by this method
+
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getThrownTypes() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getThrownTypes(ExecutableType) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getThrownTypes(Accessor) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getToConversionExceptionTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractNumberToStringConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlDateConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlTimeConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlTimestampConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaInstantToDateConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion
+
 
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
+
Returns a set with imported types of the "to" conversion.
+
+
getToConversionImportTypes(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.WrapperToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToBigIntegerConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToPrimitiveConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigDecimalToWrapperConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToPrimitiveConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.BigIntegerToWrapperConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.CharToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.CharWrapperToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.CurrencyToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlTimeConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToSqlTimestampConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.EnumStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.EnumToIntegerConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaInstantToDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.JodaTimeToDateConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.LocaleToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToPrimitiveConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.PrimitiveToWrapperConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
+
Returns the conversion string from source to target.
+
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.StaticParseToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.StringBuilderToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.URLToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.UUIDToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.WrapperToStringConversion
+
 
+
getToExpression(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.WrapperToWrapperConversion
+
 
+
getTraversalSequence(String) - Method in class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer
+
+
Returns the traversal sequence number of the given node.
+
+
getType() - Method in class org.mapstruct.ap.internal.model.AnnotatedSetter
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.Annotation
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
getType() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
Returns whether the type of assignment
+
+
getType() - Method in interface org.mapstruct.ap.internal.model.common.FieldReference
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.common.FinalField
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.common.ImplementationType
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.Field
+
+
Returns the type of this field.
+
+
getType() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
getType() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
getType() - Method in exception org.mapstruct.ap.spi.MoreThanOneBuilderCreationMethodException
+
 
+
getType() - Method in exception org.mapstruct.ap.spi.TypeHierarchyErroneousException
+
 
+
getType(Class<?>) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getType(String) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getType(TypeElement) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getType(TypeMirror) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getTypeAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
getTypeAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.CdiComponentProcessor
+
 
+
getTypeAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor
+
 
+
getTypeAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
 
+
getTypeAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
 
+
getTypeAnnotations(Mapper) - Method in class org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
 
+
getTypeBound() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Establishes the type bound: + + <? extends Number>, returns Number + <? super Number>, returns Number + <?>, returns Object + <T extends Number>, returns Number +
+
+
getTypeBound(TypeMirror) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
+
Establishes the type bound: + + <? extends Number>, returns Number + <? super Number>, returns Number + <?>, returns Object + <T extends Number>, returns Number +
+
+
getTypeBounds() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getTypeElement() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getTypeElement(CharSequence) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
getTypeElement(TypeMirror) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
+
Find the TypeElement for the given TypeMirror.
+
+
getTypeFactory() - Method in interface org.mapstruct.ap.internal.model.common.ConversionContext
+
 
+
getTypeFactory() - Method in class org.mapstruct.ap.internal.model.common.DefaultConversionContext
+
 
+
getTypeFactory() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getTypeFactory() - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
getTypeFactory() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getTypeFactory() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getTypeForLiteral(Class<?>) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getTypeMirror() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getTypeParameters() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
getTypeParameters() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
getTypeParameters() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
getTypeParameters() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
getTypeParameters() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns the formal type parameters of this method in declaration order.
+
+
getTypeParameters() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
getTypeUtils() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getTypeUtils() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getTypeUtils() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getTypeUtils() - Method in class org.mapstruct.ap.internal.util.AnnotationProcessorContext
+
 
+
getTypeUtils() - Method in interface org.mapstruct.ap.spi.MapStructProcessingEnvironment
+
+
Returns an implementation of some utility methods for + operating on types.
+
+
getUnexpectedValueMappingException() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
getUnexpectedValueMappingException() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
getUnexpectedValueMappingException() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
getUnexpectedValueMappingException() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
getUnexpectedValueMappingException() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
getUnexpectedValueMappingException() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
getUnexpectedValueMappingExceptionClass() - Method in class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
getUnexpectedValueMappingExceptionType() - Method in class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
getUnexpectedValueMappingExceptionType() - Method in interface org.mapstruct.ap.spi.EnumMappingStrategy
+
+
Return the type element of the exception that should be used in the generated code + for an unexpected enum constant.
+
+
getUnmappedSourcePolicy() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
getUnmappedTargetPolicy() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
getUnprocessedDefinedTarget() - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
+
 
+
getUsedSupportedFields() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getUsedSupportedFields() - Method in interface org.mapstruct.ap.internal.model.MappingBuilderContext.MappingResolver
+
 
+
getUsedSupportedFields() - Method in class org.mapstruct.ap.internal.processor.creation.MappingResolverImpl
+
 
+
getUsedSupportedMappings() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
getUsedSupportedMappings() - Method in interface org.mapstruct.ap.internal.model.MappingBuilderContext.MappingResolver
+
 
+
getUsedSupportedMappings() - Method in class org.mapstruct.ap.internal.processor.creation.MappingResolverImpl
+
 
+
getValue() - Method in class org.mapstruct.ap.internal.model.Javadoc
+
 
+
getValueAssignment() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getValueFormattingParameters() - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getValueMappingControl(ElementUtils) - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getValueMappings() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
getValueMappings() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
getValues() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
getValueSelectionParameters() - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
getValueVariableName() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod
+
 
+
getVariableName() - Method in interface org.mapstruct.ap.internal.model.common.FieldReference
+
 
+
getVariableName() - Method in class org.mapstruct.ap.internal.model.common.FinalField
+
 
+
getVariableName() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
getVariableName() - Method in class org.mapstruct.ap.internal.model.Field
+
+
Returns the variable name of this field.
+
+
getVariableName() - Method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
getVersionInformation() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
getVersionInformation() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
getVersionInformation() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
 
+
getWildcardType(TypeMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
getWrappedType(Type) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
getWrapper(Assignment, Method) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
getWrapper(Assignment, Method) - Method in class org.mapstruct.ap.internal.model.IterableMappingMethod.Builder
+
 
+
getWrapper(Assignment, Method) - Method in class org.mapstruct.ap.internal.model.StreamMappingMethod.Builder
+
 
+
getWrapperType(Class<?>) - Static method in class org.mapstruct.ap.internal.util.NativeTypes
+
 
+
GraphAnalyzer - Class in org.mapstruct.ap.internal.model.dependency
+
+
Analyzes graphs: Discovers all descendants of given nodes and detects cyclic dependencies between nodes if present.
+
+
GraphAnalyzer.GraphAnalyzerBuilder - Class in org.mapstruct.ap.internal.model.dependency
+
 
+
GraphAnalyzerBuilder() - Constructor for class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder
+
 
+
+ + + +

H

+
+
hasAccessibleConstructor() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.IterableMappingOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.MapMappingOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
hasAnnotation() - Method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
hasConstructorMappings() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
hasCustomImplementation() - Method in class org.mapstruct.ap.internal.model.Mapper
+
 
+
hasDelegateConstructor(boolean) - Method in class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
hasErrorOccurred() - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
+
 
+
hasExtendsBound() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
A wild card type can have two types of bounds (mutual exclusive): extends and super.
+
+
hashCode() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.common.NegatePresenceCheck
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.common.Type.ResolvedPair
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethod
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.Field
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
hashCode based on class
+
+
hashCode() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
hashCode based on class
+
+
hashCode() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectedMethod
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.SubclassMapping
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
hashCode() - Method in class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
hasInitialCapacityConstructor() - Method in class org.mapstruct.ap.internal.model.common.ImplementationType
+
 
+
hasLowerBound() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
A type variable type can have two types of bounds (mutual exclusive): lower and upper.
+
+
hasMapperConfig() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
hasMappingTargetParameter() - Method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
 
+
hasMappingWithTargetAsException() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
hasNameTransformationStrategy() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
hasNestedTargetReferences() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
+
Check there are nested target references for this mapping options.
+
+
hasObjectFactoryAnnotation() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
hasPackageName() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
hasQualfiers() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
hasReturnType() - Method in class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference
+
 
+
hasSubclassMappings() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
hasSuperBound() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
A wild card type can have two types of bounds (mutual exclusive): extends and super.
+
+
hasUpperBound() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
A type variable type can have two types of bounds (mutual exclusive): lower and upper.
+
+
HelperMethod - Class in org.mapstruct.ap.internal.model
+
+
A non mapping method to be generated.
+
+
HelperMethod() - Constructor for class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
hides(Element, Element) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
+ + + +

I

+
+
ignore() - Method in annotation type org.mapstruct.Mapping
+
+
Whether the property specified via Mapping.target() should be ignored by the generated mapping method or not.
+
+
IGNORE - org.mapstruct.NullValuePropertyMappingStrategy
+
+
If a source bean property equals null the target bean property will be ignored and retain its + existing value.
+
+
IGNORE - org.mapstruct.ReportingPolicy
+
+
No report will be created for the given issue.
+
+
ignoreByDefault() - Method in annotation type org.mapstruct.BeanMapping
+
+
Default ignore all mappings.
+
+
IgnoreJRERequirement - Annotation Type in org.mapstruct.ap.internal.util
+
 
+
ignoreUnmappedSourceProperties() - Method in annotation type org.mapstruct.BeanMapping
+
+
Unmapped source properties to be ignored.
+
+
IMMUTABLE_FQN - Static variable in class org.mapstruct.ap.internal.util.ImmutablesConstants
+
 
+
ImmutablesAccessorNamingStrategy - Class in org.mapstruct.ap.spi
+
+
Accessor naming strategy for Immutables.
+
+
ImmutablesAccessorNamingStrategy() - Constructor for class org.mapstruct.ap.spi.ImmutablesAccessorNamingStrategy
+
 
+
ImmutablesBuilderProvider - Class in org.mapstruct.ap.spi
+
+
Builder provider for Immutables.
+
+
ImmutablesBuilderProvider() - Constructor for class org.mapstruct.ap.spi.ImmutablesBuilderProvider
+
 
+
ImmutablesConstants - Class in org.mapstruct.ap.internal.util
+
+
Helper for holding Immutables FQN.
+
+
implementationName() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
implementationName() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
implementationName() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
implementationName() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
implementationName() - Method in annotation type org.mapstruct.Mapper
+
+
Specifies the name of the implementation class.
+
+
implementationName() - Method in annotation type org.mapstruct.MapperConfig
+
+
Specifies the name of the implementation class.
+
+
implementationPackage() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
implementationPackage() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
implementationPackage() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
implementationPackage() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
implementationPackage() - Method in annotation type org.mapstruct.Mapper
+
+
Specifies the target package for the generated implementation.
+
+
implementationPackage() - Method in annotation type org.mapstruct.MapperConfig
+
+
Specifies the target package for the generated implementation.
+
+
ImplementationType - Class in org.mapstruct.ap.internal.model.common
+
+
This is a wrapper class for the Implementation types that are used within MapStruct.
+
+
implName(String) - Method in class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
implName(String) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
implPackage(String) - Method in class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
implPackage(String) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
imports() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
imports() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
imports() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
imports() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
imports() - Method in annotation type org.mapstruct.Mapper
+
+
Additional types for which an import statement is to be added to the generated mapper implementation class.
+
+
imports() - Method in annotation type org.mapstruct.MapperConfig
+
+
Additional types for which an import statement is to be added to the generated mapper implementation class.
+
+
inferTypeWhenEnum(Type) - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
InheritanceSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
Selects on inheritance distance, e.g. the amount of inheritance steps from the parameter type.
+
+
InheritanceSelector() - Constructor for class org.mapstruct.ap.internal.model.source.selector.InheritanceSelector
+
 
+
InheritConfiguration - Annotation Type in org.mapstruct
+
+
Advises the code generator to apply the configuration (as given via Mapping, IterableMapping etc.)
+
+
INHERITCONFIGURATION_CYCLE - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITCONFIGURATION_DUPLICATE_MATCHES - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITCONFIGURATION_DUPLICATES - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITCONFIGURATION_INVALIDNAME - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITCONFIGURATION_MULTIPLE_PROTOTYPE_METHODS_MATCH - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITCONFIGURATION_NO_NAME_MATCH - org.mapstruct.ap.internal.util.Message
+
 
+
InheritContext(boolean, boolean, Method) - Constructor for class org.mapstruct.ap.internal.model.source.MappingOptions.InheritContext
+
 
+
InheritInverseConfiguration - Annotation Type in org.mapstruct
+
+
Advises the code generator to apply all the Mappings from an inverse mapping method to the annotated method + as well.
+
+
INHERITINVERSECONFIGURATION_DUPLICATE_MATCHES - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITINVERSECONFIGURATION_DUPLICATES - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITINVERSECONFIGURATION_INVALID_NAME - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITINVERSECONFIGURATION_MULTIPLE_PROTOTYPE_METHODS_MATCH - org.mapstruct.ap.internal.util.Message
+
 
+
INHERITINVERSECONFIGURATION_NO_NAME_MATCH - org.mapstruct.ap.internal.util.Message
+
 
+
init(ProcessingEnvironment) - Method in class org.mapstruct.ap.MappingProcessor
+
 
+
init(MapStructProcessingEnvironment) - Method in interface org.mapstruct.ap.spi.AccessorNamingStrategy
+
+
Initializes the accessor naming strategy with the MapStruct processing environment.
+
+
init(MapStructProcessingEnvironment) - Method in interface org.mapstruct.ap.spi.BuilderProvider
+
+
Initializes the builder provider with the MapStruct processing environment.
+
+
init(MapStructProcessingEnvironment) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
 
+
init(MapStructProcessingEnvironment) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
 
+
init(MapStructProcessingEnvironment) - Method in class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
init(MapStructProcessingEnvironment) - Method in interface org.mapstruct.ap.spi.EnumMappingStrategy
+
+
Initializes the enum value mapping strategy
+
+
init(MapStructProcessingEnvironment) - Method in interface org.mapstruct.ap.spi.EnumTransformationStrategy
+
+
Initializes the enum transformation strategy with the MapStruct processing environment.
+
+
injectionStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
Determines whether to use field or constructor injection.
+
+
injectionStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
Determines whether to use field or constructor injection.
+
+
InjectionStrategy - Enum in org.mapstruct
+
+
Strategy for handling injection.
+
+
instantiateMappingMethod(Method, Collection<String>, Assignment, MethodReference, boolean, String, List<LifecycleCallbackMethodReference>, List<LifecycleCallbackMethodReference>, SelectionParameters) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
instantiateMappingMethod(Method, Collection<String>, Assignment, MethodReference, boolean, String, List<LifecycleCallbackMethodReference>, List<LifecycleCallbackMethodReference>, SelectionParameters) - Method in class org.mapstruct.ap.internal.model.IterableMappingMethod.Builder
+
 
+
instantiateMappingMethod(Method, Collection<String>, Assignment, MethodReference, boolean, String, List<LifecycleCallbackMethodReference>, List<LifecycleCallbackMethodReference>, SelectionParameters) - Method in class org.mapstruct.ap.internal.model.StreamMappingMethod.Builder
+
 
+
INTEGER - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
IntrospectorUtils - Class in org.mapstruct.ap.spi.util
+
+
Utilities for tools to learn about the properties, events, and methods supported by a target Java Bean.
+
+
ints() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
inverse() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
inverse() - Method in class org.mapstruct.ap.internal.model.source.ValueMappingOptions
+
 
+
inverse(ConversionProvider) - Static method in class org.mapstruct.ap.internal.conversion.ReverseConversion
+
 
+
inverses(SourceMethod) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isAbstract() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isAbstract() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isAbstractReturnType() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
isAdderMethod(ExecutableElement) - Method in class org.mapstruct.ap.internal.util.AccessorNamingUtils
+
 
+
isAdderMethod(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
+
Returns true when the ExecutableElement is an adder method.
+
+
isAfterMappingMethod() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isAfterMappingMethod(ExecutableElement) - Static method in class org.mapstruct.ap.internal.util.Executables
+
 
+
isAllow2Steps() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isAllowConversion() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isAllowDirect() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isAllowMappingMethod() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isAlwaysGenerateSpi() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
isAnnotatedMapper() - Method in class org.mapstruct.ap.internal.model.DefaultMapperReference
+
 
+
isArrayType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isArrayTypeVar() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isAssignable(TypeMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
isAssignableTo(Type) - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Whether this type is assignable to the given other type, considering the "extends / upper bounds" + as well.
+
+
isBeforeMappingMethod() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isBeforeMappingMethod(ExecutableElement) - Static method in class org.mapstruct.ap.internal.util.Executables
+
 
+
isBoolean() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isBuildMethod(ExecutableElement, TypeElement) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
+
Checks if the buildMethod is a method that creates typeElement.
+
+
isByte() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isCallingUpdateMethod() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
isCallingUpdateMethod() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
 
+
isCallingUpdateMethod() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
isCallingUpdateMethod() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
isCallingUpdateMethod() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
isCanUseSize() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
isCharacter() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isClass() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isCollectionOrMapType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isCollectionType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isConstructor() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
isConstructorMapping() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
isConverted() - Method in enum org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
 
+
isDefault() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
isDefault() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
isDefault() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
isDefault() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Whether this method is Java 8 default method
+
+
isDefault() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isDefaultMethod(ExecutableElement) - Static method in class org.mapstruct.ap.internal.util.Executables
+
 
+
isDeprecated(Element) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
isDirect() - Method in enum org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
 
+
isDirectAssignment() - Method in class org.mapstruct.ap.internal.model.assignment.Java8FunctionWrapper
+
 
+
isDirectAssignment() - Method in class org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMapsWithNullCheck
+
 
+
isDisableBuilders() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
isDisableSubMappingMethodsGeneration() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
isDisableSubMappingMethodsGeneration() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
isDisableSubMappingMethodsGeneration() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
isDisableSubMappingMethodsGeneration() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
isDouble() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isEclipseJDTCompiler() - Method in class org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
 
+
isEclipseJDTCompiler() - Method in interface org.mapstruct.ap.internal.version.VersionInformation
+
 
+
isEmpty() - Method in class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods
+
 
+
isEmpty(String) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
isEnum() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isEnumMapping(Method) - Static method in class org.mapstruct.ap.internal.model.source.MappingMethodUtils
+
+
Checks if the provided method is for enum mapping.
+
+
isEnumSet() - Method in class org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMapsWithNullCheck
+
 
+
isEnumSet() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isEnumSet() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
isEnumType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isErroneous() - Method in class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
isErroneous() - Method in class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
 
+
isErroneous() - Method in class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
 
+
isErroneous() - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext
+
+
Whether the currently processed mapper type is erroneous which is the + case if at least one diagnostic with Diagnostic.Kind.ERROR is reported + by any of the participating processors.
+
+
isErroneous() - Method in interface org.mapstruct.ap.internal.util.FormattingMessager
+
 
+
isExcluded(TypeElement) - Method in interface org.mapstruct.ap.spi.MappingExclusionProvider
+
+
Checks if MapStruct should not generate an automatic sub-mapping for the provided TypeElement, i.e.
+
+
isExistingInstanceMapping() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
isFieldAccessor(VariableElement) - Static method in class org.mapstruct.ap.internal.util.Fields
+
 
+
isFieldAssignment() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
isFieldAssignment() - Method in enum org.mapstruct.ap.internal.util.accessor.AccessorType
+
 
+
isFieldFinal() - Method in class org.mapstruct.ap.internal.model.AnnotationMapperReference
+
 
+
isFinal(Accessor) - Static method in class org.mapstruct.ap.internal.util.Executables
+
 
+
isFloat() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isFluentSetter(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
 
+
isFluentSetter(ExecutableElement) - Method in class org.mapstruct.ap.spi.FreeBuilderAccessorNamingStrategy
+
 
+
isFluentSetter(ExecutableElement) - Method in class org.mapstruct.ap.spi.ImmutablesAccessorNamingStrategy
+
 
+
isForForgedMethods() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
isForgedNamedBased() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
isForMapping() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isForwarded() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions.InheritContext
+
 
+
isFullyInitialized() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
isFunctionalInterface(TypeElement) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
isGeneratedTypeAvailable() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
isGetterMethod(ExecutableElement) - Method in class org.mapstruct.ap.internal.util.AccessorNamingUtils
+
 
+
isGetterMethod(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
+
Returns true when the ExecutableElement is a getter method.
+
+
isignoreByDefault() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
isIgnored() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
isIncludeAnnotationsOnField() - Method in class org.mapstruct.ap.internal.model.AnnotationMapperReference
+
 
+
isIncludeElseBranch() - Method in class org.mapstruct.ap.internal.model.assignment.ExistingInstanceSetterWrapperForCollectionsAndMaps
+
 
+
isIncludeSourceNullCheck() - Method in class org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
 
+
isIncludeSourceNullCheck() - Method in class org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper
+
 
+
isIncludeSourceNullCheck() - Method in class org.mapstruct.ap.internal.model.assignment.SetterWrapper
+
 
+
isIncludeSourceNullCheck() - Method in class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
 
+
isIncludeSourceNullCheck() - Method in class org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
 
+
isInteger() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isInterface() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isIntersection() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isInverse() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
isInvokeSuperConstructor() - Method in class org.mapstruct.ap.internal.model.DecoratorConstructor
+
 
+
isIterableMapping() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isIterableOrStreamType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Whether this type is a sub-type ofIterable, Stream or an array type
+
+
isIterableType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Whether this type is a sub-type of Iterable or an array type.
+
+
isJavacCompiler() - Method in class org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
 
+
isJavacCompiler() - Method in interface org.mapstruct.ap.internal.version.VersionInformation
+
 
+
isJavaLangType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isLifecycleCallbackMethod() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
isLifecycleCallbackMethod() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
isLifecycleCallbackMethod() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
isLifecycleCallbackMethod() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
isLifecycleCallbackMethod() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isLifecycleCallbackMethod(ExecutableElement) - Static method in class org.mapstruct.ap.internal.util.Executables
+
 
+
isLifecycleCallbackRequired() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isLiteral() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isLoadFactorAdjustment() - Method in class org.mapstruct.ap.internal.model.common.ImplementationType
+
+
If this method returns true then ImplementationType.hasInitialCapacityConstructor() also returns true
+
+
isLoadFactorAdjustment() - Method in class org.mapstruct.ap.internal.model.IterableCreation
+
 
+
isLong() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isMapMapping() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isMapNullToDefault() - Method in class org.mapstruct.ap.internal.model.assignment.ExistingInstanceSetterWrapperForCollectionsAndMaps
+
 
+
isMapNullToDefault() - Method in class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
+
 
+
isMappingContext() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
isMappingContext() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
isMappingTarget() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
isMappingTarget() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
isMappingTargetAssignableToReturnType() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
isMapType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isMethodChaining() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
isNarrowing(String, String) - Static method in class org.mapstruct.ap.internal.util.NativeTypes
+
 
+
isNative() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
All primitive types and their corresponding boxed types are considered native.
+
+
isNative(String) - Static method in class org.mapstruct.ap.internal.util.NativeTypes
+
 
+
isNegate() - Method in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
isNegate() - Method in class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
isNegate() - Method in class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
isNested() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
isNested() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
isNotEmpty(String) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
isNumber(Class<?>) - Static method in class org.mapstruct.ap.internal.util.NativeTypes
+
 
+
isObjectFactory() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
+
object factory mechanism not supported for forged methods
+
+
isObjectFactory() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
object factory mechanism not supported for built-in methods
+
+
isObjectFactory() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
object factory mechanism not supported for built-in methods
+
+
isObjectFactory() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns whether the meethod is designated as bean factory for + mapping target ObjectFactory
+
+
isObjectFactory() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isObjectFactoryRequired() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isOverridden() - Method in class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
+
 
+
isOverridden() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod
+
 
+
isPossibleBuilderCreationMethod(ExecutableElement, TypeElement) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
+
Checks if the method is a possible builder creation method.
+
+
isPreferUpdateMapping() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isPresenceCheck() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Returns whether the method is designated as a presence check method
+
+
isPresenceCheck() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isPresenceCheckMethod(ExecutableElement) - Method in class org.mapstruct.ap.internal.util.AccessorNamingUtils
+
 
+
isPresenceCheckMethod(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
+
Returns true when the ExecutableElement is a presence check method that checks if the + corresponding property is present (e.g. not null, not nil, ..).
+
+
isPresenceCheckRequired() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isPrimitive() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isPutterMethod(ExecutableElement) - Method in class org.mapstruct.ap.spi.ImmutablesAccessorNamingStrategy
+
 
+
isRawAssignableTo(Type) - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Whether this type is raw assignable to the given other type.
+
+
isReadyForProcessing(TypeMirror) - Method in class org.mapstruct.ap.internal.util.RoundContext
+
+
Whether the given type has been found to be ready for further processing or not.
+
+
isRecord() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isRemovedEnumMapping() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
+
Enum Mapping was realized with @Mapping in stead of @ValueMapping.
+
+
isRestrictToDefinedMappings() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
isReversed() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions.InheritContext
+
 
+
isSameType(TypeMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
isSealed() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
return true if this type is a java 17+ sealed class
+
+
isSelfAllowed() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
isSetExplicitlyToDefault() - Method in class org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
 
+
isSetExplicitlyToDefault() - Method in class org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper
+
 
+
isSetExplicitlyToDefault() - Method in class org.mapstruct.ap.internal.model.assignment.SetterWrapper
+
 
+
isSetExplicitlyToDefault() - Method in class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
 
+
isSetExplicitlyToDefault() - Method in class org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
 
+
isSetExplicitlyToNull() - Method in class org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
 
+
isSetExplicitlyToNull() - Method in class org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper
+
 
+
isSetExplicitlyToNull() - Method in class org.mapstruct.ap.internal.model.assignment.SetterWrapper
+
 
+
isSetExplicitlyToNull() - Method in class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
 
+
isSetExplicitlyToNull() - Method in class org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
 
+
isSetterMethod(ExecutableElement) - Method in class org.mapstruct.ap.internal.util.AccessorNamingUtils
+
 
+
isSetterMethod(ExecutableElement) - Method in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
+
Returns true when the ExecutableElement is a setter method.
+
+
isShort() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isSingleton() - Method in class org.mapstruct.ap.internal.model.DefaultMapperReference
+
 
+
isSourceReferenceParameter() - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
isSourceReferenceParameter() - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
 
+
isSourceReferenceParameter() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
isSourceReferenceParameter() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
isSourceReferenceParameter() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
isSourceVersionAtLeast9() - Method in class org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
 
+
isSourceVersionAtLeast9() - Method in interface org.mapstruct.ap.internal.version.VersionInformation
+
 
+
isStatic() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
isStatic() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
isStatic() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
isStatic() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
isStatic() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
isStatic() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Whether this method is static or an instance method
+
+
isStatic() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isStreamMapping() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isStreamType() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Whether this type is a sub-type of Stream.
+
+
isString() - Method in class org.mapstruct.ap.internal.model.annotation.AnnotationElement
+
 
+
isString() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isSubsignature(ExecutableType, ExecutableType) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
isSubtype(TypeMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
isSubtypeErased(TypeMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
isSubtypeErased(TypeMirror, TypeMirror) - Method in interface org.mapstruct.ap.internal.util.TypeUtils
+
 
+
isSuppressGeneratorTimestamp() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
isSuppressGeneratorTimestamp() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
isSuppressGeneratorVersionComment() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
isSuppressGeneratorVersionComment() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
isTargetAsException() - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.MappingEntry
+
 
+
isTargetPropertyName() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
isTargetPropertyName() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
isTargetType() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
isTargetType() - Method in class org.mapstruct.ap.internal.model.common.ParameterBinding
+
 
+
isToBeImported() - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Whether this type is to be imported by means of an import statement in the currently generated source file + (it can be referenced in the generated source using its simple name) or not (referenced using the FQN).
+
+
isTopLevelTypeToBeImported() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isTypeAvailable(String) - Method in class org.mapstruct.ap.internal.model.common.TypeFactory
+
+
Determines if the type with the given full qualified name is part of the classpath
+
+
isTypeComplete(TypeMirror) - Method in interface org.mapstruct.ap.spi.AstModifyingAnnotationProcessor
+
+
Whether the specified type has been fully processed by this processor or not (i.e. this processor will amend the + given type's structure after this invocation).
+
+
isTypeRequiresImport() - Method in class org.mapstruct.ap.internal.model.Field
+
+
field needs to be imported
+
+
isTypeVar() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isUpdateMethod() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
isUpdateMethod() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
isUpdateMethod() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
isUpdateMethod() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
 
+
isUpdateMethod() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
isUsed() - Method in class org.mapstruct.ap.internal.model.Field
+
+
indicates whether the field is indeed used
+
+
isValid() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
isValid() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
isValid() - Method in class org.mapstruct.ap.internal.model.source.EnumMappingOptions
+
 
+
isValid() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
isValidUsage(Element, AnnotationMirror, TypeMirror) - Method in class org.mapstruct.ap.internal.model.source.SubclassValidator
+
 
+
isValueMapping() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
+
The default enum mapping (no mappings specified) will from now on be handled as a value mapping.
+
+
isVarArgs() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
isVerbose() - Method in class org.mapstruct.ap.internal.option.Options
+
 
+
isVoid() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
isWildCardBoundByTypeVar() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
IterableCreation - Class in org.mapstruct.ap.internal.model
+
+
Model element that can be used to create a type of Iterable or Map.
+
+
IterableMapping - Annotation Type in org.mapstruct
+
+
Configures the mapping between two iterable like types, e.g.
+
+
ITERABLEMAPPING_CREATE_ELEMENT_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
ITERABLEMAPPING_CREATE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
ITERABLEMAPPING_MAPPING_NOT_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
ITERABLEMAPPING_NO_ELEMENTS - org.mapstruct.ap.internal.util.Message
+
 
+
ITERABLEMAPPING_SELECT_ELEMENT_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
IterableMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A MappingMethod implemented by a Mapper class which maps one iterable type to another.
+
+
IterableMappingMethod.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
IterableMappingOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Represents an iterable mapping as configured via @IterableMapping.
+
+
+ + + +

J

+
+
JAKARTA - Static variable in class org.mapstruct.MappingConstants.ComponentModel
+
+
The generated mapper is annotated with @Named and @Singleton, and can be retrieved via @Inject.
+
+
JAKARTA_CDI - Static variable in class org.mapstruct.MappingConstants.ComponentModel
+
+
The generated mapper is an application-scoped Jakarta CDI bean and can be retrieved via @Inject.
+
+
JAKARTA_JAXB_ELEMENT_FQN - Static variable in class org.mapstruct.ap.internal.util.JaxbConstants
+
 
+
JakartaCdiComponentProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which converts the given Mapper + object into an application-scoped Jakarta CDI bean in case Jakarta CDI + is configured as the target component model for this mapper.
+
+
JakartaCdiComponentProcessor() - Constructor for class org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor
+
 
+
JakartaComponentProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which converts the given Mapper + object into a Jakarta Inject style bean in case "jakarta" is configured as the + target component model for this mapper.
+
+
JakartaComponentProcessor() - Constructor for class org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
 
+
Java8FunctionWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Wraps the assignment in a Function to be used in Java 8 map methods
+
+
Java8FunctionWrapper(Assignment) - Constructor for class org.mapstruct.ap.internal.model.assignment.Java8FunctionWrapper
+
 
+
Java8FunctionWrapper(Assignment, Type) - Constructor for class org.mapstruct.ap.internal.model.assignment.Java8FunctionWrapper
+
 
+
JavacElementUtilsDecorator - Class in org.mapstruct.ap.internal.util
+
 
+
JavacTypeUtilsDecorator - Class in org.mapstruct.ap.internal.util
+
 
+
javadoc(Javadoc) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
Javadoc - Class in org.mapstruct.ap.internal.model
+
+
Represents the javadoc information that should be generated for a Mapper.
+
+
Javadoc - Annotation Type in org.mapstruct
+
+
Allows the definition of Javadoc comments in the MapStruct Mapper generated class.
+
+
JAVADOC_NO_ELEMENTS - org.mapstruct.ap.internal.util.Message
+
 
+
Javadoc.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
javaExpression(String) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.JavaExpressionMappingBuilder
+
 
+
JavaExpressionPresenceCheck - Class in org.mapstruct.ap.internal.model.presence
+
 
+
JavaExpressionPresenceCheck(String) - Constructor for class org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck
+
 
+
JavaInstantToDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
SimpleConversion for mapping Instant to + Date and vice versa.
+
+
JavaInstantToDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaInstantToDateConversion
+
 
+
JavaLocalDateTimeToDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
SimpleConversion for mapping LocalDateTime to + Date and vice versa.
+
+
JavaLocalDateTimeToDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion
+
 
+
JavaLocalDateTimeToLocalDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
SimpleConversion for mapping LocalDateTime to + LocalDate and vice versa.
+
+
JavaLocalDateTimeToLocalDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion
+
 
+
JavaLocalDateTimeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Specialization of AbstractJavaTimeToStringConversion for converting LocalDateTime
+
+
JavaLocalDateTimeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToStringConversion
+
 
+
JavaLocalDateToDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
SimpleConversion for mapping LocalDate to + Date and vice versa.
+
+
JavaLocalDateToDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion
+
 
+
JavaLocalDateToSqlDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
SimpleConversion for mapping LocalDate to + Date and vice versa.
+
+
JavaLocalDateToSqlDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion
+
 
+
JavaLocalDateToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Specialization of AbstractJavaTimeToStringConversion for converting LocalDate
+
+
JavaLocalDateToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaLocalDateToStringConversion
+
 
+
JavaLocalTimeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Specialization of AbstractJavaTimeToStringConversion for converting LocalTime
+
+
JavaLocalTimeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaLocalTimeToStringConversion
+
 
+
JavaStreamConstants - Class in org.mapstruct.ap.internal.util
+
+
Helper holding Java Stream full qualified class names for conversion registration
+
+
JAVAX_JAXB_ELEMENT_FQN - Static variable in class org.mapstruct.ap.internal.util.JaxbConstants
+
 
+
JAVAX_XML_DATATYPE_CONFIGURATION_EXCEPTION - Static variable in class org.mapstruct.ap.internal.util.XmlConstants
+
 
+
JAVAX_XML_DATATYPE_CONSTANTS - Static variable in class org.mapstruct.ap.internal.util.XmlConstants
+
 
+
JAVAX_XML_DATATYPE_FACTORY - Static variable in class org.mapstruct.ap.internal.util.XmlConstants
+
 
+
JAVAX_XML_XML_GREGORIAN_CALENDAR - Static variable in class org.mapstruct.ap.internal.util.XmlConstants
+
 
+
JavaZonedDateTimeToDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
SimpleConversion for mapping ZonedDateTime to + Date and vice versa.
+
+
JavaZonedDateTimeToDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion
+
 
+
JavaZonedDateTimeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Specialization of AbstractJavaTimeToStringConversion for converting ZonedDateTime
+
+
JavaZonedDateTimeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToStringConversion
+
 
+
JaxbConstants - Class in org.mapstruct.ap.internal.util
+
+
Helper holding JAXB time full qualified class names for conversion registration
+
+
JodaDateTimeToCalendarConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between DateTime and Calendar.
+
+
JodaDateTimeToCalendarConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion
+
 
+
JodaDateTimeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between DateTime and String.
+
+
JodaDateTimeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JodaDateTimeToStringConversion
+
 
+
JodaDateTimeToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
JodaDateTimeToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.JodaDateTimeToXmlGregorianCalendar
+
 
+
JodaLocalDateTimeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between LocalDateTime and String.
+
+
JodaLocalDateTimeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JodaLocalDateTimeToStringConversion
+
 
+
JodaLocalDateTimeToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
JodaLocalDateTimeToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateTimeToXmlGregorianCalendar
+
 
+
JodaLocalDateToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between LocalDate and String.
+
+
JodaLocalDateToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JodaLocalDateToStringConversion
+
 
+
JodaLocalDateToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
JodaLocalDateToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateToXmlGregorianCalendar
+
 
+
JodaLocalTimeToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between LocalTime and String.
+
+
JodaLocalTimeToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JodaLocalTimeToStringConversion
+
 
+
JodaLocalTimeToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
JodaLocalTimeToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.JodaLocalTimeToXmlGregorianCalendar
+
 
+
JodaTimeConstants - Class in org.mapstruct.ap.internal.util
+
+
Helper holding constants for working with Joda-Time.
+
+
JodaTimeToDateConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between the following Joda types and Date: + + org.joda.time.DateTime + org.joda.time.LocalDateTime + org.joda.time.LocalDate +
+
+
JodaTimeToDateConversion() - Constructor for class org.mapstruct.ap.internal.conversion.JodaTimeToDateConversion
+
 
+
join(Iterable<?>, String) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
join(Iterable<T>, String, Extractor<T, String>) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
join(List<T>, List<T>) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
joinAndCamelize(Iterable<?>) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
JSR330 - Static variable in class org.mapstruct.MappingConstants.ComponentModel
+
+
The generated mapper is annotated with @Named and @Singleton, and can be retrieved via @Inject.
+
+
Jsr330ComponentProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which converts the given Mapper + object into a JSR 330 style bean in case "jsr330" is configured as the + target component model for this mapper.
+
+
Jsr330ComponentProcessor() - Constructor for class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
 
+
+ + + +

K

+
+
keyDateFormat() - Method in annotation type org.mapstruct.MapMapping
+
+
A format string as processable by SimpleDateFormat if the annotated method maps from a map with key type + String to an map with key type Date or vice-versa.
+
+
keyFormattingParameters(FormattingParameters) - Method in class org.mapstruct.ap.internal.model.MapMappingMethod.Builder
+
 
+
keyMappingControl() - Method in annotation type org.mapstruct.MapMapping
+
+
Allows detailed control over the key mapping process.
+
+
keyNumberFormat() - Method in annotation type org.mapstruct.MapMapping
+
+
A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
+
+
keyQualifiedBy() - Method in annotation type org.mapstruct.MapMapping
+
+
A key value qualifier can be specified to aid the selection process of a suitable mapper.
+
+
keyQualifiedByName() - Method in annotation type org.mapstruct.MapMapping
+
+
String-based form of qualifiers; When looking for a suitable mapping method to map this map mapping method's key + type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the class-level) a + Named annotation for each of the specified qualifier names.
+
+
keySelectionParameters(SelectionParameters) - Method in class org.mapstruct.ap.internal.model.MapMappingMethod.Builder
+
 
+
keyTargetType() - Method in annotation type org.mapstruct.MapMapping
+
+
Specifies the type of the key to be used in the result of the mapping method in case multiple mapping + methods qualify.
+
+
+ + + +

L

+
+
last(List<T>) - Static method in class org.mapstruct.ap.internal.util.Collections
+
 
+
LIFECYCLE_CALLBACK - org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
+
 
+
LifecycleCallbackMethodReference - Class in org.mapstruct.ap.internal.model
+
+
Represents a reference to a method that is annotated with @BeforeMapping or @AfterMapping.
+
+
LIFECYCLEMETHOD_AMBIGUOUS_PARAMETERS - org.mapstruct.ap.internal.util.Message
+
 
+
LifecycleMethodResolver - Class in org.mapstruct.ap.internal.model
+
+
Factory for creating lists of appropriate LifecycleCallbackMethodReferences
+
+
LOCAL_DATE_FQN - Static variable in class org.mapstruct.ap.internal.util.JodaTimeConstants
+
 
+
LOCAL_DATE_TIME_FQN - Static variable in class org.mapstruct.ap.internal.util.JodaTimeConstants
+
 
+
LOCAL_TIME_FQN - Static variable in class org.mapstruct.ap.internal.util.JodaTimeConstants
+
 
+
localDate(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for LocalDate.
+
+
localDateTime(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for LocalDateTime.
+
+
LocalDateTimeToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
LocalDateTimeToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.LocalDateTimeToXmlGregorianCalendar
+
 
+
LocalDateToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
LocalDateToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.LocalDateToXmlGregorianCalendar
+
 
+
locale(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for Locale.
+
+
LocaleToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between Locale and String.
+
+
LocaleToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.LocaleToStringConversion
+
 
+
LocalVarWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Decorates an assignment as local variable.
+
+
LocalVarWrapper(Assignment, List<Type>, Type, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.LocalVarWrapper
+
 
+
LONG - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
longs() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
+ + + +

M

+
+
mapContainsKey(String) - Static method in interface org.mapstruct.ap.internal.util.accessor.PresenceCheckAccessor
+
 
+
MapMapping - Annotation Type in org.mapstruct
+
+
Configures the mapping between two map types, e.g.
+
+
MAPMAPPING_CREATE_KEY_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
MAPMAPPING_CREATE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
MAPMAPPING_CREATE_VALUE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
MAPMAPPING_KEY_MAPPING_NOT_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
MAPMAPPING_NO_ELEMENTS - org.mapstruct.ap.internal.util.Message
+
 
+
MAPMAPPING_SELECT_KEY_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
MAPMAPPING_SELECT_VALUE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
MAPMAPPING_VALUE_MAPPING_NOT_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
MapMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A MappingMethod implemented by a Mapper class which maps one Map type to another.
+
+
MapMappingMethod.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
MapMappingOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Represents a map mapping as configured via @MapMapping.
+
+
MAPPED - org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
assignment is mapped (builtin/custom)
+
+
MAPPED_TWICE - org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
2 mapping methods (builtin/custom) are applied to get the target
+
+
MAPPED_TYPE_CONVERTED - org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
assignment is first mapped (builtin/custom), then the result is type converted
+
+
Mapper - Class in org.mapstruct.ap.internal.model
+
+
Represents a type implementing a mapper interface (annotated with @Mapper).
+
+
Mapper - Annotation Type in org.mapstruct
+
+
Marks an interface or abstract class as a mapper and activates the generation of a implementation of that type via + MapStruct.
+
+
Mapper.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
MapperAnnotatedFormattingMessenger - Class in org.mapstruct.ap.internal.processor
+
+
Handles redirection of errors/warnings so that they're shown on the mapper instead of hidden on a superclass.
+
+
MapperAnnotatedFormattingMessenger(FormattingMessager, TypeElement, TypeUtils) - Constructor for class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
 
+
MapperConfig - Annotation Type in org.mapstruct
+
+
Marks a class or interface as configuration source for generated mappers.
+
+
MapperConfigOptions - Class in org.mapstruct.ap.internal.model.source
+
 
+
mapperConfigType() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
MapperCreationProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which creates a Mapper from the given + list of SourceMethods.
+
+
MapperCreationProcessor() - Constructor for class org.mapstruct.ap.internal.processor.MapperCreationProcessor
+
 
+
mapperElement(TypeElement) - Method in class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
MapperOptions - Class in org.mapstruct.ap.internal.model.source
+
 
+
MapperReference - Class in org.mapstruct.ap.internal.model
+
+
A reference to another mapper class, which itself may be generated or hand-written.
+
+
MapperReference(Type, String) - Constructor for class org.mapstruct.ap.internal.model.MapperReference
+
 
+
MapperReference(Type, String, boolean) - Constructor for class org.mapstruct.ap.internal.model.MapperReference
+
 
+
MapperRenderingProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which creates a Java source file representing + the given Mapper object, unless the given mapper type is erroneous.
+
+
MapperRenderingProcessor() - Constructor for class org.mapstruct.ap.internal.processor.MapperRenderingProcessor
+
 
+
Mappers - Class in org.mapstruct.factory
+
+
Factory for obtaining mapper instances if no explicit component model such as CDI is configured via + Mapper.componentModel().
+
+
MapperServiceProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which creates files in the META-INF/services + hierarchy for classes with custom implementation class or package name.
+
+
MapperServiceProcessor() - Constructor for class org.mapstruct.ap.internal.processor.MapperServiceProcessor
+
 
+
mapping(MappingOptions) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
+
 
+
mapping(MappingOptions) - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
Mapping - Annotation Type in org.mapstruct
+
+
Configures the mapping of one bean attribute or enum constant.
+
+
MAPPING_METHOD - org.mapstruct.control.MappingControl.Use
+
+
Controls the mapping, allows for Direct Mapping from source type to target type.
+
+
mappingBuilderContext(MappingBuilderContext) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
MappingBuilderContext - Class in org.mapstruct.ap.internal.model
+
+
This class provides the context for the builders.
+
+
MappingBuilderContext(TypeFactory, ElementUtils, TypeUtils, FormattingMessager, AccessorNamingUtils, EnumMappingStrategy, Map<String, EnumTransformationStrategy>, Options, MappingBuilderContext.MappingResolver, TypeElement, List<SourceMethod>, List<MapperReference>) - Constructor for class org.mapstruct.ap.internal.model.MappingBuilderContext
+
 
+
MappingBuilderContext.MappingResolver - Interface in org.mapstruct.ap.internal.model
+
+
Resolves the most suitable way for mapping an element (property, iterable element etc.) from source to target.
+
+
MappingConstants - Class in org.mapstruct
+
+
Contains all constants defined in the mapping process.
+
+
MappingConstants.ComponentModel - Class in org.mapstruct
+
+
Specifies the component model constants to which the generated mapper should adhere.
+
+
mappingContext(MappingBuilderContext) - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder
+
 
+
mappingContext(MappingBuilderContext) - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
mappingContext(MappingBuilderContext) - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.Builder
+
 
+
mappingControl() - Method in annotation type org.mapstruct.BeanMapping
+
+
Allows detailed control over the mapping process.
+
+
mappingControl() - Method in annotation type org.mapstruct.Mapper
+
+
Allows detailed control over the mapping process.
+
+
mappingControl() - Method in annotation type org.mapstruct.MapperConfig
+
+
Allows detailed control over the mapping process.
+
+
mappingControl() - Method in annotation type org.mapstruct.Mapping
+
+
Allows detailed control over the mapping process.
+
+
MappingControl - Class in org.mapstruct.ap.internal.model.source
+
 
+
MappingControl - Annotation Type in org.mapstruct.control
+
+
Controls which means of mapping are considered between the source and the target in mappings.
+
+
MappingControl.Use - Enum in org.mapstruct.control
+
 
+
MappingControls - Annotation Type in org.mapstruct.control
+
+
Allows multiple MappingControl on a class declaration.
+
+
MappingExclusionProvider - Interface in org.mapstruct.ap.spi
+
+
A service provider interface that is used to control if MapStruct is allowed to generate automatic sub-mapping for + a given TypeElement.
+
+
mappingInheritanceStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
The strategy to use for applying method-level configuration annotations of prototype methods in the interface + specified with Mapper.config().
+
+
mappingInheritanceStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
The strategy to use for applying method-level configuration annotations of prototype methods in the interface + annotated with this annotation.
+
+
MappingInheritanceStrategy - Enum in org.mapstruct
+
+
Strategy for inheriting configurations given for methods of prototype mapping methods (declared on mapper config + classes) to actual mapping methods declared on mappers referring to such config class via Mapper.config().
+
+
MappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A method implemented or referenced by a Mapper class.
+
+
MappingMethod(Method) - Constructor for class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
MappingMethod(Method, Collection<String>, List<LifecycleCallbackMethodReference>, List<LifecycleCallbackMethodReference>) - Constructor for class org.mapstruct.ap.internal.model.MappingMethod
+
+
constructor to be overloaded when local variable names are required prior to calling this constructor.
+
+
MappingMethod(Method, List<Parameter>) - Constructor for class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
MappingMethod(Method, List<Parameter>, Collection<String>, List<LifecycleCallbackMethodReference>, List<LifecycleCallbackMethodReference>) - Constructor for class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
MappingMethod(Method, List<LifecycleCallbackMethodReference>, List<LifecycleCallbackMethodReference>) - Constructor for class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
MappingMethodOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Encapsulates all options specifiable on a mapping method
+
+
MappingMethodOptions(MapperOptions, Set<MappingOptions>, IterableMappingOptions, MapMappingOptions, BeanMappingOptions, EnumMappingOptions, List<ValueMappingOptions>, Set<SubclassMappingOptions>, SubclassValidator) - Constructor for class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
MappingMethodUtils - Class in org.mapstruct.ap.internal.model.source
+
 
+
MappingOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Represents a property mapping as configured via @Mapping (no intermediate state).
+
+
MappingOptions.InheritContext - Class in org.mapstruct.ap.internal.model.source
+
 
+
MappingProcessor - Class in org.mapstruct.ap
+
+
A JSR 269 annotation Processor which generates the implementations for mapper interfaces (interfaces + annotated with @Mapper).
+
+
MappingProcessor() - Constructor for class org.mapstruct.ap.MappingProcessor
+
 
+
MappingReference - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
Represents the intermediate (nesting) state of the MappingOptions in this class.
+
+
MappingReference(MappingOptions, TargetReference, SourceReference) - Constructor for class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
mappingReferences(MappingReferences) - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
MappingReferences - Class in org.mapstruct.ap.internal.model.beanmapping
+
 
+
MappingReferences(Set<MappingReference>, boolean) - Constructor for class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
MappingReferences(Set<MappingReference>, boolean, boolean) - Constructor for class org.mapstruct.ap.internal.model.beanmapping.MappingReferences
+
 
+
MappingResolverImpl - Class in org.mapstruct.ap.internal.processor.creation
+
+
The one and only implementation of MappingBuilderContext.MappingResolver.
+
+
MappingResolverImpl(FormattingMessager, ElementUtils, TypeUtils, TypeFactory, List<Method>, List<MapperReference>, boolean) - Constructor for class org.mapstruct.ap.internal.processor.creation.MappingResolverImpl
+
 
+
Mappings - Annotation Type in org.mapstruct
+
+
Configures the mappings of several bean attributes.
+
+
MappingTarget - Annotation Type in org.mapstruct
+
+
Declares a parameter of a mapping method to be the target of the mapping.
+
+
MapStructProcessingEnvironment - Interface in org.mapstruct.ap.spi
+
+
MapStruct will provide the implementations of its SPIs with on object implementing this interface so they can use + facilities provided by it.
+
+
MAPTOBEANMAPPING_RAW_MAP - org.mapstruct.ap.internal.util.Message
+
 
+
MAPTOBEANMAPPING_WRONG_KEY_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
MapValueAccessor - Class in org.mapstruct.ap.internal.util.accessor
+
+
An Accessor that wraps a Map value.
+
+
MapValueAccessor(Element, TypeMirror, String) - Constructor for class org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
 
+
markAsFullyInitialized() - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
matches(List<Type>, Type) - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
matches(List<Type>, Type) - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
+
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method.
+
+
matches(List<Type>, Type) - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
+
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method.
+
+
matches(List<Type>, Type) - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method.
+
+
matches(List<Type>, Type) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
Message - Enum in org.mapstruct.ap.internal.util
+
+
A message used in warnings/errors raised by the annotation processor.
+
+
MESSAGE_MOVED_TO_MAPPER_ERROR - org.mapstruct.ap.internal.util.Message
+
 
+
MESSAGE_MOVED_TO_MAPPER_WARNING - org.mapstruct.ap.internal.util.Message
+
 
+
MessageConstants - Class in org.mapstruct.ap.internal.util
+
 
+
messager(FormattingMessager) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
+
 
+
messager(FormattingMessager) - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
method(ForgedMethod) - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder
+
 
+
method(Method) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
+
 
+
method(Method) - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
method(Method) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
method(Method) - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
method(Method) - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.Builder
+
 
+
Method - Interface in org.mapstruct.ap.internal.model.source
+
+
This interface makes available common method properties and a matching method There are 2 known implementors: + BuiltInMethod and SourceMethod
+
+
MethodFamilySelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
Selects those methods from the given input set which match for the requested family of methods: factory methods, + lifecycle callback methods, or any other mapping methods.
+
+
MethodFamilySelector() - Constructor for class org.mapstruct.ap.internal.model.source.selector.MethodFamilySelector
+
 
+
methodInvocation(ExecutableElement) - Static method in interface org.mapstruct.ap.internal.util.accessor.PresenceCheckAccessor
+
 
+
MethodMatcher - Class in org.mapstruct.ap.internal.model.source
+
+
SourceMethodMatcher $8.4 of the JavaLanguage specification describes a method body as such:
+
+
methodReference - Variable in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
MethodReference - Class in org.mapstruct.ap.internal.model
+
+
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 the new operator).
+
+
MethodReference(Method, MapperReference, Parameter, List<ParameterBinding>) - Constructor for class org.mapstruct.ap.internal.model.MethodReference
+
+
Creates a new reference to the given method.
+
+
MethodReferencePresenceCheck - Class in org.mapstruct.ap.internal.model
+
 
+
MethodReferencePresenceCheck(MethodReference) - Constructor for class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
MethodReferencePresenceCheck(MethodReference, boolean) - Constructor for class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
MethodRetrievalProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which retrieves a list of SourceMethods + representing all the mapping methods of the given bean mapper type as well as + all referenced mapper methods declared by other mappers referenced by the + current mapper.
+
+
MethodRetrievalProcessor() - Constructor for class org.mapstruct.ap.internal.processor.MethodRetrievalProcessor
+
 
+
methods - Variable in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
methods(List<MappingMethod>) - Method in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
MethodSelectors - Class in org.mapstruct.ap.internal.model.source.selector
+
+
Applies all known MethodSelectors in order.
+
+
MethodSelectors(TypeUtils, ElementUtils, FormattingMessager) - Constructor for class org.mapstruct.ap.internal.model.source.selector.MethodSelectors
+
 
+
MethodType - Enum in org.mapstruct.ap.spi
+
+
Different types of a method.
+
+
ModelElement - Class in org.mapstruct.ap.internal.model.common
+
+
Base class of all model elements.
+
+
ModelElement() - Constructor for class org.mapstruct.ap.internal.model.common.ModelElement
+
 
+
ModelElementProcessor<P,​R> - Interface in org.mapstruct.ap.internal.processor
+
+
A processor which performs one task of the mapper generation, e.g. retrieving + methods from the source TypeElement, performing validity checks or + generating the output source file.
+
+
ModelElementProcessor.ProcessorContext - Interface in org.mapstruct.ap.internal.processor
+
+
Context object passed to + ModelElementProcessor.process(ProcessorContext, TypeElement, Object) + providing access to common infrastructure objects such as TypeUtils + etc.
+
+
ModelIncludeDirective - Class in org.mapstruct.ap.internal.writer
+
+
A TemplateDirectiveModel which allows to recursively write a graph of + Writables, with each element using its own template.
+
+
ModelIncludeDirective(Configuration) - Constructor for class org.mapstruct.ap.internal.writer.ModelIncludeDirective
+
 
+
ModelWriter - Class in org.mapstruct.ap.internal.writer
+
+
Writes Java source files based on given mapper models, using a FreeMarker + template.
+
+
ModelWriter() - Constructor for class org.mapstruct.ap.internal.writer.ModelWriter
+
 
+
MoreThanOneBuilderCreationMethodException - Exception in org.mapstruct.ap.spi
+
+
Indicates that a type has too many builder creation methods.
+
+
MoreThanOneBuilderCreationMethodException(TypeMirror, List<BuilderInfo>) - Constructor for exception org.mapstruct.ap.spi.MoreThanOneBuilderCreationMethodException
+
 
+
MostSpecificResultTypeSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
 
+
MostSpecificResultTypeSelector() - Constructor for class org.mapstruct.ap.internal.model.source.selector.MostSpecificResultTypeSelector
+
 
+
multipleInstanceOn(Element) - Method in class org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder
+
 
+
multipleInstanceOn(Element) - Method in class org.mapstruct.ap.internal.util.RepeatableAnnotations
+
 
+
+ + + +

N

+
+
name - Variable in class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
 
+
name() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
 
+
name() - Method in annotation type org.mapstruct.InheritConfiguration
+
+
The name of the mapping method to inherit the mappings from.
+
+
name() - Method in annotation type org.mapstruct.InheritInverseConfiguration
+
+
The name of the inverse mapping method to inherit the mappings from.
+
+
name(String) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
+
 
+
Named - Annotation Type in org.mapstruct
+
+
Marks mapping methods with the given qualifier name.
+
+
nameTransformationStrategy() - Method in annotation type org.mapstruct.EnumMapping
+
+
Specifies the name transformation strategy that should be used for implicit mapping between enums.
+
+
NativeTypes - Class in org.mapstruct.ap.internal.util
+
+
Provides functionality around the Java primitive data types and their wrapper types.
+
+
negate - Variable in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
negate() - Method in class org.mapstruct.ap.internal.model.common.NegatePresenceCheck
+
 
+
negate() - Method in interface org.mapstruct.ap.internal.model.common.PresenceCheck
+
 
+
negate() - Method in class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
 
+
negate() - Method in class org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck
+
 
+
negate() - Method in class org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck
+
 
+
negate() - Method in class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
negate() - Method in class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
NegatePresenceCheck - Class in org.mapstruct.ap.internal.model.common
+
 
+
NegatePresenceCheck(PresenceCheck) - Constructor for class org.mapstruct.ap.internal.model.common.NegatePresenceCheck
+
 
+
NestedPropertyMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
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 - Class in org.mapstruct.ap.internal.model
+
 
+
NestedPropertyMappingMethod.SafePropertyEntry - Class in org.mapstruct.ap.internal.model
+
 
+
NestedTargetPropertyMappingHolder - Class in org.mapstruct.ap.internal.model
+
+
This is a helper class that holds the generated PropertyMapping(s) and all the information associated with + it for nested target properties.
+
+
NestedTargetPropertyMappingHolder(List<Parameter>, Set<String>, List<PropertyMapping>, Map<String, Set<MappingReference>>, boolean) - Constructor for class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
+
 
+
NestedTargetPropertyMappingHolder.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
NewDatatypeFactoryConstructorFragment - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
NewDatatypeFactoryConstructorFragment() - Constructor for class org.mapstruct.ap.internal.model.source.builtin.NewDatatypeFactoryConstructorFragment
+
 
+
NewInstanceSetterWrapperForCollectionsAndMaps - Class in org.mapstruct.ap.internal.model.assignment
+
+
This wrapper handles the situation where an assignment is done via the setter, while creating the collection or map + using a no-args constructor.
+
+
NewInstanceSetterWrapperForCollectionsAndMaps(Assignment, List<Type>, Type, TypeFactory, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.NewInstanceSetterWrapperForCollectionsAndMaps
+
 
+
NoArgumentConstructor - Class in org.mapstruct.ap.internal.model
+
+
Represents a constructor that is used for constructor injection.
+
+
NoArgumentConstructor(String, Set<SupportingConstructorFragment>) - Constructor for class org.mapstruct.ap.internal.model.NoArgumentConstructor
+
 
+
NoComplexMapping - Annotation Type in org.mapstruct.control
+
+
Disables complex mappings, mappings that require 2 mapping means (method, built-in conversion) to constitute + a mapping from source to target.
+
+
NoOpBuilderProvider - Class in org.mapstruct.ap.spi
+
+
A NoOp BuilderProvider which returns null when searching for a builder.
+
+
NoOpBuilderProvider() - Constructor for class org.mapstruct.ap.spi.NoOpBuilderProvider
+
 
+
NormalTypeMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A MappingMethod that is used by the main mapping methods (BeanMappingMethod, + MapMappingMethod, IterableMappingMethod and StreamMappingMethod (non-enum / non-value + mapping)
+
+
note(int, Message, Object...) - Method in class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
 
+
note(int, Message, Object...) - Method in interface org.mapstruct.ap.internal.util.FormattingMessager
+
+
Just log as plain note
+
+
Nouns - Class in org.mapstruct.ap.internal.util
+
+
Class taking care of Noun manipulation
+
+
NULL - Static variable in class org.mapstruct.MappingConstants
+
+
In an ValueMapping this represents a null source or target.
+
+
NULL_VALUE_ITERABLE_MAPPING_STRATEGY - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
NULL_VALUE_MAP_MAPPING_STRATEGY - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
NullPresenceCheck - Class in org.mapstruct.ap.internal.model.presence
+
 
+
NullPresenceCheck(String) - Constructor for class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
NullPresenceCheck(String, boolean) - Constructor for class org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
 
+
nullValueCheckStrategy() - Method in annotation type org.mapstruct.BeanMapping
+
+
Determines when to include a null check on the source property value of a bean mapping.
+
+
nullValueCheckStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
Determines when to include a null check on the source property value of a bean mapping.
+
+
nullValueCheckStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
Determines when to include a null check on the source property value of a bean mapping.
+
+
nullValueCheckStrategy() - Method in annotation type org.mapstruct.Mapping
+
+
Determines when to include a null check on the source property value of a bean mapping.
+
+
nullValueCheckStrategy(NullValueCheckStrategyGem) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
NullValueCheckStrategy - Enum in org.mapstruct
+
+
Strategy for dealing with null source values.
+
+
nullValueIterableMappingStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
The strategy to be applied when null is passed as source argument value to an IterableMapping of + this mapper.
+
+
nullValueIterableMappingStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
The strategy to be applied when null is passed as source argument value to an IterableMapping.
+
+
nullValueMapMappingStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
The strategy to be applied when null is passed as source argument value to a MapMapping of this + mapper.
+
+
nullValueMapMappingStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
The strategy to be applied when null is passed as source argument value to a MapMapping.
+
+
nullValueMappingStrategy() - Method in annotation type org.mapstruct.BeanMapping
+
+
The strategy to be applied when null is passed as source bean argument value to this bean mapping.
+
+
nullValueMappingStrategy() - Method in annotation type org.mapstruct.IterableMapping
+
+
The strategy to be applied when null is passed as source value to this iterable mapping.
+
+
nullValueMappingStrategy() - Method in annotation type org.mapstruct.MapMapping
+
+
The strategy to be applied when null is passed as source value to this map mapping.
+
+
nullValueMappingStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
The strategy to be applied when null is passed as source argument value to the methods of this mapper.
+
+
nullValueMappingStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
The strategy to be applied when null is passed as source argument value to mapping methods.
+
+
NullValueMappingStrategy - Enum in org.mapstruct
+
+
Strategy for dealing with null values passed to mapping methods.
+
+
nullValuePropertyMappingStrategy() - Method in annotation type org.mapstruct.BeanMapping
+
+
The strategy to be applied when a source bean property is null or not present.
+
+
nullValuePropertyMappingStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
The strategy to be applied when a source bean property is null or not present.
+
+
nullValuePropertyMappingStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
The strategy to be applied when a source bean property is null or not present.
+
+
nullValuePropertyMappingStrategy() - Method in annotation type org.mapstruct.Mapping
+
+
The strategy to be applied when the source property is null or not present.
+
+
nullValuePropertyMappingStrategy(NullValuePropertyMappingStrategyGem) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
NullValuePropertyMappingStrategy - Enum in org.mapstruct
+
+
Strategy for dealing with null or not present properties in the source bean.
+
+
numberFormat() - Method in annotation type org.mapstruct.IterableMapping
+
+
A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
+
+
numberFormat() - Method in annotation type org.mapstruct.Mapping
+
+
A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
+
+
+ + + +

O

+
+
OBJECT_FACTORY - org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
+
 
+
ObjectFactory - Annotation Type in org.mapstruct
+
+
This annotation marks a method as a factory method to create beans.
+
+
ObjectFactoryMethodResolver - Class in org.mapstruct.ap.internal.model
+
 
+
ON_IMPLICIT_CONVERSION - org.mapstruct.NullValueCheckStrategy
+
+
This option includes a null check.
+
+
options - Variable in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
options(DelegatingOptions) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
options(MappingOptions) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder
+
 
+
options(Options) - Method in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
Options - Class in org.mapstruct.ap.internal.option
+
+
The options passed to the code generator.
+
+
Options(boolean, boolean, ReportingPolicyGem, ReportingPolicyGem, String, String, boolean, boolean, boolean, NullValueMappingStrategyGem, NullValueMappingStrategyGem) - Constructor for class org.mapstruct.ap.internal.option.Options
+
 
+
org.mapstruct - package org.mapstruct
+
+
+ MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
+
+
org.mapstruct.ap - package org.mapstruct.ap
+
+
+ This package and it sub-packages contain the implementation of the MapStruct annotation processor.
+
+
org.mapstruct.ap.internal.conversion - package org.mapstruct.ap.internal.conversion
+
+
+ Provides built-in conversions between primitive and wrapper types, strings, dates etc.
+
+
org.mapstruct.ap.internal.model - package org.mapstruct.ap.internal.model
+
+
+ Meta-model of mapper types, their methods, mappings between properties etc.
+
+
org.mapstruct.ap.internal.model.annotation - package org.mapstruct.ap.internal.model.annotation
+
 
+
org.mapstruct.ap.internal.model.assignment - package org.mapstruct.ap.internal.model.assignment
+
+
Meta-model of assignments.
+
+
org.mapstruct.ap.internal.model.beanmapping - package org.mapstruct.ap.internal.model.beanmapping
+
+
+ helper classes used in BeanMappingMethod
+
+
org.mapstruct.ap.internal.model.common - package org.mapstruct.ap.internal.model.common
+
+
+ Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
+
+
org.mapstruct.ap.internal.model.dependency - package org.mapstruct.ap.internal.model.dependency
+
 
+
org.mapstruct.ap.internal.model.presence - package org.mapstruct.ap.internal.model.presence
+
 
+
org.mapstruct.ap.internal.model.source - package org.mapstruct.ap.internal.model.source
+
+
+ Intermediary representation of mapping methods as retrieved from via the annotation processing API.
+
+
org.mapstruct.ap.internal.model.source.builtin - package org.mapstruct.ap.internal.model.source.builtin
+
+
+ Contains "built-in methods" which may be added as private methods to a generated mapper.
+
+
org.mapstruct.ap.internal.model.source.selector - package org.mapstruct.ap.internal.model.source.selector
+
+
+ Provides strategies for selecting a matching mapping or factory method when mapping from one attribute to another + or instantiating the target type of a mapping method, respectively.
+
+
org.mapstruct.ap.internal.option - package org.mapstruct.ap.internal.option
+
+
+ Provides access to the options passed to the annotation processor.
+
+
org.mapstruct.ap.internal.processor - package org.mapstruct.ap.internal.processor
+
+
+ Contains model processors which perform tasks such as retrieving mapping methods, creating a model representation + and writing the model into Java source files.
+
+
org.mapstruct.ap.internal.processor.creation - package org.mapstruct.ap.internal.processor.creation
+
+
+ Contains all helper classes for the MapperCreationProcessor
+
+
org.mapstruct.ap.internal.util - package org.mapstruct.ap.internal.util
+
+
+ Several helper types dealing with collection types, option management etc.
+
+
org.mapstruct.ap.internal.util.accessor - package org.mapstruct.ap.internal.util.accessor
+
 
+
org.mapstruct.ap.internal.version - package org.mapstruct.ap.internal.version
+
+
+ Provides various version information
+
+
org.mapstruct.ap.internal.writer - package org.mapstruct.ap.internal.writer
+
+
+ Infrastructure for dealing with the FreeMarker template engine.
+
+
org.mapstruct.ap.spi - package org.mapstruct.ap.spi
+
+
+ SPI (service provider interface) contracts to be implemented for advanced use cases.
+
+
org.mapstruct.ap.spi.util - package org.mapstruct.ap.spi.util
+
 
+
org.mapstruct.control - package org.mapstruct.control
+
 
+
org.mapstruct.factory - package org.mapstruct.factory
+
+
+ Provides the Mappers factory class for the retrieval of mapper instances if no + explicit component model such as CDI is configured via Mapper.componentModel().
+
+
org.mapstruct.util - package org.mapstruct.util
+
 
+
OTHER - org.mapstruct.ap.spi.MethodType
+
+
Any method which is neither a JavaBeans getter, setter nor an adder method.
+
+
overrides(ExecutableElement, ExecutableElement, TypeElement) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
overridesMethod() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
overridesMethod() - Method in class org.mapstruct.ap.internal.model.HelperMethod
+
 
+
overridesMethod() - Method in class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
+
 
+
overridesMethod() - Method in interface org.mapstruct.ap.internal.model.source.Method
+
+
Whether this method overrides an abstract method.
+
+
overridesMethod() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
+
Whether an implementation of this method must be generated or not.
+
+
+ + + +

P

+
+
Parameter - Class in org.mapstruct.ap.internal.model.common
+
+
A parameter of a mapping method.
+
+
Parameter(String, Type) - Constructor for class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
PARAMETER - org.mapstruct.ap.internal.util.accessor.AccessorType
+
 
+
ParameterBinding - Class in org.mapstruct.ap.internal.model.common
+
+
Represents how one parameter of a method to be called is populated.
+
+
ParameterElementAccessor - Class in org.mapstruct.ap.internal.util.accessor
+
+
An Accessor that wraps a VariableElement.
+
+
ParameterElementAccessor(Element, TypeMirror, String) - Constructor for class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
 
+
ParameterProvidedMethods - Class in org.mapstruct.ap.internal.model.source
+
+
Provides access to the SourceMethods that are provided by Context parameters of a + Method and maintains the relationship between those methods and their originating parameter.
+
+
ParameterProvidedMethods.Builder - Class in org.mapstruct.ap.internal.model.source
+
 
+
parseMethod() - Method in class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
+
 
+
parseMethod() - Method in class org.mapstruct.ap.internal.conversion.JodaDateTimeToStringConversion
+
 
+
parseMethod() - Method in class org.mapstruct.ap.internal.conversion.JodaLocalDateTimeToStringConversion
+
 
+
parseMethod() - Method in class org.mapstruct.ap.internal.conversion.JodaLocalDateToStringConversion
+
 
+
parseMethod() - Method in class org.mapstruct.ap.internal.conversion.JodaLocalTimeToStringConversion
+
 
+
pop() - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference
+
 
+
pop() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
popSourceReference() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
popTargetReference() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
positionHint(AnnotationMirror) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
PREFER_UPDATE_MAPPING - org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
+
 
+
PREFIX_TRANSFORMATION - Static variable in class org.mapstruct.MappingConstants
+
+
In an EnumMapping this represent the enum transformation strategy that adds a prefix to the source enum.
+
+
PrefixEnumTransformationStrategy - Class in org.mapstruct.ap.spi
+
 
+
PrefixEnumTransformationStrategy() - Constructor for class org.mapstruct.ap.spi.PrefixEnumTransformationStrategy
+
 
+
PRESENCE_CHECK - org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
+
 
+
PRESENCE_CHECKER - org.mapstruct.ap.spi.MethodType
+
+
A method to check whether a property is present, e.g.
+
+
PresenceCheck - Interface in org.mapstruct.ap.internal.model.common
+
+
Marker interface for presence checks.
+
+
PresenceCheckAccessor - Interface in org.mapstruct.ap.internal.util.accessor
+
 
+
presenceChecker(PresenceCheckAccessor) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
+
 
+
PresenceCheckMethodResolver - Class in org.mapstruct.ap.internal.model
+
 
+
presenceCheckMethodsIn(List<ExecutableElement>) - Method in class org.mapstruct.ap.internal.util.Filters
+
 
+
PrimitiveToPrimitiveConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between primitive types such as byte or long.
+
+
PrimitiveToPrimitiveConversion(Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.PrimitiveToPrimitiveConversion
+
 
+
PrimitiveToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between primitive types such as byte or long and + String.
+
+
PrimitiveToStringConversion(Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion
+
 
+
PrimitiveToWrapperConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between primitive types such as byte and wrapper types + such as Integer.
+
+
PrimitiveToWrapperConversion(Class<?>, Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.PrimitiveToWrapperConversion
+
 
+
printElements(Writer, Element...) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
printMessage(Element, AnnotationMirror, AnnotationValue, Message, Object...) - Method in class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
 
+
printMessage(Element, AnnotationMirror, AnnotationValue, Message, Object...) - Method in interface org.mapstruct.ap.internal.util.FormattingMessager
+
+
Prints a message of the specified kind at the location of the + annotation value inside the annotation positionHint of the annotated + element.
+
+
printMessage(Element, AnnotationMirror, Message, Object...) - Method in class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
 
+
printMessage(Element, AnnotationMirror, Message, Object...) - Method in interface org.mapstruct.ap.internal.util.FormattingMessager
+
+
Prints a message of the specified kind at the location of the + annotation positionHint of the annotated element.
+
+
printMessage(Element, Message, Object...) - Method in class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
 
+
printMessage(Element, Message, Object...) - Method in interface org.mapstruct.ap.internal.util.FormattingMessager
+
+
Prints a message of the specified kind at the location of the + element.
+
+
printMessage(Message, Object...) - Method in class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
 
+
printMessage(Message, Object...) - Method in interface org.mapstruct.ap.internal.util.FormattingMessager
+
+
Prints a message of the specified kind.
+
+
PRIVATE - org.mapstruct.ap.internal.model.common.Accessibility
+
 
+
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.mapstruct.ap.MappingProcessor
+
 
+
process(ModelElementProcessor.ProcessorContext, TypeElement, Void) - Method in class org.mapstruct.ap.internal.processor.MethodRetrievalProcessor
+
 
+
process(ModelElementProcessor.ProcessorContext, TypeElement, List<SourceMethod>) - Method in class org.mapstruct.ap.internal.processor.MapperCreationProcessor
+
 
+
process(ModelElementProcessor.ProcessorContext, TypeElement, Mapper) - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
process(ModelElementProcessor.ProcessorContext, TypeElement, Mapper) - Method in class org.mapstruct.ap.internal.processor.MapperRenderingProcessor
+
 
+
process(ModelElementProcessor.ProcessorContext, TypeElement, Mapper) - Method in class org.mapstruct.ap.internal.processor.MapperServiceProcessor
+
 
+
process(ModelElementProcessor.ProcessorContext, TypeElement, P) - Method in interface org.mapstruct.ap.internal.processor.ModelElementProcessor
+
+
Processes the given source element, representing a Java bean mapper in + one form or another.
+
+
PROCESSING_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
propertyEntries(List<PropertyEntry>) - Method in class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder
+
 
+
PropertyEntry - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
A PropertyEntry contains information on the name, readAccessor and presenceCheck (for source) + and return type of property.
+
+
PropertyMapping - Class in org.mapstruct.ap.internal.model
+
+
Represents the mapping between a source and target property, e.g. from String Source#foo to + int Target#bar.
+
+
PROPERTYMAPPING_CANNOT_DETERMINE_SOURCE_PARAMETER_FROM_TARGET - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_CANNOT_DETERMINE_SOURCE_PROPERTY_FROM_TARGET - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_CONSTANT_AND_CONDITION_EXPRESSION_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_CONSTANT_AND_DEFAULT_EXPRESSION_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_CONSTANT_AND_DEFAULT_VALUE_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_CONSTANT_VALUE_AND_NVPMS - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_CREATE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_DEFAULT_EXPERSSION_AND_NVPMS - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_DEFAULT_VALUE_AND_DEFAULT_EXPRESSION_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_DEFAULT_VALUE_AND_NVPMS - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_DUPLICATE_TARGETS - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_EMPTY_TARGET - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_EXPRESSION_AND_CONDITION_EXPRESSION_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_EXPRESSION_AND_CONSTANT_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_EXPRESSION_AND_DEFAULT_EXPRESSION_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_EXPRESSION_AND_DEFAULT_VALUE_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_EXPRESSION_AND_QUALIFIER_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_EXPRESSION_VALUE_AND_NVPMS - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_FORGED_MAPPING_NOT_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_FORGED_MAPPING_WITH_HISTORY_NOT_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_IGNORE_AND_NVPMS - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_INVALID_CONDITION_EXPRESSION - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_INVALID_DEFAULT_EXPRESSION - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_INVALID_EXPRESSION - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_INVALID_PARAMETER_NAME - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_INVALID_PROPERTY_NAME - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_INVALID_PROPERTY_NAME_SOURCE_HAS_NO_PROPERTIES - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_MAPPING_NOT_FOUND - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_MAPPING_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_NO_PRESENCE_CHECKER_FOR_SOURCE_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_NO_PROPERTY_IN_PARAMETER - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_NO_READ_ACCESSOR_FOR_TARGET_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_NO_SUITABLE_COLLECTION_OR_MAP_CONSTRUCTOR - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_NO_WRITE_ACCESSOR_FOR_TARGET_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_SELECT_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_SOURCE_AND_CONSTANT_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_SOURCE_AND_EXPRESSION_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_SOURCE_AND_IGNORE_BOTH_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_TARGET_THIS_AND_IGNORE - org.mapstruct.ap.internal.util.Message
+
 
+
PROPERTYMAPPING_WHITESPACE_TRIMMED - org.mapstruct.ap.internal.util.Message
+
 
+
PropertyMapping.ConstantMappingBuilder - Class in org.mapstruct.ap.internal.model
+
 
+
PropertyMapping.JavaExpressionMappingBuilder - Class in org.mapstruct.ap.internal.model
+
 
+
PropertyMapping.PropertyMappingBuilder - Class in org.mapstruct.ap.internal.model
+
 
+
propertyMappingsByParameter(Parameter) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod
+
 
+
PROTECTED - org.mapstruct.ap.internal.model.common.Accessibility
+
 
+
PUBLIC - org.mapstruct.ap.internal.model.common.Accessibility
+
 
+
push(TypeFactory, FormattingMessager, Method) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference
+
 
+
+ + + +

Q

+
+
qualifiedBy() - Method in annotation type org.mapstruct.BeanMapping
+
+
A qualifier can be specified to aid the selection process of a suitable factory method or filtering applicable + @BeforeMapping / @AfterMapping methods.
+
+
qualifiedBy() - Method in annotation type org.mapstruct.IterableMapping
+
+
A qualifier can be specified to aid the selection process of a suitable mapper.
+
+
qualifiedBy() - Method in annotation type org.mapstruct.Mapping
+
+
A qualifier can be specified to aid the selection process of a suitable mapper.
+
+
qualifiedBy() - Method in annotation type org.mapstruct.SubclassMapping
+
+
A qualifier can be specified to aid the selection process of a suitable mapper.
+
+
qualifiedByName() - Method in annotation type org.mapstruct.BeanMapping
+
+
Similar to BeanMapping.qualifiedBy(), but used in combination with @Named in case no custom + qualifier annotation is defined.
+
+
qualifiedByName() - Method in annotation type org.mapstruct.IterableMapping
+
+
String-based form of qualifiers; When looking for a suitable mapping method to map this iterable mapping method's + element type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the + class-level) a Named annotation for each of the specified qualifier names.
+
+
qualifiedByName() - Method in annotation type org.mapstruct.Mapping
+
+
String-based form of qualifiers; When looking for a suitable mapping method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names.
+
+
qualifiedByName() - Method in annotation type org.mapstruct.SubclassMapping
+
+
String-based form of qualifiers; When looking for a suitable mapping method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names.
+
+
Qualifier - Annotation Type in org.mapstruct
+
+
Declares an annotation type to be a qualifier.
+
+
QualifierSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
This selector selects a best match based on qualifier annotations.
+
+
QualifierSelector(TypeUtils, ElementUtils) - Constructor for class org.mapstruct.ap.internal.model.source.selector.QualifierSelector
+
 
+
+ + + +

R

+
+
readAccessor(ReadAccessor) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
+
 
+
ReadAccessor - Interface in org.mapstruct.ap.internal.util.accessor
+
 
+
ReadDelegateAccessor - Class in org.mapstruct.ap.internal.util.accessor
+
 
+
ReadDelegateAccessor(Accessor) - Constructor for class org.mapstruct.ap.internal.util.accessor.ReadDelegateAccessor
+
 
+
recordAccessorsIn(Collection<Element>) - Method in class org.mapstruct.ap.internal.util.Filters
+
 
+
recordComponentsIn(TypeElement) - Method in class org.mapstruct.ap.internal.util.Filters
+
 
+
removeConstructor() - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
removeDecorator() - Method in class org.mapstruct.ap.internal.model.Mapper
+
 
+
RepeatableAnnotations<SINGULAR extends org.mapstruct.tools.gem.Gem,​MULTIPLE extends org.mapstruct.tools.gem.Gem,​OPTIONS> - Class in org.mapstruct.ap.internal.util
+
 
+
RepeatableAnnotations(ElementUtils, String, String) - Constructor for class org.mapstruct.ap.internal.util.RepeatableAnnotations
+
 
+
replacementMapperReference(Field, List<Annotation>, InjectionStrategyGem) - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
replaceTypeElementIfNecessary(TypeElement) - Method in class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
+
 
+
replaceTypeElementIfNecessary(TypeElement) - Method in class org.mapstruct.ap.internal.util.EclipseElementUtilsDecorator
+
+
When running during Eclipse Incremental Compilation, we might get a TypeElement that has an UnresolvedTypeBinding + and which is not automatically resolved.
+
+
replaceTypeElementIfNecessary(TypeElement) - Method in class org.mapstruct.ap.internal.util.JavacElementUtilsDecorator
+
 
+
ReportingPolicy - Enum in org.mapstruct
+
+
Policy for reporting issues occurring during the generation of a mapper + implementation.
+
+
requiresDecimalFormat(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.AbstractNumberToStringConversion
+
 
+
requiresGenerationOfDecoratorClass() - Method in class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
+
 
+
requiresGenerationOfDecoratorClass() - Method in class org.mapstruct.ap.internal.processor.CdiComponentProcessor
+
 
+
requiresGenerationOfDecoratorClass() - Method in class org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor
+
 
+
requiresGenerationOfDecoratorClass() - Method in class org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
 
+
requiresGenerationOfDecoratorClass() - Method in class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
 
+
requiresGenerationOfDecoratorClass() - Method in class org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
 
+
ResolvedPair(Type, Type) - Constructor for class org.mapstruct.ap.internal.model.common.Type.ResolvedPair
+
 
+
resolveGenericTypeParameters(Type, Type) - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Resolves generic types using the declared and parameterized types as input.
+
+ For example:
+
+
resolveParameterToType(Type, Type) - Method in class org.mapstruct.ap.internal.model.common.Type
+
+
Steps through the declaredType in order to find a match for this typeVar Type.
+
+
resultType() - Method in annotation type org.mapstruct.BeanMapping
+
+
Specifies the result type of the factory method to be used in case several factory methods qualify.
+
+
resultType() - Method in annotation type org.mapstruct.Mapping
+
+
Specifies the result type of the mapping method to be used in case multiple mapping methods qualify.
+
+
RETRIEVAL_AFTER_METHOD_NOT_IMPLEMENTED - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_BEFORE_METHOD_NOT_IMPLEMENTED - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_CONTEXT_PARAMS_WITH_SAME_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_DUPLICATE_MAPPING_TARGETS - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_ITERABLE_TO_NON_ITERABLE - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_MAPPER_USES_CYCLE - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_MAPPING_HAS_TARGET_TYPE_PARAMETER - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_NO_INPUT_ARGS - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_NON_ASSIGNABLE_RESULTTYPE - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_NON_ITERABLE_TO_ITERABLE - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_PRIMITIVE_PARAMETER - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_PRIMITIVE_RETURN - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_TARGET_PROPERTY_NAME_WRONG_TYPE - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_TYPE_VAR_RESULT - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_TYPE_VAR_SOURCE - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_VOID_MAPPING_METHOD - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_WILDCARD_EXTENDS_BOUND_RESULT - org.mapstruct.ap.internal.util.Message
+
 
+
RETRIEVAL_WILDCARD_SUPER_BOUND_SOURCE - org.mapstruct.ap.internal.util.Message
+
 
+
RETURN_DEFAULT - org.mapstruct.NullValueMappingStrategy
+
+
If null is passed to a mapping method, a default value will be returned.
+
+
RETURN_NULL - org.mapstruct.NullValueMappingStrategy
+
+
If null is passed to a mapping method, null will be returned.
+
+
returnTypeBuilder(BuilderType) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
+
 
+
ReturnWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Decorates an assignment as a return variable.
+
+
ReturnWrapper(Assignment) - Constructor for class org.mapstruct.ap.internal.model.assignment.ReturnWrapper
+
 
+
ReverseConversion - Class in org.mapstruct.ap.internal.conversion
+
+
* A ConversionProvider which creates the inversed conversions for a + given conversion provider.
+
+
rightHandSide(SourceRHS) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
RoundContext - Class in org.mapstruct.ap.internal.util
+
+
Keeps contextual data in the scope of one annotation processing round.
+
+
RoundContext(AnnotationProcessorContext) - Constructor for class org.mapstruct.ap.internal.util.RoundContext
+
 
+
RUNTIME_EXCEPTION - org.mapstruct.SubclassExhaustiveStrategy
+
+
If there is no valid constructor or known method to create the return value of a with `@SubclassMapping` + annotated mapping then an IllegalArgumentException will be thrown if a call is made with a type for which + there is no SubclassMapping available.
+
+
+ + + +

S

+
+
SafePropertyEntry(PropertyEntry, String, String) - Constructor for class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
+
 
+
sanitizeIdentifierName(String) - Static method in class org.mapstruct.ap.internal.util.Strings
+
 
+
SelectedMethod<T extends Method> - Class in org.mapstruct.ap.internal.model.source.selector
+
+
A selected method with additional metadata that might be required for further usage of the selected method.
+
+
SelectedMethod(T) - Constructor for class org.mapstruct.ap.internal.model.source.selector.SelectedMethod
+
 
+
SelectionContext - Class in org.mapstruct.ap.internal.model.source.selector
+
+
Context passed to the selectors to get the information they need.
+
+
SelectionCriteria - Class in org.mapstruct.ap.internal.model.source.selector
+
+
This class groups the selection criteria in one class
+
+
SelectionCriteria(SelectionParameters, MappingControl, String, SelectionCriteria.Type) - Constructor for class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
SelectionCriteria.Type - Enum in org.mapstruct.ap.internal.model.source.selector
+
 
+
selectionParameters(SelectionParameters) - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
selectionParameters(SelectionParameters) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder
+
 
+
selectionParameters(SelectionParameters) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
SelectionParameters - Class in org.mapstruct.ap.internal.model.source
+
+
Holding parameters common to the selection process, common to IterableMapping, BeanMapping, PropertyMapping and + MapMapping
+
+
SelectionParameters(List<TypeMirror>, List<String>, List<TypeMirror>, List<String>, TypeMirror, TypeUtils) - Constructor for class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
SelectionParameters(List<TypeMirror>, List<String>, TypeMirror, TypeUtils) - Constructor for class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
SELF_NOT_ALLOWED - org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
+
 
+
Services - Class in org.mapstruct.ap.internal.util
+
+
A simple locator for SPI implementations.
+
+
ServicesEntry - Class in org.mapstruct.ap.internal.model
+
 
+
ServicesEntry(String, String, String, String) - Constructor for class org.mapstruct.ap.internal.model.ServicesEntry
+
 
+
SET_TO_DEFAULT - org.mapstruct.NullValuePropertyMappingStrategy
+
+
If a source bean property equals null the target bean property will be set to its default value.
+
+
SET_TO_NULL - org.mapstruct.NullValuePropertyMappingStrategy
+
+
If a source bean property equals null the target bean property will be set explicitly to null.
+
+
setAssignment(Assignment) - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
setAssignment(Assignment) - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
An assignment in itself can wrap another assignment.
+
+
setAssignment(Assignment) - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
setAssignment(Assignment) - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
setAssignment(Assignment) - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
setBeanMapping(BeanMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
setBeanMappingOptions(BeanMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setConstructor(Constructor) - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
setContextProvidedMethods(ParameterProvidedMethods) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setDeclaringMapper(Type) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setDefininingType(Type) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setEnumMappingOptions(EnumMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
setEnumMappingOptions(EnumMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setExceptionTypes(List<Type>) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setExecutable(ExecutableElement) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setFields(List<Field>) - Method in class org.mapstruct.ap.internal.model.GeneratedType
+
 
+
setIgnoreQualifiers(boolean) - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
setIterableMapping(IterableMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
setIterableMappingOptions(IterableMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setMapMapping(MapMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
setMapMappingOptions(MapMappingOptions) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setMapper(MapperOptions) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setMappingOptions(Set<MappingOptions>) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setParameterBindings(List<ParameterBinding>) - Method in class org.mapstruct.ap.internal.model.source.selector.SelectedMethod
+
 
+
setParameters(List<Parameter>) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setPreferUpdateMapping(boolean) - Method in class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
+
 
+
setPrototypeMethods(List<SourceMethod>) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setReturnType(Type) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setSourceLocalVarName(String) - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
setSourceLocalVarName(String) - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
Replaces the sourceReference at the call site in the assignment in the template with this sourceLocalVarName.
+
+
setSourceLocalVarName(String) - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
setSourceLocalVarName(String) - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
setSourceLocalVarName(String) - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
setSourceLoopVarName(String) - Method in class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper
+
 
+
setSourceLoopVarName(String) - Method in interface org.mapstruct.ap.internal.model.common.Assignment
+
+
Replaces the sourceLocalVar or sourceReference at the call site in the assignment in the template with this + sourceLoopVarName.
+
+
setSourceLoopVarName(String) - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
setSourceLoopVarName(String) - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
setSourceLoopVarName(String) - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
setSourcePresenceCheckerReference(PresenceCheck) - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
setSourceReference(SourceReference) - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
setSubclassMappings(Set<SubclassMappingOptions>) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setSubclassValidator(SubclassValidator) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
SETTER - org.mapstruct.ap.internal.util.accessor.AccessorType
+
 
+
SETTER - org.mapstruct.ap.spi.MethodType
+
+
A JavaBeans setter method, e.g.
+
+
SETTER - org.mapstruct.InjectionStrategy
+
+
A dedicated setter method is created
+
+
SETTER_PREFERRED - org.mapstruct.CollectionMappingStrategy
+
+
If present, the setter of the target property will be used to propagate the value: + orderDto.setOrderLines(order.getOrderLines).
+
+
setterMethodsIn(List<ExecutableElement>) - Method in class org.mapstruct.ap.internal.util.Filters
+
 
+
SetterWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Wraps the assignment in a target setter.
+
+
SetterWrapper(Assignment, List<Type>, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.SetterWrapper
+
 
+
SetterWrapper(Assignment, List<Type>, boolean, boolean, boolean, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.SetterWrapper
+
 
+
SetterWrapperForCollectionsAndMaps - Class in org.mapstruct.ap.internal.model.assignment
+
+
This wrapper handles the situation where an assignment is done via the setter, without doing anything special.
+
+
SetterWrapperForCollectionsAndMaps(Assignment, List<Type>, Type, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMaps
+
 
+
SetterWrapperForCollectionsAndMapsWithNullCheck - Class in org.mapstruct.ap.internal.model.assignment
+
+
This wrapper handles the situation where an assignment is done via the setter and a null check is needed.
+
+
SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment, List<Type>, Type, TypeFactory, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMapsWithNullCheck
+
 
+
setTypeFactory(TypeFactory) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setTypeRequiresImport(boolean) - Method in class org.mapstruct.ap.internal.model.Field
+
+
set field needs to be imported
+
+
setTypeUtils(TypeUtils) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setUsed(boolean) - Method in class org.mapstruct.ap.internal.model.Field
+
+
sets the field as being used
+
+
setUseElementAsSourceTypeForMatching(boolean) - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
+
For collection type, use element as source type to find a suitable mapping method.
+
+
setValueMappingOptionss(List<ValueMappingOptions>) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
setValueMappings(List<ValueMappingOptions>) - Method in class org.mapstruct.ap.internal.model.source.MappingMethodOptions
+
 
+
setVerboseLogging(boolean) - Method in class org.mapstruct.ap.internal.model.source.SourceMethod.Builder
+
 
+
SHORT - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
shorts() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
shouldIgnore(TypeElement) - Method in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
+
Whether the typeElement should be ignored, i.e. not used in inspection.
+
+
shouldUsePropertyNamesInHistory() - Method in class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
+
 
+
shouldUsePropertyNamesInHistory() - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
+
 
+
shouldUsePropertyNamesInHistory() - Method in class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
+
 
+
shouldUsePropertyNamesInHistory() - Method in class org.mapstruct.ap.internal.model.MapMappingMethod.Builder
+
 
+
SimpleConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Base class for ConversionProviders creating TypeConversions which don't declare any exception types.
+
+
SimpleConversion() - Constructor for class org.mapstruct.ap.internal.conversion.SimpleConversion
+
 
+
simpleDateFormat(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+ +
+
since() - Method in annotation type org.mapstruct.Javadoc
+
+
Specifies the version since the functionality that is being documented is available.
+
+
since(String) - Method in class org.mapstruct.ap.internal.model.Javadoc.Builder
+
 
+
singularInstanceOn(Element) - Method in class org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder
+
 
+
singularInstanceOn(Element) - Method in class org.mapstruct.ap.internal.util.RepeatableAnnotations
+
 
+
singularize(String) - Static method in class org.mapstruct.ap.internal.util.Nouns
+
+
Converts given pluralized noun into the singular form.
+
+
source() - Method in annotation type org.mapstruct.Mapping
+
+
The source to use for this mapping.
+
+
source() - Method in annotation type org.mapstruct.SubclassMapping
+
 
+
source() - Method in annotation type org.mapstruct.ValueMapping
+
+
The source value constant to use for this mapping.
+
+
sourceMethod(SourceMethod) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
+
 
+
SourceMethod - Class in org.mapstruct.ap.internal.model.source
+
+
Represents a mapping method with source and target type and the mappings between the properties of source and target + type.
+
+
SourceMethod.Builder - Class in org.mapstruct.ap.internal.model.source
+
 
+
sourceName(String) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
+
 
+
sourceParameter(Parameter) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
+
 
+
sourceParameter(Parameter) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromSourceReference
+
 
+
sourceReference(SourceReference) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromSourceReference
+
 
+
sourceReference(SourceReference) - Method in class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
+
 
+
SourceReference - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
This class describes the source side of a property mapping.
+
+
SourceReference.BuilderFromMapping - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
Builds a SourceReference from an @Mappping.
+
+
SourceReference.BuilderFromProperty - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
Builds a SourceReference from a property.
+
+
SourceReference.BuilderFromSourceReference - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
Builds a SourceReference from a property.
+
+
SourceRHS - Class in org.mapstruct.ap.internal.model.common
+
+
SourceRHS Assignment.
+
+
SourceRHS(String, String, PresenceCheck, Type, Set<String>, String) - Constructor for class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
SourceRHS(String, Type, Set<String>, String) - Constructor for class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
SourceRhsSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
Selector that tries to resolve an ambiquity between methods that contain source parameters and + SourceRHS type parameters.
+
+
SourceRhsSelector() - Constructor for class org.mapstruct.ap.internal.model.source.selector.SourceRhsSelector
+
 
+
SPRING - Static variable in class org.mapstruct.MappingConstants.ComponentModel
+
+
The generated mapper is a Spring bean and can be retrieved via @Autowired
+
+
SpringComponentProcessor - Class in org.mapstruct.ap.internal.processor
+
+
A ModelElementProcessor which converts the given Mapper + object into a Spring bean in case Spring is configured as the + target component model for this mapper.
+
+
SpringComponentProcessor() - Constructor for class org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
 
+
sqlDate(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for Date.
+
+
StaticParseToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Handles conversion between a target type T and String, + where T#parse(String) and T#toString are inverse operations.
+
+
StaticParseToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.StaticParseToStringConversion
+
 
+
STREAM_FQN - Static variable in class org.mapstruct.ap.internal.util.JavaStreamConstants
+
 
+
StreamAdderWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Wraps the assignment in a target setter.
+
+
StreamAdderWrapper(Assignment, List<Type>, boolean, String) - Constructor for class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
 
+
STREAMMAPPING_CREATE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
StreamMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A MappingMethod implemented by a Mapper class which maps one iterable or array type to Stream.
+
+
StreamMappingMethod.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
STRING - org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
 
+
stringBuilder(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for StringBuilder.
+
+
StringBuilderToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Handles conversion between a target type StringBuilder and String.
+
+
StringBuilderToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.StringBuilderToStringConversion
+
 
+
strings() - Method in annotation type org.mapstruct.AnnotateWith.Element
+
+
cannot be used in conjunction with other value fields.
+
+
Strings - Class in org.mapstruct.ap.internal.util
+
+
Helper class for dealing with strings.
+
+
StringToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
StringToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.StringToXmlGregorianCalendar
+
 
+
STRIP_PREFIX_TRANSFORMATION - Static variable in class org.mapstruct.MappingConstants
+
+
In an EnumMapping this represent the enum transformation strategy that strips a prefix from the source + enum.
+
+
STRIP_SUFFIX_TRANSFORMATION - Static variable in class org.mapstruct.MappingConstants
+
+
In an EnumMapping this represent the enum transformation strategy that strips a suffix from the source + enum.
+
+
StripPrefixEnumTransformationStrategy - Class in org.mapstruct.ap.spi
+
 
+
StripPrefixEnumTransformationStrategy() - Constructor for class org.mapstruct.ap.spi.StripPrefixEnumTransformationStrategy
+
 
+
StripSuffixEnumTransformationStrategy - Class in org.mapstruct.ap.spi
+
 
+
StripSuffixEnumTransformationStrategy() - Constructor for class org.mapstruct.ap.spi.StripSuffixEnumTransformationStrategy
+
 
+
stubPropertyName(String) - Static method in class org.mapstruct.ap.internal.util.Strings
+
+
Returns a stub property name from full class name by stripping away the package and decapitalizing the name + For example will return fooBar for com.foo.bar.baz.FooBar class name
+
+
subclassExhaustiveStrategy() - Method in annotation type org.mapstruct.BeanMapping
+
+
Determines how to handle missing implementation for super classes when using the SubclassMapping.
+
+
subclassExhaustiveStrategy() - Method in annotation type org.mapstruct.Mapper
+
+
Determines how to handle missing implementation for super classes when using the SubclassMapping.
+
+
subclassExhaustiveStrategy() - Method in annotation type org.mapstruct.MapperConfig
+
+
Determines how to handle missing implementation for super classes when using the SubclassMapping.
+
+
SubclassExhaustiveStrategy - Enum in org.mapstruct
+
+
Strategy for dealing with subclassMapping annotated methods.
+
+
SubclassMapping - Class in org.mapstruct.ap.internal.model
+
+
Represents the mapping between a Subclass and its mapping target.
+
+
SubclassMapping - Annotation Type in org.mapstruct
+
+
Configures the mapping to handle hierarchy of the source type.
+
+
SubclassMapping(Type, String, Type, Assignment) - Constructor for class org.mapstruct.ap.internal.model.SubclassMapping
+
 
+
SUBCLASSMAPPING_DOUBLE_SOURCE_SUBCLASS - org.mapstruct.ap.internal.util.Message
+
 
+
SUBCLASSMAPPING_ILLEGAL_SUBCLASS - org.mapstruct.ap.internal.util.Message
+
 
+
SUBCLASSMAPPING_ILLOGICAL_ORDER - org.mapstruct.ap.internal.util.Message
+
 
+
SUBCLASSMAPPING_NO_VALID_SUPERCLASS - org.mapstruct.ap.internal.util.Message
+
 
+
SUBCLASSMAPPING_UPDATE_METHODS_NOT_SUPPORTED - org.mapstruct.ap.internal.util.Message
+
 
+
SubclassMappingOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Represents a subclass mapping as configured via @SubclassMapping.
+
+
SubclassMappingOptions(TypeMirror, TypeMirror, TypeUtils, DelegatingOptions, SelectionParameters, SubclassMappingGem) - Constructor for class org.mapstruct.ap.internal.model.source.SubclassMappingOptions
+
 
+
SubclassMappings - Annotation Type in org.mapstruct
+
+
Configures the SubclassMappings of several subclasses.
+
+
SubclassValidator - Class in org.mapstruct.ap.internal.model.source
+
+
Handles the validation of multiple @SubclassMapping annotations on the same method.
+
+
SubclassValidator(FormattingMessager, TypeUtils) - Constructor for class org.mapstruct.ap.internal.model.source.SubclassValidator
+
 
+
suffix(String) - Static method in interface org.mapstruct.ap.internal.util.accessor.PresenceCheckAccessor
+
 
+
SUFFIX_TRANSFORMATION - Static variable in class org.mapstruct.MappingConstants
+
+
In an EnumMapping this represent the enum transformation strategy that adds a suffix to the source enum.
+
+
SuffixEnumTransformationStrategy - Class in org.mapstruct.ap.spi
+
 
+
SuffixEnumTransformationStrategy() - Constructor for class org.mapstruct.ap.spi.SuffixEnumTransformationStrategy
+
 
+
SuffixPresenceCheck - Class in org.mapstruct.ap.internal.model.presence
+
 
+
SuffixPresenceCheck(String, String) - Constructor for class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
SuffixPresenceCheck(String, String, boolean) - Constructor for class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
 
+
SupportingConstructorFragment - Class in org.mapstruct.ap.internal.model
+
+
A mapper instance field, initialized as null
+
+
SupportingConstructorFragment(SupportingMappingMethod, ConstructorFragment, String) - Constructor for class org.mapstruct.ap.internal.model.SupportingConstructorFragment
+
 
+
SupportingField - Class in org.mapstruct.ap.internal.model
+
+
supports the
+
+
SupportingField(SupportingMappingMethod, FieldReference, String) - Constructor for class org.mapstruct.ap.internal.model.SupportingField
+
 
+
SupportingMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
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.
+
+
SupportingMappingMethod(HelperMethod) - Constructor for class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
SupportingMappingMethod(BuiltInMethod, Set<Field>) - Constructor for class org.mapstruct.ap.internal.model.SupportingMappingMethod
+
 
+
SUPPRESS_GENERATOR_TIMESTAMP - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
SUPPRESS_GENERATOR_VERSION_INFO_COMMENT - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
suppressGeneratorTimestamp(boolean) - Method in class org.mapstruct.ap.internal.model.Decorator.Builder
+
 
+
suppressGeneratorTimestamp(boolean) - Method in class org.mapstruct.ap.internal.model.Mapper.Builder
+
 
+
suppressTimestampInGenerated() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
suppressTimestampInGenerated() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
suppressTimestampInGenerated() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
suppressTimestampInGenerated() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
suppressTimestampInGenerated() - Method in annotation type org.mapstruct.Mapper
+
+
Flag indicating whether the addition of a time stamp in the @Generated annotation should be suppressed.
+
+
suppressTimestampInGenerated() - Method in annotation type org.mapstruct.MapperConfig
+
+
Flag indicating whether the addition of a time stamp in the @Generated annotation should be suppressed.
+
+
+ + + +

T

+
+
target() - Method in annotation type org.mapstruct.Mapping
+
+
The target name of the configured property as defined by the JavaBeans specification.
+
+
target() - Method in annotation type org.mapstruct.SubclassMapping
+
 
+
target() - Method in annotation type org.mapstruct.ValueMapping
+
+
The target value constant to use for this mapping.
+
+
TARGET_IMMUTABLE - org.mapstruct.CollectionMappingStrategy
+
+
Identical to CollectionMappingStrategy.SETTER_PREFERRED, however the target collection will not be cleared and accessed via + addAll in case of updating existing bean instances, see: MappingTarget.
+
+
targetAccessorType(AccessorType) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
targetProperties(Set<String>) - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
targetPropertiesWriteAccessors(Map<String, Accessor>) - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
targetPropertyName(String) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
TargetPropertyName - Annotation Type in org.mapstruct
+
+
This annotation marks a presence check method parameter as a property name parameter.
+
+
targetPropertyType(Type) - Method in class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
+
 
+
targetReadAccessor(Accessor) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
TargetReference - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
This class describes the target side of a property mapping.
+
+
TargetReference(Parameter, List<String>) - Constructor for class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
TargetReference(Parameter, List<String>, List<String>) - Constructor for class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
TargetReference.Builder - Class in org.mapstruct.ap.internal.model.beanmapping
+
+
Builds a TargetReference from an @Mappping.
+
+
targetType(Type) - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
targetType(Type) - Method in class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
+
 
+
TargetType - Annotation Type in org.mapstruct
+
+
Declares a parameter of a custom mapping method to be populated with the target type of the mapping.
+
+
TargetTypeSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
This selector selects a best match based on the result type.
+
+
TargetTypeSelector(TypeUtils) - Constructor for class org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector
+
 
+
THROW_EXCEPTION - Static variable in class org.mapstruct.MappingConstants
+
+
In an ValueMapping this represents any target that will be mapped to an + IllegalArgumentException which will be thrown at runtime.
+
+
time(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for Time.
+
+
timestamp(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for Timestamp.
+
+
to(ConversionContext) - Method in interface org.mapstruct.ap.internal.conversion.ConversionProvider
+
+
Creates the conversion from source to target of a property mapping.
+
+
to(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.DateToStringConversion
+
 
+
to(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.ReverseConversion
+
 
+
to(ConversionContext) - Method in class org.mapstruct.ap.internal.conversion.SimpleConversion
+
 
+
toDeclaredTypes(List<TypeMirror>, Set<DeclaredType>) - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.assignment.EnumConstantWrapper
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.beanmapping.AbstractReference
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.beanmapping.MappingReference
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.common.Parameter
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.common.SourceRHS
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.ForgedMethod
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.MappingMethod
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.MethodReference
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.PropertyMapping
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.source.MappingOptions
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.source.selector.SelectedMethod
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.source.SourceMethod
+
 
+
toString() - Method in class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
toString() - Method in class org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor
+
 
+
toString() - Method in class org.mapstruct.ap.internal.util.accessor.FieldElementAccessor
+
 
+
toString() - Method in class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
 
+
transform(String, String) - Method in class org.mapstruct.ap.spi.CaseEnumTransformationStrategy
+
 
+
transform(String, String) - Method in interface org.mapstruct.ap.spi.EnumTransformationStrategy
+
+
Transform the given value by using the given configuration.
+
+
transform(String, String) - Method in class org.mapstruct.ap.spi.PrefixEnumTransformationStrategy
+
 
+
transform(String, String) - Method in class org.mapstruct.ap.spi.StripPrefixEnumTransformationStrategy
+
 
+
transform(String, String) - Method in class org.mapstruct.ap.spi.StripSuffixEnumTransformationStrategy
+
 
+
transform(String, String) - Method in class org.mapstruct.ap.spi.SuffixEnumTransformationStrategy
+
 
+
type(Type) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
+
 
+
Type - Class in org.mapstruct.ap.internal.model.common
+
+
Represents (a reference to) the type of a bean property, parameter etc.
+
+
Type(TypeUtils, ElementUtils, TypeFactory, AccessorNamingUtils, TypeMirror, TypeElement, List<Type>, ImplementationType, Type, String, String, String, boolean, boolean, boolean, boolean, boolean, boolean, Map<String, String>, Map<String, String>, Boolean, boolean, boolean) - Constructor for class org.mapstruct.ap.internal.model.common.Type
+
 
+
TYPE_CONVERTED - org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
assignment is type converted
+
+
TYPE_CONVERTED_MAPPED - org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
assignment is first type converted, and then mapped (builtin/custom)
+
+
Type.ResolvedPair - Class in org.mapstruct.ap.internal.model.common
+
+
Reflects any Resolved Pair, examples are + T, String + ?
+
+
TypeConversion - Class in org.mapstruct.ap.internal.model
+
+
An inline conversion between source and target type of a mapping.
+
+
TypeConversion(Set<Type>, List<Type>, String) - Constructor for class org.mapstruct.ap.internal.model.TypeConversion
+
 
+
typeConversionPolicy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
typeConversionPolicy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
typeConversionPolicy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
typeConversionPolicy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
typeConversionPolicy() - Method in annotation type org.mapstruct.Mapper
+
+
How lossy (narrowing) conversion, for instance long to integer should be + reported.
+
+
typeConversionPolicy() - Method in annotation type org.mapstruct.MapperConfig
+
+
How lossy (narrowing) conversion, for instance: long to integer should be + reported.
+
+
typeFactory - Variable in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
typeFactory(TypeFactory) - Method in class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
+
 
+
typeFactory(TypeFactory) - Method in class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
+
 
+
typeFactory(TypeFactory) - Method in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
TypeFactory - Class in org.mapstruct.ap.internal.model.common
+
+
Factory creating Type instances.
+
+
TypeFactory(ElementUtils, TypeUtils, FormattingMessager, RoundContext, Map<String, String>, boolean) - Constructor for class org.mapstruct.ap.internal.model.common.TypeFactory
+
 
+
TypeHierarchyErroneousException - Exception in org.mapstruct.ap.spi
+
+
Indicates a type was visited whose hierarchy was erroneous, because it has a non-existing super-type.
+
+
TypeHierarchyErroneousException(TypeElement) - Constructor for exception org.mapstruct.ap.spi.TypeHierarchyErroneousException
+
 
+
TypeHierarchyErroneousException(TypeMirror) - Constructor for exception org.mapstruct.ap.spi.TypeHierarchyErroneousException
+
 
+
TypeSelector - Class in org.mapstruct.ap.internal.model.source.selector
+
+
Selects those methods from the given input set which match the given source and target types (via + MethodMatcher).
+
+
TypeSelector(FormattingMessager) - Constructor for class org.mapstruct.ap.internal.model.source.selector.TypeSelector
+
 
+
typeUtils - Variable in class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
+
 
+
typeUtils - Variable in class org.mapstruct.ap.spi.DefaultBuilderProvider
+
 
+
typeUtils - Variable in class org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
 
+
TypeUtils - Interface in org.mapstruct.ap.internal.util
+
 
+
+ + + +

U

+
+
unboxedType(TypeMirror) - Method in class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
+
 
+
unexpectedValueMappingException() - Method in annotation type org.mapstruct.EnumMapping
+
+
Exception that should be thrown by the generated code if no mapping matches.
+
+
unexpectedValueMappingException() - Method in annotation type org.mapstruct.Mapper
+
+
Exception that should be thrown by the generated code if no mapping matches for enums.
+
+
unexpectedValueMappingException() - Method in annotation type org.mapstruct.MapperConfig
+
+
Exception that should be thrown by the generated code if no mapping matches for enums.
+
+
UNMAPPED_SOURCE_POLICY - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
UNMAPPED_TARGET_POLICY - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
unmappedSourcePolicy() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
unmappedSourcePolicy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
unmappedSourcePolicy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
unmappedSourcePolicy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
unmappedSourcePolicy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
unmappedSourcePolicy() - Method in annotation type org.mapstruct.BeanMapping
+
+
How unmapped properties of the source type of a mapping should be reported.
+
+
unmappedSourcePolicy() - Method in annotation type org.mapstruct.Mapper
+
+
How unmapped properties of the source type of a mapping should be + reported.
+
+
unmappedSourcePolicy() - Method in annotation type org.mapstruct.MapperConfig
+
+
How unmapped properties of the source type of a mapping should be + reported.
+
+
unmappedTargetPolicy() - Method in class org.mapstruct.ap.internal.model.source.BeanMappingOptions
+
 
+
unmappedTargetPolicy() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
unmappedTargetPolicy() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
unmappedTargetPolicy() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
unmappedTargetPolicy() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
unmappedTargetPolicy() - Method in annotation type org.mapstruct.BeanMapping
+
+
How unmapped properties of the target type of a mapping should be reported.
+
+
unmappedTargetPolicy() - Method in annotation type org.mapstruct.Mapper
+
+
How unmapped properties of the target type of a mapping should be + reported.
+
+
unmappedTargetPolicy() - Method in annotation type org.mapstruct.MapperConfig
+
+
How unmapped properties of the target type of a mapping should be + reported.
+
+
UpdateWrapper - Class in org.mapstruct.ap.internal.model.assignment
+
+
Wraps the assignment in a target setter.
+
+
UpdateWrapper(Assignment, List<Type>, Assignment, boolean, Type, boolean, boolean, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
 
+
url(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for URL.
+
+
URLToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between URL and String.
+
+
URLToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.URLToStringConversion
+
 
+
userDefinedReturnType(Type) - Method in class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
+
 
+
uses() - Method in class org.mapstruct.ap.internal.model.source.DefaultOptions
+
 
+
uses() - Method in class org.mapstruct.ap.internal.model.source.DelegatingOptions
+
 
+
uses() - Method in class org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
 
+
uses() - Method in class org.mapstruct.ap.internal.model.source.MapperOptions
+
 
+
uses() - Method in annotation type org.mapstruct.Mapper
+
+
Other mapper types used by this mapper.
+
+
uses() - Method in annotation type org.mapstruct.MapperConfig
+
+
The mapper types used by this mapper.
+
+
uuid(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for UUID.
+
+
UUIDToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between UUID and String.
+
+
UUIDToStringConversion() - Constructor for class org.mapstruct.ap.internal.conversion.UUIDToStringConversion
+
 
+
+ + + +

V

+
+
value() - Method in annotation type org.mapstruct.AnnotateWith
+
 
+
value() - Method in annotation type org.mapstruct.AnnotateWiths
+
+
The configuration of the additional annotations.
+
+
value() - Method in annotation type org.mapstruct.control.MappingControl
+
 
+
value() - Method in annotation type org.mapstruct.control.MappingControls
+
 
+
value() - Method in annotation type org.mapstruct.DecoratedWith
+
+
The decorator type.
+
+
value() - Method in annotation type org.mapstruct.Javadoc
+
+
Main Javadoc comment text block.
+
+
value() - Method in annotation type org.mapstruct.Mappings
+
+
The configuration of the bean attributes.
+
+
value() - Method in annotation type org.mapstruct.Named
+
+
A name qualifying the annotated element
+
+
value() - Method in annotation type org.mapstruct.SubclassMappings
+
 
+
value() - Method in annotation type org.mapstruct.util.Experimental
+
 
+
value() - Method in annotation type org.mapstruct.ValueMappings
+
 
+
value(String) - Method in class org.mapstruct.ap.internal.model.Javadoc.Builder
+
 
+
valueDateFormat() - Method in annotation type org.mapstruct.MapMapping
+
+
A format string as processable by SimpleDateFormat if the annotated method maps from a map with value + type String to an map with value type Date or vice-versa.
+
+
valueFormattingParameters(FormattingParameters) - Method in class org.mapstruct.ap.internal.model.MapMappingMethod.Builder
+
 
+
ValueMapping - Annotation Type in org.mapstruct
+
+
Configures the mapping of source constant value to target constant value.
+
+
VALUEMAPPING_ANY_AREADY_DEFINED - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_ANY_REMAINING_FOR_NON_ENUM - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_ANY_REMAINING_OR_UNMAPPED_MISSING - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_CREATE_NOTE - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_DUPLICATE_SOURCE - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_NON_EXISTING_CONSTANT - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_NON_EXISTING_CONSTANT_FROM_SPI - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_THROW_EXCEPTION_SOURCE - org.mapstruct.ap.internal.util.Message
+
 
+
VALUEMAPPING_UNMAPPED_SOURCES - org.mapstruct.ap.internal.util.Message
+
 
+
valueMappingControl() - Method in annotation type org.mapstruct.MapMapping
+
+
Allows detailed control over the value mapping process.
+
+
ValueMappingMethod - Class in org.mapstruct.ap.internal.model
+
+
A ValueMappingMethod which maps one value type to another, optionally configured by one or more + ValueMappingOptionss.
+
+
ValueMappingMethod.Builder - Class in org.mapstruct.ap.internal.model
+
 
+
ValueMappingMethod.MappingEntry - Class in org.mapstruct.ap.internal.model
+
 
+
ValueMappingOptions - Class in org.mapstruct.ap.internal.model.source
+
+
Represents the mapping between one value constant and another.
+
+
valueMappings(List<ValueMappingOptions>) - Method in class org.mapstruct.ap.internal.model.ValueMappingMethod.Builder
+
 
+
ValueMappings - Annotation Type in org.mapstruct
+
+
Constructs a set of value (constant) mappings.
+
+
valueNumberFormat() - Method in annotation type org.mapstruct.MapMapping
+
+
A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
+
+
valueOf(String) - Static method in enum org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.ap.internal.model.common.Accessibility
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.ap.internal.util.accessor.AccessorType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.ap.internal.util.Message
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.ap.spi.MethodType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.CollectionMappingStrategy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.control.MappingControl.Use
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.InjectionStrategy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.MappingInheritanceStrategy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.NullValueCheckStrategy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.NullValueMappingStrategy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.NullValuePropertyMappingStrategy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.ReportingPolicy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.mapstruct.SubclassExhaustiveStrategy
+
+
Returns the enum constant of this type with the specified name.
+
+
valueQualifiedBy() - Method in annotation type org.mapstruct.MapMapping
+
+
A value qualifier can be specified to aid the selection process of a suitable mapper for the values in the map.
+
+
valueQualifiedByName() - Method in annotation type org.mapstruct.MapMapping
+
+
String-based form of qualifiers; When looking for a suitable mapping method to map this map mapping method's + value type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the class-level) + a Named annotation for each of the specified qualifier names.
+
+
values() - Static method in enum org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.ap.internal.model.common.Accessibility
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.ap.internal.util.accessor.AccessorType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.ap.internal.util.Message
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.ap.spi.MethodType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.CollectionMappingStrategy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.control.MappingControl.Use
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.InjectionStrategy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.MappingInheritanceStrategy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.NullValueCheckStrategy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.NullValueMappingStrategy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.NullValuePropertyMappingStrategy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.ReportingPolicy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.mapstruct.SubclassExhaustiveStrategy
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
valueSelectionParameters(SelectionParameters) - Method in class org.mapstruct.ap.internal.model.MapMappingMethod.Builder
+
 
+
valueTargetType() - Method in annotation type org.mapstruct.MapMapping
+
+
Specifies the type of the value to be used in the result of the mapping method in case multiple mapping + methods qualify.
+
+
VERBOSE - Static variable in class org.mapstruct.ap.MappingProcessor
+
 
+
versionInformation - Variable in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
versionInformation(VersionInformation) - Method in class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder
+
 
+
VersionInformation - Interface in org.mapstruct.ap.internal.version
+
+
Provides information about the processor version and the processor context implementation version
+
+
+ + + +

W

+
+
WARN - org.mapstruct.ReportingPolicy
+
+
A report with Diagnostic.Kind.WARNING will be created for the given issue.
+
+
withDefaultConstructor(Type) - Static method in class org.mapstruct.ap.internal.model.common.ImplementationType
+
 
+
withInitialCapacity(Type) - Static method in class org.mapstruct.ap.internal.model.common.ImplementationType
+
 
+
withLoadFactorAdjustment(Type) - Static method in class org.mapstruct.ap.internal.model.common.ImplementationType
+
 
+
withNewAnnotations(List<Annotation>) - Method in class org.mapstruct.ap.internal.model.AnnotationMapperReference
+
 
+
withNode(String, String...) - Method in class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder
+
 
+
withNode(String, String...) - Static method in class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer
+
 
+
withNode(String, Set<String>) - Method in class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder
+
 
+
withoutBounds() - Method in class org.mapstruct.ap.internal.model.common.Type
+
 
+
withoutResultType(SelectionParameters) - Static method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
withSourceRHS(SourceRHS) - Method in class org.mapstruct.ap.internal.model.source.SelectionParameters
+
 
+
WrapperForCollectionsAndMaps - Class in org.mapstruct.ap.internal.model.assignment
+
+ +
+
WrapperForCollectionsAndMaps(Assignment, List<Type>, Type, boolean) - Constructor for class org.mapstruct.ap.internal.model.assignment.WrapperForCollectionsAndMaps
+
 
+
WrapperToStringConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between wrapper types such as Integer and String.
+
+
WrapperToStringConversion(Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.WrapperToStringConversion
+
 
+
WrapperToWrapperConversion - Class in org.mapstruct.ap.internal.conversion
+
+
Conversion between wrapper types such as Integer or Long.
+
+
WrapperToWrapperConversion(Class<?>, Class<?>) - Constructor for class org.mapstruct.ap.internal.conversion.WrapperToWrapperConversion
+
 
+
Writable - Interface in org.mapstruct.ap.internal.writer
+
+
An element with the ability to write itself into a given Writer.
+
+
Writable.Context - Interface in org.mapstruct.ap.internal.writer
+
+
Passed to Writable, providing access to additional data specific to a given implementation of the model + serialization mechanism.
+
+
write(FreeMarkerWritable, Writable.Context, Writer) - Method in class org.mapstruct.ap.internal.writer.FreeMarkerModelElementWriter
+
 
+
write(Writable.Context, Writer) - Method in class org.mapstruct.ap.internal.writer.FreeMarkerWritable
+
 
+
write(Writable.Context, Writer) - Method in interface org.mapstruct.ap.internal.writer.Writable
+
+
Writes this element to the given writer.
+
+
writeModel(FileObject, Writable) - Method in class org.mapstruct.ap.internal.writer.ModelWriter
+
 
+
+ + + +

X

+
+
XmlConstants - Class in org.mapstruct.ap.internal.util
+
+
Helper holding JAXB time full qualified class names for conversion registration
+
+
XmlGregorianCalendarToCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToCalendar
+
 
+
XmlGregorianCalendarToDate - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToDate(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToDate
+
 
+
XmlGregorianCalendarToJodaDateTime - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToJodaDateTime(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaDateTime
+
 
+
XmlGregorianCalendarToJodaLocalDate - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToJodaLocalDate(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDate
+
 
+
XmlGregorianCalendarToJodaLocalDateTime - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToJodaLocalDateTime(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDateTime
+
 
+
XmlGregorianCalendarToJodaLocalTime - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToJodaLocalTime(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalTime
+
 
+
XmlGregorianCalendarToLocalDate - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToLocalDate(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDate
+
 
+
XmlGregorianCalendarToLocalDateTime - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToLocalDateTime(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDateTime
+
 
+
XmlGregorianCalendarToString - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
XmlGregorianCalendarToString(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString
+
 
+
+ + + +

Z

+
+
zonedDateTime(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for ZonedDateTime.
+
+
ZonedDateTimeToCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
+
BuiltInMethod for mapping between Calendar and ZonedDateTime.
+
+
ZonedDateTimeToXmlGregorianCalendar - Class in org.mapstruct.ap.internal.model.source.builtin
+
 
+
ZonedDateTimeToXmlGregorianCalendar(TypeFactory) - Constructor for class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToXmlGregorianCalendar
+
 
+
zoneId(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for ZoneId.
+
+
zoneOffset(ConversionContext) - Static method in class org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
Name for ZoneOffset.
+
+
+A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes All Packages
+
+ + + diff --git a/static/documentation/1.6/api/index.html b/static/documentation/1.6/api/index.html new file mode 100644 index 000000000..e2f8c52ac --- /dev/null +++ b/static/documentation/1.6/api/index.html @@ -0,0 +1,324 @@ + + + + + +Overview (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

MapStruct 1.6.0.Beta1

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
All Packages MapStruct API MapStruct Processor SPI MapStruct Processor 
PackageDescription
org.mapstruct +
+ MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
+
org.mapstruct.ap +
+ This package and it sub-packages contain the implementation of the MapStruct annotation processor.
+
org.mapstruct.ap.internal.conversion +
+ Provides built-in conversions between primitive and wrapper types, strings, dates etc.
+
org.mapstruct.ap.internal.model +
+ Meta-model of mapper types, their methods, mappings between properties etc.
+
org.mapstruct.ap.internal.model.annotation 
org.mapstruct.ap.internal.model.assignment +
Meta-model of assignments.
+
org.mapstruct.ap.internal.model.beanmapping +
+ helper classes used in BeanMappingMethod
+
org.mapstruct.ap.internal.model.common +
+ Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
+
org.mapstruct.ap.internal.model.dependency 
org.mapstruct.ap.internal.model.presence 
org.mapstruct.ap.internal.model.source +
+ Intermediary representation of mapping methods as retrieved from via the annotation processing API.
+
org.mapstruct.ap.internal.model.source.builtin +
+ Contains "built-in methods" which may be added as private methods to a generated mapper.
+
org.mapstruct.ap.internal.model.source.selector +
+ Provides strategies for selecting a matching mapping or factory method when mapping from one attribute to another + or instantiating the target type of a mapping method, respectively.
+
org.mapstruct.ap.internal.option +
+ Provides access to the options passed to the annotation processor.
+
org.mapstruct.ap.internal.processor +
+ Contains model processors which perform tasks such as retrieving mapping methods, creating a model representation + and writing the model into Java source files.
+
org.mapstruct.ap.internal.processor.creation +
+ Contains all helper classes for the MapperCreationProcessor
+
org.mapstruct.ap.internal.util +
+ Several helper types dealing with collection types, option management etc.
+
org.mapstruct.ap.internal.util.accessor 
org.mapstruct.ap.internal.version +
+ Provides various version information
+
org.mapstruct.ap.internal.writer +
+ Infrastructure for dealing with the FreeMarker template engine.
+
org.mapstruct.ap.spi +
+ SPI (service provider interface) contracts to be implemented for advanced use cases.
+
org.mapstruct.ap.spi.util 
org.mapstruct.control 
org.mapstruct.factory +
+ Provides the Mappers factory class for the retrieval of mapper instances if no + explicit component model such as CDI is configured via Mapper.componentModel().
+
org.mapstruct.util 
+
+
+ + + diff --git a/static/documentation/1.6/api/jquery-ui.overrides.css b/static/documentation/1.6/api/jquery-ui.overrides.css new file mode 100644 index 000000000..facf852c2 --- /dev/null +++ b/static/documentation/1.6/api/jquery-ui.overrides.css @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; + border: 1px solid #F8981D; +} diff --git a/static/documentation/1.6/api/jquery/external/jquery/jquery.js b/static/documentation/1.6/api/jquery/external/jquery/jquery.js new file mode 100644 index 000000000..50937333b --- /dev/null +++ b/static/documentation/1.6/api/jquery/external/jquery/jquery.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( "\r\n"; + +// inject VBScript +document.write(IEBinaryToArray_ByteStr_Script); + +global.JSZipUtils._getBinaryFromXHR = function (xhr) { + var binary = xhr.responseBody; + var byteMapping = {}; + for ( var i = 0; i < 256; i++ ) { + for ( var j = 0; j < 256; j++ ) { + byteMapping[ String.fromCharCode( i + (j << 8) ) ] = + String.fromCharCode(i) + String.fromCharCode(j); + } + } + var rawBytes = IEBinaryToArray_ByteStr(binary); + var lastChr = IEBinaryToArray_ByteStr_Last(binary); + return rawBytes.replace(/[\s\S]/g, function( match ) { + return byteMapping[match]; + }) + lastChr; +}; + +// enforcing Stuk's coding style +// vim: set shiftwidth=4 softtabstop=4: + +},{}]},{},[1]) +; diff --git a/static/documentation/1.6/api/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/static/documentation/1.6/api/jquery/jszip-utils/dist/jszip-utils-ie.min.js new file mode 100644 index 000000000..93d8bc8ef --- /dev/null +++ b/static/documentation/1.6/api/jquery/jszip-utils/dist/jszip-utils-ie.min.js @@ -0,0 +1,10 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/static/documentation/1.6/api/jquery/jszip-utils/dist/jszip-utils.js b/static/documentation/1.6/api/jquery/jszip-utils/dist/jszip-utils.js new file mode 100644 index 000000000..775895ec9 --- /dev/null +++ b/static/documentation/1.6/api/jquery/jszip-utils/dist/jszip-utils.js @@ -0,0 +1,118 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o> 2; + enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); + enc3 = remainingBytes > 1 ? (((chr2 & 15) << 2) | (chr3 >> 6)) : 64; + enc4 = remainingBytes > 2 ? (chr3 & 63) : 64; + + output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4)); + + } + + return output.join(""); +}; + +// public method for decoding +exports.decode = function(input) { + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0, resultIndex = 0; + + var dataUrlPrefix = "data:"; + + if (input.substr(0, dataUrlPrefix.length) === dataUrlPrefix) { + // This is a common error: people give a data url + // (data:image/png;base64,iVBOR...) with a {base64: true} and + // wonders why things don't work. + // We can detect that the string input looks like a data url but we + // *can't* be sure it is one: removing everything up to the comma would + // be too dangerous. + throw new Error("Invalid base64 input, it looks like a data url."); + } + + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + + var totalLength = input.length * 3 / 4; + if(input.charAt(input.length - 1) === _keyStr.charAt(64)) { + totalLength--; + } + if(input.charAt(input.length - 2) === _keyStr.charAt(64)) { + totalLength--; + } + if (totalLength % 1 !== 0) { + // totalLength is not an integer, the length does not match a valid + // base64 content. That can happen if: + // - the input is not a base64 content + // - the input is *almost* a base64 content, with a extra chars at the + // beginning or at the end + // - the input uses a base64 variant (base64url for example) + throw new Error("Invalid base64 input, bad content length."); + } + var output; + if (support.uint8array) { + output = new Uint8Array(totalLength|0); + } else { + output = new Array(totalLength|0); + } + + while (i < input.length) { + + enc1 = _keyStr.indexOf(input.charAt(i++)); + enc2 = _keyStr.indexOf(input.charAt(i++)); + enc3 = _keyStr.indexOf(input.charAt(i++)); + enc4 = _keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output[resultIndex++] = chr1; + + if (enc3 !== 64) { + output[resultIndex++] = chr2; + } + if (enc4 !== 64) { + output[resultIndex++] = chr3; + } + + } + + return output; +}; + +},{"./support":30,"./utils":32}],2:[function(require,module,exports){ +'use strict'; + +var external = require("./external"); +var DataWorker = require('./stream/DataWorker'); +var Crc32Probe = require('./stream/Crc32Probe'); +var DataLengthProbe = require('./stream/DataLengthProbe'); + +/** + * Represent a compressed object, with everything needed to decompress it. + * @constructor + * @param {number} compressedSize the size of the data compressed. + * @param {number} uncompressedSize the size of the data after decompression. + * @param {number} crc32 the crc32 of the decompressed file. + * @param {object} compression the type of compression, see lib/compressions.js. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the compressed data. + */ +function CompressedObject(compressedSize, uncompressedSize, crc32, compression, data) { + this.compressedSize = compressedSize; + this.uncompressedSize = uncompressedSize; + this.crc32 = crc32; + this.compression = compression; + this.compressedContent = data; +} + +CompressedObject.prototype = { + /** + * Create a worker to get the uncompressed content. + * @return {GenericWorker} the worker. + */ + getContentWorker: function () { + var worker = new DataWorker(external.Promise.resolve(this.compressedContent)) + .pipe(this.compression.uncompressWorker()) + .pipe(new DataLengthProbe("data_length")); + + var that = this; + worker.on("end", function () { + if (this.streamInfo['data_length'] !== that.uncompressedSize) { + throw new Error("Bug : uncompressed data size mismatch"); + } + }); + return worker; + }, + /** + * Create a worker to get the compressed content. + * @return {GenericWorker} the worker. + */ + getCompressedWorker: function () { + return new DataWorker(external.Promise.resolve(this.compressedContent)) + .withStreamInfo("compressedSize", this.compressedSize) + .withStreamInfo("uncompressedSize", this.uncompressedSize) + .withStreamInfo("crc32", this.crc32) + .withStreamInfo("compression", this.compression) + ; + } +}; + +/** + * Chain the given worker with other workers to compress the content with the + * given compression. + * @param {GenericWorker} uncompressedWorker the worker to pipe. + * @param {Object} compression the compression object. + * @param {Object} compressionOptions the options to use when compressing. + * @return {GenericWorker} the new worker compressing the content. + */ +CompressedObject.createWorkerFrom = function (uncompressedWorker, compression, compressionOptions) { + return uncompressedWorker + .pipe(new Crc32Probe()) + .pipe(new DataLengthProbe("uncompressedSize")) + .pipe(compression.compressWorker(compressionOptions)) + .pipe(new DataLengthProbe("compressedSize")) + .withStreamInfo("compression", compression); +}; + +module.exports = CompressedObject; + +},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require("./stream/GenericWorker"); + +exports.STORE = { + magic: "\x00\x00", + compressWorker : function (compressionOptions) { + return new GenericWorker("STORE compression"); + }, + uncompressWorker : function () { + return new GenericWorker("STORE decompression"); + } +}; +exports.DEFLATE = require('./flate'); + +},{"./flate":7,"./stream/GenericWorker":28}],4:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); + +/** + * The following functions come from pako, from pako/lib/zlib/crc32.js + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Use ordinary array, since untyped makes no boost here +function makeTable() { + var c, table = []; + + for(var n =0; n < 256; n++){ + c = n; + for(var k =0; k < 8; k++){ + c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); + } + table[n] = c; + } + + return table; +} + +// Create table on load. Just 255 signed longs. Not a problem. +var crcTable = makeTable(); + + +function crc32(crc, buf, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +// That's all for the pako functions. + +/** + * Compute the crc32 of a string. + * This is almost the same as the function crc32, but for strings. Using the + * same function for the two use cases leads to horrible performances. + * @param {Number} crc the starting value of the crc. + * @param {String} str the string to use. + * @param {Number} len the length of the string. + * @param {Number} pos the starting position for the crc32 computation. + * @return {Number} the computed crc32. + */ +function crc32str(crc, str, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ str.charCodeAt(i)) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +module.exports = function crc32wrapper(input, crc) { + if (typeof input === "undefined" || !input.length) { + return 0; + } + + var isArray = utils.getTypeOf(input) !== "string"; + + if(isArray) { + return crc32(crc|0, input, input.length, 0); + } else { + return crc32str(crc|0, input, input.length, 0); + } +}; + +},{"./utils":32}],5:[function(require,module,exports){ +'use strict'; +exports.base64 = false; +exports.binary = false; +exports.dir = false; +exports.createFolders = true; +exports.date = null; +exports.compression = null; +exports.compressionOptions = null; +exports.comment = null; +exports.unixPermissions = null; +exports.dosPermissions = null; + +},{}],6:[function(require,module,exports){ +/* global Promise */ +'use strict'; + +// load the global object first: +// - it should be better integrated in the system (unhandledRejection in node) +// - the environment may have a custom Promise implementation (see zone.js) +var ES6Promise = null; +if (typeof Promise !== "undefined") { + ES6Promise = Promise; +} else { + ES6Promise = require("lie"); +} + +/** + * Let the user use/change some implementations. + */ +module.exports = { + Promise: ES6Promise +}; + +},{"lie":37}],7:[function(require,module,exports){ +'use strict'; +var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined'); + +var pako = require("pako"); +var utils = require("./utils"); +var GenericWorker = require("./stream/GenericWorker"); + +var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "array"; + +exports.magic = "\x08\x00"; + +/** + * Create a worker that uses pako to inflate/deflate. + * @constructor + * @param {String} action the name of the pako function to call : either "Deflate" or "Inflate". + * @param {Object} options the options to use when (de)compressing. + */ +function FlateWorker(action, options) { + GenericWorker.call(this, "FlateWorker/" + action); + + this._pako = null; + this._pakoAction = action; + this._pakoOptions = options; + // the `meta` object from the last chunk received + // this allow this worker to pass around metadata + this.meta = {}; +} + +utils.inherits(FlateWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +FlateWorker.prototype.processChunk = function (chunk) { + this.meta = chunk.meta; + if (this._pako === null) { + this._createPako(); + } + this._pako.push(utils.transformTo(ARRAY_TYPE, chunk.data), false); +}; + +/** + * @see GenericWorker.flush + */ +FlateWorker.prototype.flush = function () { + GenericWorker.prototype.flush.call(this); + if (this._pako === null) { + this._createPako(); + } + this._pako.push([], true); +}; +/** + * @see GenericWorker.cleanUp + */ +FlateWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this._pako = null; +}; + +/** + * Create the _pako object. + * TODO: lazy-loading this object isn't the best solution but it's the + * quickest. The best solution is to lazy-load the worker list. See also the + * issue #446. + */ +FlateWorker.prototype._createPako = function () { + this._pako = new pako[this._pakoAction]({ + raw: true, + level: this._pakoOptions.level || -1 // default compression + }); + var self = this; + this._pako.onData = function(data) { + self.push({ + data : data, + meta : self.meta + }); + }; +}; + +exports.compressWorker = function (compressionOptions) { + return new FlateWorker("Deflate", compressionOptions); +}; +exports.uncompressWorker = function () { + return new FlateWorker("Inflate", {}); +}; + +},{"./stream/GenericWorker":28,"./utils":32,"pako":38}],8:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); +var utf8 = require('../utf8'); +var crc32 = require('../crc32'); +var signature = require('../signature'); + +/** + * Transform an integer into a string in hexadecimal. + * @private + * @param {number} dec the number to convert. + * @param {number} bytes the number of bytes to generate. + * @returns {string} the result. + */ +var decToHex = function(dec, bytes) { + var hex = "", i; + for (i = 0; i < bytes; i++) { + hex += String.fromCharCode(dec & 0xff); + dec = dec >>> 8; + } + return hex; +}; + +/** + * Generate the UNIX part of the external file attributes. + * @param {Object} unixPermissions the unix permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * adapted from http://unix.stackexchange.com/questions/14705/the-zip-formats-external-file-attribute : + * + * TTTTsstrwxrwxrwx0000000000ADVSHR + * ^^^^____________________________ file type, see zipinfo.c (UNX_*) + * ^^^_________________________ setuid, setgid, sticky + * ^^^^^^^^^________________ permissions + * ^^^^^^^^^^______ not used ? + * ^^^^^^ DOS attribute bits : Archive, Directory, Volume label, System file, Hidden, Read only + */ +var generateUnixExternalFileAttr = function (unixPermissions, isDir) { + + var result = unixPermissions; + if (!unixPermissions) { + // I can't use octal values in strict mode, hence the hexa. + // 040775 => 0x41fd + // 0100664 => 0x81b4 + result = isDir ? 0x41fd : 0x81b4; + } + return (result & 0xFFFF) << 16; +}; + +/** + * Generate the DOS part of the external file attributes. + * @param {Object} dosPermissions the dos permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * Bit 0 Read-Only + * Bit 1 Hidden + * Bit 2 System + * Bit 3 Volume Label + * Bit 4 Directory + * Bit 5 Archive + */ +var generateDosExternalFileAttr = function (dosPermissions, isDir) { + + // the dir flag is already set for compatibility + return (dosPermissions || 0) & 0x3F; +}; + +/** + * Generate the various parts used in the construction of the final zip file. + * @param {Object} streamInfo the hash with information about the compressed file. + * @param {Boolean} streamedContent is the content streamed ? + * @param {Boolean} streamingEnded is the stream finished ? + * @param {number} offset the current offset from the start of the zip file. + * @param {String} platform let's pretend we are this platform (change platform dependents fields) + * @param {Function} encodeFileName the function to encode the file name / comment. + * @return {Object} the zip parts. + */ +var generateZipParts = function(streamInfo, streamedContent, streamingEnded, offset, platform, encodeFileName) { + var file = streamInfo['file'], + compression = streamInfo['compression'], + useCustomEncoding = encodeFileName !== utf8.utf8encode, + encodedFileName = utils.transformTo("string", encodeFileName(file.name)), + utfEncodedFileName = utils.transformTo("string", utf8.utf8encode(file.name)), + comment = file.comment, + encodedComment = utils.transformTo("string", encodeFileName(comment)), + utfEncodedComment = utils.transformTo("string", utf8.utf8encode(comment)), + useUTF8ForFileName = utfEncodedFileName.length !== file.name.length, + useUTF8ForComment = utfEncodedComment.length !== comment.length, + dosTime, + dosDate, + extraFields = "", + unicodePathExtraField = "", + unicodeCommentExtraField = "", + dir = file.dir, + date = file.date; + + + var dataInfo = { + crc32 : 0, + compressedSize : 0, + uncompressedSize : 0 + }; + + // if the content is streamed, the sizes/crc32 are only available AFTER + // the end of the stream. + if (!streamedContent || streamingEnded) { + dataInfo.crc32 = streamInfo['crc32']; + dataInfo.compressedSize = streamInfo['compressedSize']; + dataInfo.uncompressedSize = streamInfo['uncompressedSize']; + } + + var bitflag = 0; + if (streamedContent) { + // Bit 3: the sizes/crc32 are set to zero in the local header. + // The correct values are put in the data descriptor immediately + // following the compressed data. + bitflag |= 0x0008; + } + if (!useCustomEncoding && (useUTF8ForFileName || useUTF8ForComment)) { + // Bit 11: Language encoding flag (EFS). + bitflag |= 0x0800; + } + + + var extFileAttr = 0; + var versionMadeBy = 0; + if (dir) { + // dos or unix, we set the dos dir flag + extFileAttr |= 0x00010; + } + if(platform === "UNIX") { + versionMadeBy = 0x031E; // UNIX, version 3.0 + extFileAttr |= generateUnixExternalFileAttr(file.unixPermissions, dir); + } else { // DOS or other, fallback to DOS + versionMadeBy = 0x0014; // DOS, version 2.0 + extFileAttr |= generateDosExternalFileAttr(file.dosPermissions, dir); + } + + // date + // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html + + dosTime = date.getUTCHours(); + dosTime = dosTime << 6; + dosTime = dosTime | date.getUTCMinutes(); + dosTime = dosTime << 5; + dosTime = dosTime | date.getUTCSeconds() / 2; + + dosDate = date.getUTCFullYear() - 1980; + dosDate = dosDate << 4; + dosDate = dosDate | (date.getUTCMonth() + 1); + dosDate = dosDate << 5; + dosDate = dosDate | date.getUTCDate(); + + if (useUTF8ForFileName) { + // set the unicode path extra field. unzip needs at least one extra + // field to correctly handle unicode path, so using the path is as good + // as any other information. This could improve the situation with + // other archive managers too. + // This field is usually used without the utf8 flag, with a non + // unicode path in the header (winrar, winzip). This helps (a bit) + // with the messy Windows' default compressed folders feature but + // breaks on p7zip which doesn't seek the unicode path extra field. + // So for now, UTF-8 everywhere ! + unicodePathExtraField = + // Version + decToHex(1, 1) + + // NameCRC32 + decToHex(crc32(encodedFileName), 4) + + // UnicodeName + utfEncodedFileName; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x70" + + // size + decToHex(unicodePathExtraField.length, 2) + + // content + unicodePathExtraField; + } + + if(useUTF8ForComment) { + + unicodeCommentExtraField = + // Version + decToHex(1, 1) + + // CommentCRC32 + decToHex(crc32(encodedComment), 4) + + // UnicodeName + utfEncodedComment; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x63" + + // size + decToHex(unicodeCommentExtraField.length, 2) + + // content + unicodeCommentExtraField; + } + + var header = ""; + + // version needed to extract + header += "\x0A\x00"; + // general purpose bit flag + header += decToHex(bitflag, 2); + // compression method + header += compression.magic; + // last mod file time + header += decToHex(dosTime, 2); + // last mod file date + header += decToHex(dosDate, 2); + // crc-32 + header += decToHex(dataInfo.crc32, 4); + // compressed size + header += decToHex(dataInfo.compressedSize, 4); + // uncompressed size + header += decToHex(dataInfo.uncompressedSize, 4); + // file name length + header += decToHex(encodedFileName.length, 2); + // extra field length + header += decToHex(extraFields.length, 2); + + + var fileRecord = signature.LOCAL_FILE_HEADER + header + encodedFileName + extraFields; + + var dirRecord = signature.CENTRAL_FILE_HEADER + + // version made by (00: DOS) + decToHex(versionMadeBy, 2) + + // file header (common to file and central directory) + header + + // file comment length + decToHex(encodedComment.length, 2) + + // disk number start + "\x00\x00" + + // internal file attributes TODO + "\x00\x00" + + // external file attributes + decToHex(extFileAttr, 4) + + // relative offset of local header + decToHex(offset, 4) + + // file name + encodedFileName + + // extra field + extraFields + + // file comment + encodedComment; + + return { + fileRecord: fileRecord, + dirRecord: dirRecord + }; +}; + +/** + * Generate the EOCD record. + * @param {Number} entriesCount the number of entries in the zip file. + * @param {Number} centralDirLength the length (in bytes) of the central dir. + * @param {Number} localDirLength the length (in bytes) of the local dir. + * @param {String} comment the zip file comment as a binary string. + * @param {Function} encodeFileName the function to encode the comment. + * @return {String} the EOCD record. + */ +var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, localDirLength, comment, encodeFileName) { + var dirEnd = ""; + var encodedComment = utils.transformTo("string", encodeFileName(comment)); + + // end of central dir signature + dirEnd = signature.CENTRAL_DIRECTORY_END + + // number of this disk + "\x00\x00" + + // number of the disk with the start of the central directory + "\x00\x00" + + // total number of entries in the central directory on this disk + decToHex(entriesCount, 2) + + // total number of entries in the central directory + decToHex(entriesCount, 2) + + // size of the central directory 4 bytes + decToHex(centralDirLength, 4) + + // offset of start of central directory with respect to the starting disk number + decToHex(localDirLength, 4) + + // .ZIP file comment length + decToHex(encodedComment.length, 2) + + // .ZIP file comment + encodedComment; + + return dirEnd; +}; + +/** + * Generate data descriptors for a file entry. + * @param {Object} streamInfo the hash generated by a worker, containing information + * on the file entry. + * @return {String} the data descriptors. + */ +var generateDataDescriptors = function (streamInfo) { + var descriptor = ""; + descriptor = signature.DATA_DESCRIPTOR + + // crc-32 4 bytes + decToHex(streamInfo['crc32'], 4) + + // compressed size 4 bytes + decToHex(streamInfo['compressedSize'], 4) + + // uncompressed size 4 bytes + decToHex(streamInfo['uncompressedSize'], 4); + + return descriptor; +}; + + +/** + * A worker to concatenate other workers to create a zip file. + * @param {Boolean} streamFiles `true` to stream the content of the files, + * `false` to accumulate it. + * @param {String} comment the comment to use. + * @param {String} platform the platform to use, "UNIX" or "DOS". + * @param {Function} encodeFileName the function to encode file names and comments. + */ +function ZipFileWorker(streamFiles, comment, platform, encodeFileName) { + GenericWorker.call(this, "ZipFileWorker"); + // The number of bytes written so far. This doesn't count accumulated chunks. + this.bytesWritten = 0; + // The comment of the zip file + this.zipComment = comment; + // The platform "generating" the zip file. + this.zipPlatform = platform; + // the function to encode file names and comments. + this.encodeFileName = encodeFileName; + // Should we stream the content of the files ? + this.streamFiles = streamFiles; + // If `streamFiles` is false, we will need to accumulate the content of the + // files to calculate sizes / crc32 (and write them *before* the content). + // This boolean indicates if we are accumulating chunks (it will change a lot + // during the lifetime of this worker). + this.accumulate = false; + // The buffer receiving chunks when accumulating content. + this.contentBuffer = []; + // The list of generated directory records. + this.dirRecords = []; + // The offset (in bytes) from the beginning of the zip file for the current source. + this.currentSourceOffset = 0; + // The total number of entries in this zip file. + this.entriesCount = 0; + // the name of the file currently being added, null when handling the end of the zip file. + // Used for the emitted metadata. + this.currentFile = null; + + + + this._sources = []; +} +utils.inherits(ZipFileWorker, GenericWorker); + +/** + * @see GenericWorker.push + */ +ZipFileWorker.prototype.push = function (chunk) { + + var currentFilePercent = chunk.meta.percent || 0; + var entriesCount = this.entriesCount; + var remainingFiles = this._sources.length; + + if(this.accumulate) { + this.contentBuffer.push(chunk); + } else { + this.bytesWritten += chunk.data.length; + + GenericWorker.prototype.push.call(this, { + data : chunk.data, + meta : { + currentFile : this.currentFile, + percent : entriesCount ? (currentFilePercent + 100 * (entriesCount - remainingFiles - 1)) / entriesCount : 100 + } + }); + } +}; + +/** + * The worker started a new source (an other worker). + * @param {Object} streamInfo the streamInfo object from the new source. + */ +ZipFileWorker.prototype.openedSource = function (streamInfo) { + this.currentSourceOffset = this.bytesWritten; + this.currentFile = streamInfo['file'].name; + + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + + // don't stream folders (because they don't have any content) + if(streamedContent) { + var record = generateZipParts(streamInfo, streamedContent, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + } else { + // we need to wait for the whole file before pushing anything + this.accumulate = true; + } +}; + +/** + * The worker finished a source (an other worker). + * @param {Object} streamInfo the streamInfo object from the finished source. + */ +ZipFileWorker.prototype.closedSource = function (streamInfo) { + this.accumulate = false; + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + var record = generateZipParts(streamInfo, streamedContent, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + + this.dirRecords.push(record.dirRecord); + if(streamedContent) { + // after the streamed file, we put data descriptors + this.push({ + data : generateDataDescriptors(streamInfo), + meta : {percent:100} + }); + } else { + // the content wasn't streamed, we need to push everything now + // first the file record, then the content + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + while(this.contentBuffer.length) { + this.push(this.contentBuffer.shift()); + } + } + this.currentFile = null; +}; + +/** + * @see GenericWorker.flush + */ +ZipFileWorker.prototype.flush = function () { + + var localDirLength = this.bytesWritten; + for(var i = 0; i < this.dirRecords.length; i++) { + this.push({ + data : this.dirRecords[i], + meta : {percent:100} + }); + } + var centralDirLength = this.bytesWritten - localDirLength; + + var dirEnd = generateCentralDirectoryEnd(this.dirRecords.length, centralDirLength, localDirLength, this.zipComment, this.encodeFileName); + + this.push({ + data : dirEnd, + meta : {percent:100} + }); +}; + +/** + * Prepare the next source to be read. + */ +ZipFileWorker.prototype.prepareNextSource = function () { + this.previous = this._sources.shift(); + this.openedSource(this.previous.streamInfo); + if (this.isPaused) { + this.previous.pause(); + } else { + this.previous.resume(); + } +}; + +/** + * @see GenericWorker.registerPrevious + */ +ZipFileWorker.prototype.registerPrevious = function (previous) { + this._sources.push(previous); + var self = this; + + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.closedSource(self.previous.streamInfo); + if(self._sources.length) { + self.prepareNextSource(); + } else { + self.end(); + } + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; +}; + +/** + * @see GenericWorker.resume + */ +ZipFileWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this.previous && this._sources.length) { + this.prepareNextSource(); + return true; + } + if (!this.previous && !this._sources.length && !this.generatedError) { + this.end(); + return true; + } +}; + +/** + * @see GenericWorker.error + */ +ZipFileWorker.prototype.error = function (e) { + var sources = this._sources; + if(!GenericWorker.prototype.error.call(this, e)) { + return false; + } + for(var i = 0; i < sources.length; i++) { + try { + sources[i].error(e); + } catch(e) { + // the `error` exploded, nothing to do + } + } + return true; +}; + +/** + * @see GenericWorker.lock + */ +ZipFileWorker.prototype.lock = function () { + GenericWorker.prototype.lock.call(this); + var sources = this._sources; + for(var i = 0; i < sources.length; i++) { + sources[i].lock(); + } +}; + +module.exports = ZipFileWorker; + +},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(require,module,exports){ +'use strict'; + +var compressions = require('../compressions'); +var ZipFileWorker = require('./ZipFileWorker'); + +/** + * Find the compression to use. + * @param {String} fileCompression the compression defined at the file level, if any. + * @param {String} zipCompression the compression defined at the load() level. + * @return {Object} the compression object to use. + */ +var getCompression = function (fileCompression, zipCompression) { + + var compressionName = fileCompression || zipCompression; + var compression = compressions[compressionName]; + if (!compression) { + throw new Error(compressionName + " is not a valid compression method !"); + } + return compression; +}; + +/** + * Create a worker to generate a zip file. + * @param {JSZip} zip the JSZip instance at the right root level. + * @param {Object} options to generate the zip file. + * @param {String} comment the comment to use. + */ +exports.generateWorker = function (zip, options, comment) { + + var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName); + var entriesCount = 0; + try { + + zip.forEach(function (relativePath, file) { + entriesCount++; + var compression = getCompression(file.options.compression, options.compression); + var compressionOptions = file.options.compressionOptions || options.compressionOptions || {}; + var dir = file.dir, date = file.date; + + file._compressWorker(compression, compressionOptions) + .withStreamInfo("file", { + name : relativePath, + dir : dir, + date : date, + comment : file.comment || "", + unixPermissions : file.unixPermissions, + dosPermissions : file.dosPermissions + }) + .pipe(zipFileWorker); + }); + zipFileWorker.entriesCount = entriesCount; + } catch (e) { + zipFileWorker.error(e); + } + + return zipFileWorker; +}; + +},{"../compressions":3,"./ZipFileWorker":8}],10:[function(require,module,exports){ +'use strict'; + +/** + * Representation a of zip file in js + * @constructor + */ +function JSZip() { + // if this constructor is used without `new`, it adds `new` before itself: + if(!(this instanceof JSZip)) { + return new JSZip(); + } + + if(arguments.length) { + throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); + } + + // object containing the files : + // { + // "folder/" : {...}, + // "folder/data.txt" : {...} + // } + // NOTE: we use a null prototype because we do not + // want filenames like "toString" coming from a zip file + // to overwrite methods and attributes in a normal Object. + this.files = Object.create(null); + + this.comment = null; + + // Where we are in the hierarchy + this.root = ""; + this.clone = function() { + var newObj = new JSZip(); + for (var i in this) { + if (typeof this[i] !== "function") { + newObj[i] = this[i]; + } + } + return newObj; + }; +} +JSZip.prototype = require('./object'); +JSZip.prototype.loadAsync = require('./load'); +JSZip.support = require('./support'); +JSZip.defaults = require('./defaults'); + +// TODO find a better way to handle this version, +// a require('package.json').version doesn't work with webpack, see #327 +JSZip.version = "3.7.1"; + +JSZip.loadAsync = function (content, options) { + return new JSZip().loadAsync(content, options); +}; + +JSZip.external = require("./external"); +module.exports = JSZip; + +},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(require,module,exports){ +'use strict'; +var utils = require('./utils'); +var external = require("./external"); +var utf8 = require('./utf8'); +var ZipEntries = require('./zipEntries'); +var Crc32Probe = require('./stream/Crc32Probe'); +var nodejsUtils = require("./nodejsUtils"); + +/** + * Check the CRC32 of an entry. + * @param {ZipEntry} zipEntry the zip entry to check. + * @return {Promise} the result. + */ +function checkEntryCRC32(zipEntry) { + return new external.Promise(function (resolve, reject) { + var worker = zipEntry.decompressed.getContentWorker().pipe(new Crc32Probe()); + worker.on("error", function (e) { + reject(e); + }) + .on("end", function () { + if (worker.streamInfo.crc32 !== zipEntry.decompressed.crc32) { + reject(new Error("Corrupted zip : CRC32 mismatch")); + } else { + resolve(); + } + }) + .resume(); + }); +} + +module.exports = function (data, options) { + var zip = this; + options = utils.extend(options || {}, { + base64: false, + checkCRC32: false, + optimizedBinaryString: false, + createFolders: false, + decodeFileName: utf8.utf8decode + }); + + if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + return external.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")); + } + + return utils.prepareContent("the loaded zip file", data, true, options.optimizedBinaryString, options.base64) + .then(function (data) { + var zipEntries = new ZipEntries(options); + zipEntries.load(data); + return zipEntries; + }).then(function checkCRC32(zipEntries) { + var promises = [external.Promise.resolve(zipEntries)]; + var files = zipEntries.files; + if (options.checkCRC32) { + for (var i = 0; i < files.length; i++) { + promises.push(checkEntryCRC32(files[i])); + } + } + return external.Promise.all(promises); + }).then(function addFiles(results) { + var zipEntries = results.shift(); + var files = zipEntries.files; + for (var i = 0; i < files.length; i++) { + var input = files[i]; + zip.file(input.fileNameStr, input.decompressed, { + binary: true, + optimizedBinaryString: true, + date: input.date, + dir: input.dir, + comment: input.fileCommentStr.length ? input.fileCommentStr : null, + unixPermissions: input.unixPermissions, + dosPermissions: input.dosPermissions, + createFolders: options.createFolders + }); + } + if (zipEntries.zipComment.length) { + zip.comment = zipEntries.zipComment; + } + + return zip; + }); +}; + +},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(require,module,exports){ +"use strict"; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); + +/** + * A worker that use a nodejs stream as source. + * @constructor + * @param {String} filename the name of the file entry for this stream. + * @param {Readable} stream the nodejs stream. + */ +function NodejsStreamInputAdapter(filename, stream) { + GenericWorker.call(this, "Nodejs stream input adapter for " + filename); + this._upstreamEnded = false; + this._bindStream(stream); +} + +utils.inherits(NodejsStreamInputAdapter, GenericWorker); + +/** + * Prepare the stream and bind the callbacks on it. + * Do this ASAP on node 0.10 ! A lazy binding doesn't always work. + * @param {Stream} stream the nodejs stream to use. + */ +NodejsStreamInputAdapter.prototype._bindStream = function (stream) { + var self = this; + this._stream = stream; + stream.pause(); + stream + .on("data", function (chunk) { + self.push({ + data: chunk, + meta : { + percent : 0 + } + }); + }) + .on("error", function (e) { + if(self.isPaused) { + this.generatedError = e; + } else { + self.error(e); + } + }) + .on("end", function () { + if(self.isPaused) { + self._upstreamEnded = true; + } else { + self.end(); + } + }); +}; +NodejsStreamInputAdapter.prototype.pause = function () { + if(!GenericWorker.prototype.pause.call(this)) { + return false; + } + this._stream.pause(); + return true; +}; +NodejsStreamInputAdapter.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if(this._upstreamEnded) { + this.end(); + } else { + this._stream.resume(); + } + + return true; +}; + +module.exports = NodejsStreamInputAdapter; + +},{"../stream/GenericWorker":28,"../utils":32}],13:[function(require,module,exports){ +'use strict'; + +var Readable = require('readable-stream').Readable; + +var utils = require('../utils'); +utils.inherits(NodejsStreamOutputAdapter, Readable); + +/** +* A nodejs stream using a worker as source. +* @see the SourceWrapper in http://nodejs.org/api/stream.html +* @constructor +* @param {StreamHelper} helper the helper wrapping the worker +* @param {Object} options the nodejs stream options +* @param {Function} updateCb the update callback. +*/ +function NodejsStreamOutputAdapter(helper, options, updateCb) { + Readable.call(this, options); + this._helper = helper; + + var self = this; + helper.on("data", function (data, meta) { + if (!self.push(data)) { + self._helper.pause(); + } + if(updateCb) { + updateCb(meta); + } + }) + .on("error", function(e) { + self.emit('error', e); + }) + .on("end", function () { + self.push(null); + }); +} + + +NodejsStreamOutputAdapter.prototype._read = function() { + this._helper.resume(); +}; + +module.exports = NodejsStreamOutputAdapter; + +},{"../utils":32,"readable-stream":16}],14:[function(require,module,exports){ +'use strict'; + +module.exports = { + /** + * True if this is running in Nodejs, will be undefined in a browser. + * In a browser, browserify won't include this file and the whole module + * will be resolved an empty object. + */ + isNode : typeof Buffer !== "undefined", + /** + * Create a new nodejs Buffer from an existing content. + * @param {Object} data the data to pass to the constructor. + * @param {String} encoding the encoding to use. + * @return {Buffer} a new Buffer. + */ + newBufferFrom: function(data, encoding) { + if (Buffer.from && Buffer.from !== Uint8Array.from) { + return Buffer.from(data, encoding); + } else { + if (typeof data === "number") { + // Safeguard for old Node.js versions. On newer versions, + // Buffer.from(number) / Buffer(number, encoding) already throw. + throw new Error("The \"data\" argument must not be a number"); + } + return new Buffer(data, encoding); + } + }, + /** + * Create a new nodejs Buffer with the specified size. + * @param {Integer} size the size of the buffer. + * @return {Buffer} a new Buffer. + */ + allocBuffer: function (size) { + if (Buffer.alloc) { + return Buffer.alloc(size); + } else { + var buf = new Buffer(size); + buf.fill(0); + return buf; + } + }, + /** + * Find out if an object is a Buffer. + * @param {Object} b the object to test. + * @return {Boolean} true if the object is a Buffer, false otherwise. + */ + isBuffer : function(b){ + return Buffer.isBuffer(b); + }, + + isStream : function (obj) { + return obj && + typeof obj.on === "function" && + typeof obj.pause === "function" && + typeof obj.resume === "function"; + } +}; + +},{}],15:[function(require,module,exports){ +'use strict'; +var utf8 = require('./utf8'); +var utils = require('./utils'); +var GenericWorker = require('./stream/GenericWorker'); +var StreamHelper = require('./stream/StreamHelper'); +var defaults = require('./defaults'); +var CompressedObject = require('./compressedObject'); +var ZipObject = require('./zipObject'); +var generate = require("./generate"); +var nodejsUtils = require("./nodejsUtils"); +var NodejsStreamInputAdapter = require("./nodejs/NodejsStreamInputAdapter"); + + +/** + * Add a file in the current folder. + * @private + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file + * @param {Object} originalOptions the options of the file + * @return {Object} the new file. + */ +var fileAdd = function(name, data, originalOptions) { + // be sure sub folders exist + var dataType = utils.getTypeOf(data), + parent; + + + /* + * Correct options. + */ + + var o = utils.extend(originalOptions || {}, defaults); + o.date = o.date || new Date(); + if (o.compression !== null) { + o.compression = o.compression.toUpperCase(); + } + + if (typeof o.unixPermissions === "string") { + o.unixPermissions = parseInt(o.unixPermissions, 8); + } + + // UNX_IFDIR 0040000 see zipinfo.c + if (o.unixPermissions && (o.unixPermissions & 0x4000)) { + o.dir = true; + } + // Bit 4 Directory + if (o.dosPermissions && (o.dosPermissions & 0x0010)) { + o.dir = true; + } + + if (o.dir) { + name = forceTrailingSlash(name); + } + if (o.createFolders && (parent = parentFolder(name))) { + folderAdd.call(this, parent, true); + } + + var isUnicodeString = dataType === "string" && o.binary === false && o.base64 === false; + if (!originalOptions || typeof originalOptions.binary === "undefined") { + o.binary = !isUnicodeString; + } + + + var isCompressedEmpty = (data instanceof CompressedObject) && data.uncompressedSize === 0; + + if (isCompressedEmpty || o.dir || !data || data.length === 0) { + o.base64 = false; + o.binary = true; + data = ""; + o.compression = "STORE"; + dataType = "string"; + } + + /* + * Convert content to fit. + */ + + var zipObjectContent = null; + if (data instanceof CompressedObject || data instanceof GenericWorker) { + zipObjectContent = data; + } else if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + zipObjectContent = new NodejsStreamInputAdapter(name, data); + } else { + zipObjectContent = utils.prepareContent(name, data, o.binary, o.optimizedBinaryString, o.base64); + } + + var object = new ZipObject(name, zipObjectContent, o); + this.files[name] = object; + /* + TODO: we can't throw an exception because we have async promises + (we can have a promise of a Date() for example) but returning a + promise is useless because file(name, data) returns the JSZip + object for chaining. Should we break that to allow the user + to catch the error ? + + return external.Promise.resolve(zipObjectContent) + .then(function () { + return object; + }); + */ +}; + +/** + * Find the parent folder of the path. + * @private + * @param {string} path the path to use + * @return {string} the parent folder, or "" + */ +var parentFolder = function (path) { + if (path.slice(-1) === '/') { + path = path.substring(0, path.length - 1); + } + var lastSlash = path.lastIndexOf('/'); + return (lastSlash > 0) ? path.substring(0, lastSlash) : ""; +}; + +/** + * Returns the path with a slash at the end. + * @private + * @param {String} path the path to check. + * @return {String} the path with a trailing slash. + */ +var forceTrailingSlash = function(path) { + // Check the name ends with a / + if (path.slice(-1) !== "/") { + path += "/"; // IE doesn't like substr(-1) + } + return path; +}; + +/** + * Add a (sub) folder in the current folder. + * @private + * @param {string} name the folder's name + * @param {boolean=} [createFolders] If true, automatically create sub + * folders. Defaults to false. + * @return {Object} the new folder. + */ +var folderAdd = function(name, createFolders) { + createFolders = (typeof createFolders !== 'undefined') ? createFolders : defaults.createFolders; + + name = forceTrailingSlash(name); + + // Does this folder already exist? + if (!this.files[name]) { + fileAdd.call(this, name, null, { + dir: true, + createFolders: createFolders + }); + } + return this.files[name]; +}; + +/** +* Cross-window, cross-Node-context regular expression detection +* @param {Object} object Anything +* @return {Boolean} true if the object is a regular expression, +* false otherwise +*/ +function isRegExp(object) { + return Object.prototype.toString.call(object) === "[object RegExp]"; +} + +// return the actual prototype of JSZip +var out = { + /** + * @see loadAsync + */ + load: function() { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + + /** + * Call a callback function for each entry at this folder level. + * @param {Function} cb the callback function: + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + */ + forEach: function(cb) { + var filename, relativePath, file; + /* jshint ignore:start */ + // ignore warning about unwanted properties because this.files is a null prototype object + for (filename in this.files) { + file = this.files[filename]; + relativePath = filename.slice(this.root.length, filename.length); + if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root + cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... + } + } + /* jshint ignore:end */ + }, + + /** + * Filter nested files/folders with the specified function. + * @param {Function} search the predicate to use : + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + * @return {Array} An array of matching elements. + */ + filter: function(search) { + var result = []; + this.forEach(function (relativePath, entry) { + if (search(relativePath, entry)) { // the file matches the function + result.push(entry); + } + + }); + return result; + }, + + /** + * Add a file to the zip file, or search a file. + * @param {string|RegExp} name The name of the file to add (if data is defined), + * the name of the file to find (if no data) or a regex to match files. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data The file data, either raw or base64 encoded + * @param {Object} o File options + * @return {JSZip|Object|Array} this JSZip object (when adding a file), + * a file (when searching by string) or an array of files (when searching by regex). + */ + file: function(name, data, o) { + if (arguments.length === 1) { + if (isRegExp(name)) { + var regexp = name; + return this.filter(function(relativePath, file) { + return !file.dir && regexp.test(relativePath); + }); + } + else { // text + var obj = this.files[this.root + name]; + if (obj && !obj.dir) { + return obj; + } else { + return null; + } + } + } + else { // more than one argument : we have data ! + name = this.root + name; + fileAdd.call(this, name, data, o); + } + return this; + }, + + /** + * Add a directory to the zip file, or search. + * @param {String|RegExp} arg The name of the directory to add, or a regex to search folders. + * @return {JSZip} an object with the new directory as the root, or an array containing matching folders. + */ + folder: function(arg) { + if (!arg) { + return this; + } + + if (isRegExp(arg)) { + return this.filter(function(relativePath, file) { + return file.dir && arg.test(relativePath); + }); + } + + // else, name is a new folder + var name = this.root + arg; + var newFolder = folderAdd.call(this, name); + + // Allow chaining by returning a new object with this folder as the root + var ret = this.clone(); + ret.root = newFolder.name; + return ret; + }, + + /** + * Delete a file, or a directory and all sub-files, from the zip + * @param {string} name the name of the file to delete + * @return {JSZip} this JSZip object + */ + remove: function(name) { + name = this.root + name; + var file = this.files[name]; + if (!file) { + // Look for any folders + if (name.slice(-1) !== "/") { + name += "/"; + } + file = this.files[name]; + } + + if (file && !file.dir) { + // file + delete this.files[name]; + } else { + // maybe a folder, delete recursively + var kids = this.filter(function(relativePath, file) { + return file.name.slice(0, name.length) === name; + }); + for (var i = 0; i < kids.length; i++) { + delete this.files[kids[i].name]; + } + } + + return this; + }, + + /** + * Generate the complete zip file + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file + */ + generate: function(options) { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + /** + * Generate the complete zip file as an internal stream. + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {StreamHelper} the streamed zip file. + */ + generateInternalStream: function(options) { + var worker, opts = {}; + try { + opts = utils.extend(options || {}, { + streamFiles: false, + compression: "STORE", + compressionOptions : null, + type: "", + platform: "DOS", + comment: null, + mimeType: 'application/zip', + encodeFileName: utf8.utf8encode + }); + + opts.type = opts.type.toLowerCase(); + opts.compression = opts.compression.toUpperCase(); + + // "binarystring" is preferred but the internals use "string". + if(opts.type === "binarystring") { + opts.type = "string"; + } + + if (!opts.type) { + throw new Error("No output type specified."); + } + + utils.checkSupport(opts.type); + + // accept nodejs `process.platform` + if( + opts.platform === 'darwin' || + opts.platform === 'freebsd' || + opts.platform === 'linux' || + opts.platform === 'sunos' + ) { + opts.platform = "UNIX"; + } + if (opts.platform === 'win32') { + opts.platform = "DOS"; + } + + var comment = opts.comment || this.comment || ""; + worker = generate.generateWorker(this, opts, comment); + } catch (e) { + worker = new GenericWorker("error"); + worker.error(e); + } + return new StreamHelper(worker, opts.type || "string", opts.mimeType); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateAsync: function(options, onUpdate) { + return this.generateInternalStream(options).accumulate(onUpdate); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateNodeStream: function(options, onUpdate) { + options = options || {}; + if (!options.type) { + options.type = "nodebuffer"; + } + return this.generateInternalStream(options).toNodejsStream(onUpdate); + } +}; +module.exports = out; + +},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(require,module,exports){ +/* + * This file is used by module bundlers (browserify/webpack/etc) when + * including a stream implementation. We use "readable-stream" to get a + * consistent behavior between nodejs versions but bundlers often have a shim + * for "stream". Using this shim greatly improve the compatibility and greatly + * reduce the final size of the bundle (only one stream implementation, not + * two). + */ +module.exports = require("stream"); + +},{"stream":undefined}],17:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function ArrayReader(data) { + DataReader.call(this, data); + for(var i = 0; i < this.data.length; i++) { + data[i] = data[i] & 0xFF; + } +} +utils.inherits(ArrayReader, DataReader); +/** + * @see DataReader.byteAt + */ +ArrayReader.prototype.byteAt = function(i) { + return this.data[this.zero + i]; +}; +/** + * @see DataReader.lastIndexOfSignature + */ +ArrayReader.prototype.lastIndexOfSignature = function(sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3); + for (var i = this.length - 4; i >= 0; --i) { + if (this.data[i] === sig0 && this.data[i + 1] === sig1 && this.data[i + 2] === sig2 && this.data[i + 3] === sig3) { + return i - this.zero; + } + } + + return -1; +}; +/** + * @see DataReader.readAndCheckSignature + */ +ArrayReader.prototype.readAndCheckSignature = function (sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3), + data = this.readData(4); + return sig0 === data[0] && sig1 === data[1] && sig2 === data[2] && sig3 === data[3]; +}; +/** + * @see DataReader.readData + */ +ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + return []; + } + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = ArrayReader; + +},{"../utils":32,"./DataReader":18}],18:[function(require,module,exports){ +'use strict'; +var utils = require('../utils'); + +function DataReader(data) { + this.data = data; // type : see implementation + this.length = data.length; + this.index = 0; + this.zero = 0; +} +DataReader.prototype = { + /** + * Check that the offset will not go too far. + * @param {string} offset the additional offset to check. + * @throws {Error} an Error if the offset is out of bounds. + */ + checkOffset: function(offset) { + this.checkIndex(this.index + offset); + }, + /** + * Check that the specified index will not be too far. + * @param {string} newIndex the index to check. + * @throws {Error} an Error if the index is out of bounds. + */ + checkIndex: function(newIndex) { + if (this.length < this.zero + newIndex || newIndex < 0) { + throw new Error("End of data reached (data length = " + this.length + ", asked index = " + (newIndex) + "). Corrupted zip ?"); + } + }, + /** + * Change the index. + * @param {number} newIndex The new index. + * @throws {Error} if the new index is out of the data. + */ + setIndex: function(newIndex) { + this.checkIndex(newIndex); + this.index = newIndex; + }, + /** + * Skip the next n bytes. + * @param {number} n the number of bytes to skip. + * @throws {Error} if the new index is out of the data. + */ + skip: function(n) { + this.setIndex(this.index + n); + }, + /** + * Get the byte at the specified index. + * @param {number} i the index to use. + * @return {number} a byte. + */ + byteAt: function(i) { + // see implementations + }, + /** + * Get the next number with a given byte size. + * @param {number} size the number of bytes to read. + * @return {number} the corresponding number. + */ + readInt: function(size) { + var result = 0, + i; + this.checkOffset(size); + for (i = this.index + size - 1; i >= this.index; i--) { + result = (result << 8) + this.byteAt(i); + } + this.index += size; + return result; + }, + /** + * Get the next string with a given byte size. + * @param {number} size the number of bytes to read. + * @return {string} the corresponding string. + */ + readString: function(size) { + return utils.transformTo("string", this.readData(size)); + }, + /** + * Get raw data without conversion, bytes. + * @param {number} size the number of bytes to read. + * @return {Object} the raw data, implementation specific. + */ + readData: function(size) { + // see implementations + }, + /** + * Find the last occurrence of a zip signature (4 bytes). + * @param {string} sig the signature to find. + * @return {number} the index of the last occurrence, -1 if not found. + */ + lastIndexOfSignature: function(sig) { + // see implementations + }, + /** + * Read the signature (4 bytes) at the current position and compare it with sig. + * @param {string} sig the expected signature + * @return {boolean} true if the signature matches, false otherwise. + */ + readAndCheckSignature: function(sig) { + // see implementations + }, + /** + * Get the next date. + * @return {Date} the date. + */ + readDate: function() { + var dostime = this.readInt(4); + return new Date(Date.UTC( + ((dostime >> 25) & 0x7f) + 1980, // year + ((dostime >> 21) & 0x0f) - 1, // month + (dostime >> 16) & 0x1f, // day + (dostime >> 11) & 0x1f, // hour + (dostime >> 5) & 0x3f, // minute + (dostime & 0x1f) << 1)); // second + } +}; +module.exports = DataReader; + +},{"../utils":32}],19:[function(require,module,exports){ +'use strict'; +var Uint8ArrayReader = require('./Uint8ArrayReader'); +var utils = require('../utils'); + +function NodeBufferReader(data) { + Uint8ArrayReader.call(this, data); +} +utils.inherits(NodeBufferReader, Uint8ArrayReader); + +/** + * @see DataReader.readData + */ +NodeBufferReader.prototype.readData = function(size) { + this.checkOffset(size); + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = NodeBufferReader; + +},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function StringReader(data) { + DataReader.call(this, data); +} +utils.inherits(StringReader, DataReader); +/** + * @see DataReader.byteAt + */ +StringReader.prototype.byteAt = function(i) { + return this.data.charCodeAt(this.zero + i); +}; +/** + * @see DataReader.lastIndexOfSignature + */ +StringReader.prototype.lastIndexOfSignature = function(sig) { + return this.data.lastIndexOf(sig) - this.zero; +}; +/** + * @see DataReader.readAndCheckSignature + */ +StringReader.prototype.readAndCheckSignature = function (sig) { + var data = this.readData(4); + return sig === data; +}; +/** + * @see DataReader.readData + */ +StringReader.prototype.readData = function(size) { + this.checkOffset(size); + // this will work because the constructor applied the "& 0xff" mask. + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = StringReader; + +},{"../utils":32,"./DataReader":18}],21:[function(require,module,exports){ +'use strict'; +var ArrayReader = require('./ArrayReader'); +var utils = require('../utils'); + +function Uint8ArrayReader(data) { + ArrayReader.call(this, data); +} +utils.inherits(Uint8ArrayReader, ArrayReader); +/** + * @see DataReader.readData + */ +Uint8ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + // in IE10, when using subarray(idx, idx), we get the array [0x00] instead of []. + return new Uint8Array(0); + } + var result = this.data.subarray(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = Uint8ArrayReader; + +},{"../utils":32,"./ArrayReader":17}],22:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var support = require('../support'); +var ArrayReader = require('./ArrayReader'); +var StringReader = require('./StringReader'); +var NodeBufferReader = require('./NodeBufferReader'); +var Uint8ArrayReader = require('./Uint8ArrayReader'); + +/** + * Create a reader adapted to the data. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data to read. + * @return {DataReader} the data reader. + */ +module.exports = function (data) { + var type = utils.getTypeOf(data); + utils.checkSupport(type); + if (type === "string" && !support.uint8array) { + return new StringReader(data); + } + if (type === "nodebuffer") { + return new NodeBufferReader(data); + } + if (support.uint8array) { + return new Uint8ArrayReader(utils.transformTo("uint8array", data)); + } + return new ArrayReader(utils.transformTo("array", data)); +}; + +},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(require,module,exports){ +'use strict'; +exports.LOCAL_FILE_HEADER = "PK\x03\x04"; +exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; +exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; +exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; +exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; +exports.DATA_DESCRIPTOR = "PK\x07\x08"; + +},{}],24:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var utils = require('../utils'); + +/** + * A worker which convert chunks to a specified type. + * @constructor + * @param {String} destType the destination type. + */ +function ConvertWorker(destType) { + GenericWorker.call(this, "ConvertWorker to " + destType); + this.destType = destType; +} +utils.inherits(ConvertWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +ConvertWorker.prototype.processChunk = function (chunk) { + this.push({ + data : utils.transformTo(this.destType, chunk.data), + meta : chunk.meta + }); +}; +module.exports = ConvertWorker; + +},{"../utils":32,"./GenericWorker":28}],25:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var crc32 = require('../crc32'); +var utils = require('../utils'); + +/** + * A worker which calculate the crc32 of the data flowing through. + * @constructor + */ +function Crc32Probe() { + GenericWorker.call(this, "Crc32Probe"); + this.withStreamInfo("crc32", 0); +} +utils.inherits(Crc32Probe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Crc32Probe.prototype.processChunk = function (chunk) { + this.streamInfo.crc32 = crc32(chunk.data, this.streamInfo.crc32 || 0); + this.push(chunk); +}; +module.exports = Crc32Probe; + +},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +/** + * A worker which calculate the total length of the data flowing through. + * @constructor + * @param {String} propName the name used to expose the length + */ +function DataLengthProbe(propName) { + GenericWorker.call(this, "DataLengthProbe for " + propName); + this.propName = propName; + this.withStreamInfo(propName, 0); +} +utils.inherits(DataLengthProbe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +DataLengthProbe.prototype.processChunk = function (chunk) { + if(chunk) { + var length = this.streamInfo[this.propName] || 0; + this.streamInfo[this.propName] = length + chunk.data.length; + } + GenericWorker.prototype.processChunk.call(this, chunk); +}; +module.exports = DataLengthProbe; + + +},{"../utils":32,"./GenericWorker":28}],27:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +// the size of the generated chunks +// TODO expose this as a public variable +var DEFAULT_BLOCK_SIZE = 16 * 1024; + +/** + * A worker that reads a content and emits chunks. + * @constructor + * @param {Promise} dataP the promise of the data to split + */ +function DataWorker(dataP) { + GenericWorker.call(this, "DataWorker"); + var self = this; + this.dataIsReady = false; + this.index = 0; + this.max = 0; + this.data = null; + this.type = ""; + + this._tickScheduled = false; + + dataP.then(function (data) { + self.dataIsReady = true; + self.data = data; + self.max = data && data.length || 0; + self.type = utils.getTypeOf(data); + if(!self.isPaused) { + self._tickAndRepeat(); + } + }, function (e) { + self.error(e); + }); +} + +utils.inherits(DataWorker, GenericWorker); + +/** + * @see GenericWorker.cleanUp + */ +DataWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this.data = null; +}; + +/** + * @see GenericWorker.resume + */ +DataWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this._tickScheduled && this.dataIsReady) { + this._tickScheduled = true; + utils.delay(this._tickAndRepeat, [], this); + } + return true; +}; + +/** + * Trigger a tick a schedule an other call to this function. + */ +DataWorker.prototype._tickAndRepeat = function() { + this._tickScheduled = false; + if(this.isPaused || this.isFinished) { + return; + } + this._tick(); + if(!this.isFinished) { + utils.delay(this._tickAndRepeat, [], this); + this._tickScheduled = true; + } +}; + +/** + * Read and push a chunk. + */ +DataWorker.prototype._tick = function() { + + if(this.isPaused || this.isFinished) { + return false; + } + + var size = DEFAULT_BLOCK_SIZE; + var data = null, nextIndex = Math.min(this.max, this.index + size); + if (this.index >= this.max) { + // EOF + return this.end(); + } else { + switch(this.type) { + case "string": + data = this.data.substring(this.index, nextIndex); + break; + case "uint8array": + data = this.data.subarray(this.index, nextIndex); + break; + case "array": + case "nodebuffer": + data = this.data.slice(this.index, nextIndex); + break; + } + this.index = nextIndex; + return this.push({ + data : data, + meta : { + percent : this.max ? this.index / this.max * 100 : 0 + } + }); + } +}; + +module.exports = DataWorker; + +},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){ +'use strict'; + +/** + * A worker that does nothing but passing chunks to the next one. This is like + * a nodejs stream but with some differences. On the good side : + * - it works on IE 6-9 without any issue / polyfill + * - it weights less than the full dependencies bundled with browserify + * - it forwards errors (no need to declare an error handler EVERYWHERE) + * + * A chunk is an object with 2 attributes : `meta` and `data`. The former is an + * object containing anything (`percent` for example), see each worker for more + * details. The latter is the real data (String, Uint8Array, etc). + * + * @constructor + * @param {String} name the name of the stream (mainly used for debugging purposes) + */ +function GenericWorker(name) { + // the name of the worker + this.name = name || "default"; + // an object containing metadata about the workers chain + this.streamInfo = {}; + // an error which happened when the worker was paused + this.generatedError = null; + // an object containing metadata to be merged by this worker into the general metadata + this.extraStreamInfo = {}; + // true if the stream is paused (and should not do anything), false otherwise + this.isPaused = true; + // true if the stream is finished (and should not do anything), false otherwise + this.isFinished = false; + // true if the stream is locked to prevent further structure updates (pipe), false otherwise + this.isLocked = false; + // the event listeners + this._listeners = { + 'data':[], + 'end':[], + 'error':[] + }; + // the previous worker, if any + this.previous = null; +} + +GenericWorker.prototype = { + /** + * Push a chunk to the next workers. + * @param {Object} chunk the chunk to push + */ + push : function (chunk) { + this.emit("data", chunk); + }, + /** + * End the stream. + * @return {Boolean} true if this call ended the worker, false otherwise. + */ + end : function () { + if (this.isFinished) { + return false; + } + + this.flush(); + try { + this.emit("end"); + this.cleanUp(); + this.isFinished = true; + } catch (e) { + this.emit("error", e); + } + return true; + }, + /** + * End the stream with an error. + * @param {Error} e the error which caused the premature end. + * @return {Boolean} true if this call ended the worker with an error, false otherwise. + */ + error : function (e) { + if (this.isFinished) { + return false; + } + + if(this.isPaused) { + this.generatedError = e; + } else { + this.isFinished = true; + + this.emit("error", e); + + // in the workers chain exploded in the middle of the chain, + // the error event will go downward but we also need to notify + // workers upward that there has been an error. + if(this.previous) { + this.previous.error(e); + } + + this.cleanUp(); + } + return true; + }, + /** + * Add a callback on an event. + * @param {String} name the name of the event (data, end, error) + * @param {Function} listener the function to call when the event is triggered + * @return {GenericWorker} the current object for chainability + */ + on : function (name, listener) { + this._listeners[name].push(listener); + return this; + }, + /** + * Clean any references when a worker is ending. + */ + cleanUp : function () { + this.streamInfo = this.generatedError = this.extraStreamInfo = null; + this._listeners = []; + }, + /** + * Trigger an event. This will call registered callback with the provided arg. + * @param {String} name the name of the event (data, end, error) + * @param {Object} arg the argument to call the callback with. + */ + emit : function (name, arg) { + if (this._listeners[name]) { + for(var i = 0; i < this._listeners[name].length; i++) { + this._listeners[name][i].call(this, arg); + } + } + }, + /** + * Chain a worker with an other. + * @param {Worker} next the worker receiving events from the current one. + * @return {worker} the next worker for chainability + */ + pipe : function (next) { + return next.registerPrevious(this); + }, + /** + * Same as `pipe` in the other direction. + * Using an API with `pipe(next)` is very easy. + * Implementing the API with the point of view of the next one registering + * a source is easier, see the ZipFileWorker. + * @param {Worker} previous the previous worker, sending events to this one + * @return {Worker} the current worker for chainability + */ + registerPrevious : function (previous) { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + + // sharing the streamInfo... + this.streamInfo = previous.streamInfo; + // ... and adding our own bits + this.mergeStreamInfo(); + this.previous = previous; + var self = this; + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.end(); + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; + }, + /** + * Pause the stream so it doesn't send events anymore. + * @return {Boolean} true if this call paused the worker, false otherwise. + */ + pause : function () { + if(this.isPaused || this.isFinished) { + return false; + } + this.isPaused = true; + + if(this.previous) { + this.previous.pause(); + } + return true; + }, + /** + * Resume a paused stream. + * @return {Boolean} true if this call resumed the worker, false otherwise. + */ + resume : function () { + if(!this.isPaused || this.isFinished) { + return false; + } + this.isPaused = false; + + // if true, the worker tried to resume but failed + var withError = false; + if(this.generatedError) { + this.error(this.generatedError); + withError = true; + } + if(this.previous) { + this.previous.resume(); + } + + return !withError; + }, + /** + * Flush any remaining bytes as the stream is ending. + */ + flush : function () {}, + /** + * Process a chunk. This is usually the method overridden. + * @param {Object} chunk the chunk to process. + */ + processChunk : function(chunk) { + this.push(chunk); + }, + /** + * Add a key/value to be added in the workers chain streamInfo once activated. + * @param {String} key the key to use + * @param {Object} value the associated value + * @return {Worker} the current worker for chainability + */ + withStreamInfo : function (key, value) { + this.extraStreamInfo[key] = value; + this.mergeStreamInfo(); + return this; + }, + /** + * Merge this worker's streamInfo into the chain's streamInfo. + */ + mergeStreamInfo : function () { + for(var key in this.extraStreamInfo) { + if (!this.extraStreamInfo.hasOwnProperty(key)) { + continue; + } + this.streamInfo[key] = this.extraStreamInfo[key]; + } + }, + + /** + * Lock the stream to prevent further updates on the workers chain. + * After calling this method, all calls to pipe will fail. + */ + lock: function () { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + this.isLocked = true; + if (this.previous) { + this.previous.lock(); + } + }, + + /** + * + * Pretty print the workers chain. + */ + toString : function () { + var me = "Worker " + this.name; + if (this.previous) { + return this.previous + " -> " + me; + } else { + return me; + } + } +}; + +module.exports = GenericWorker; + +},{}],29:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var ConvertWorker = require('./ConvertWorker'); +var GenericWorker = require('./GenericWorker'); +var base64 = require('../base64'); +var support = require("../support"); +var external = require("../external"); + +var NodejsStreamOutputAdapter = null; +if (support.nodestream) { + try { + NodejsStreamOutputAdapter = require('../nodejs/NodejsStreamOutputAdapter'); + } catch(e) {} +} + +/** + * Apply the final transformation of the data. If the user wants a Blob for + * example, it's easier to work with an U8intArray and finally do the + * ArrayBuffer/Blob conversion. + * @param {String} type the name of the final type + * @param {String|Uint8Array|Buffer} content the content to transform + * @param {String} mimeType the mime type of the content, if applicable. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format. + */ +function transformZipOutput(type, content, mimeType) { + switch(type) { + case "blob" : + return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType); + case "base64" : + return base64.encode(content); + default : + return utils.transformTo(type, content); + } +} + +/** + * Concatenate an array of data of the given type. + * @param {String} type the type of the data in the given array. + * @param {Array} dataArray the array containing the data chunks to concatenate + * @return {String|Uint8Array|Buffer} the concatenated data + * @throws Error if the asked type is unsupported + */ +function concat (type, dataArray) { + var i, index = 0, res = null, totalLength = 0; + for(i = 0; i < dataArray.length; i++) { + totalLength += dataArray[i].length; + } + switch(type) { + case "string": + return dataArray.join(""); + case "array": + return Array.prototype.concat.apply([], dataArray); + case "uint8array": + res = new Uint8Array(totalLength); + for(i = 0; i < dataArray.length; i++) { + res.set(dataArray[i], index); + index += dataArray[i].length; + } + return res; + case "nodebuffer": + return Buffer.concat(dataArray); + default: + throw new Error("concat : unsupported type '" + type + "'"); + } +} + +/** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {StreamHelper} helper the helper to use. + * @param {Function} updateCallback a callback called on each update. Called + * with one arg : + * - the metadata linked to the update received. + * @return Promise the promise for the accumulation. + */ +function accumulate(helper, updateCallback) { + return new external.Promise(function (resolve, reject){ + var dataArray = []; + var chunkType = helper._internalType, + resultType = helper._outputType, + mimeType = helper._mimeType; + helper + .on('data', function (data, meta) { + dataArray.push(data); + if(updateCallback) { + updateCallback(meta); + } + }) + .on('error', function(err) { + dataArray = []; + reject(err); + }) + .on('end', function (){ + try { + var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType); + resolve(result); + } catch (e) { + reject(e); + } + dataArray = []; + }) + .resume(); + }); +} + +/** + * An helper to easily use workers outside of JSZip. + * @constructor + * @param {Worker} worker the worker to wrap + * @param {String} outputType the type of data expected by the use + * @param {String} mimeType the mime type of the content, if applicable. + */ +function StreamHelper(worker, outputType, mimeType) { + var internalType = outputType; + switch(outputType) { + case "blob": + case "arraybuffer": + internalType = "uint8array"; + break; + case "base64": + internalType = "string"; + break; + } + + try { + // the type used internally + this._internalType = internalType; + // the type used to output results + this._outputType = outputType; + // the mime type + this._mimeType = mimeType; + utils.checkSupport(internalType); + this._worker = worker.pipe(new ConvertWorker(internalType)); + // the last workers can be rewired without issues but we need to + // prevent any updates on previous workers. + worker.lock(); + } catch(e) { + this._worker = new GenericWorker("error"); + this._worker.error(e); + } +} + +StreamHelper.prototype = { + /** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {Function} updateCb the update callback. + * @return Promise the promise for the accumulation. + */ + accumulate : function (updateCb) { + return accumulate(this, updateCb); + }, + /** + * Add a listener on an event triggered on a stream. + * @param {String} evt the name of the event + * @param {Function} fn the listener + * @return {StreamHelper} the current helper. + */ + on : function (evt, fn) { + var self = this; + + if(evt === "data") { + this._worker.on(evt, function (chunk) { + fn.call(self, chunk.data, chunk.meta); + }); + } else { + this._worker.on(evt, function () { + utils.delay(fn, arguments, self); + }); + } + return this; + }, + /** + * Resume the flow of chunks. + * @return {StreamHelper} the current helper. + */ + resume : function () { + utils.delay(this._worker.resume, [], this._worker); + return this; + }, + /** + * Pause the flow of chunks. + * @return {StreamHelper} the current helper. + */ + pause : function () { + this._worker.pause(); + return this; + }, + /** + * Return a nodejs stream for this helper. + * @param {Function} updateCb the update callback. + * @return {NodejsStreamOutputAdapter} the nodejs stream. + */ + toNodejsStream : function (updateCb) { + utils.checkSupport("nodestream"); + if (this._outputType !== "nodebuffer") { + // an object stream containing blob/arraybuffer/uint8array/string + // is strange and I don't know if it would be useful. + // I you find this comment and have a good usecase, please open a + // bug report ! + throw new Error(this._outputType + " is not supported by this method"); + } + + return new NodejsStreamOutputAdapter(this, { + objectMode : this._outputType !== "nodebuffer" + }, updateCb); + } +}; + + +module.exports = StreamHelper; + +},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(require,module,exports){ +'use strict'; + +exports.base64 = true; +exports.array = true; +exports.string = true; +exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; +exports.nodebuffer = typeof Buffer !== "undefined"; +// contains true if JSZip can read/generate Uint8Array, false otherwise. +exports.uint8array = typeof Uint8Array !== "undefined"; + +if (typeof ArrayBuffer === "undefined") { + exports.blob = false; +} +else { + var buffer = new ArrayBuffer(0); + try { + exports.blob = new Blob([buffer], { + type: "application/zip" + }).size === 0; + } + catch (e) { + try { + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(buffer); + exports.blob = builder.getBlob('application/zip').size === 0; + } + catch (e) { + exports.blob = false; + } + } +} + +try { + exports.nodestream = !!require('readable-stream').Readable; +} catch(e) { + exports.nodestream = false; +} + +},{"readable-stream":16}],31:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); +var support = require('./support'); +var nodejsUtils = require('./nodejsUtils'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * The following functions come from pako, from pako/lib/utils/strings + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Table with utf8 lengths (calculated by first byte of sequence) +// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, +// because max possible codepoint is 0x10ffff +var _utf8len = new Array(256); +for (var i=0; i<256; i++) { + _utf8len[i] = (i >= 252 ? 6 : i >= 248 ? 5 : i >= 240 ? 4 : i >= 224 ? 3 : i >= 192 ? 2 : 1); +} +_utf8len[254]=_utf8len[254]=1; // Invalid sequence start + +// convert string to array (typed, when possible) +var string2buf = function (str) { + var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; + + // count binary size + for (m_pos = 0; m_pos < str_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; + } + + // allocate buffer + if (support.uint8array) { + buf = new Uint8Array(buf_len); + } else { + buf = new Array(buf_len); + } + + // convert + for (i=0, m_pos = 0; i < buf_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + if (c < 0x80) { + /* one byte */ + buf[i++] = c; + } else if (c < 0x800) { + /* two bytes */ + buf[i++] = 0xC0 | (c >>> 6); + buf[i++] = 0x80 | (c & 0x3f); + } else if (c < 0x10000) { + /* three bytes */ + buf[i++] = 0xE0 | (c >>> 12); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } else { + /* four bytes */ + buf[i++] = 0xf0 | (c >>> 18); + buf[i++] = 0x80 | (c >>> 12 & 0x3f); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } + } + + return buf; +}; + +// Calculate max possible position in utf8 buffer, +// that will not break sequence. If that's not possible +// - (very small limits) return max size as is. +// +// buf[] - utf8 bytes array +// max - length limit (mandatory); +var utf8border = function(buf, max) { + var pos; + + max = max || buf.length; + if (max > buf.length) { max = buf.length; } + + // go back from last position, until start of sequence found + pos = max-1; + while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } + + // Fuckup - very small and broken sequence, + // return max, because we should return something anyway. + if (pos < 0) { return max; } + + // If we came to start of buffer - that means vuffer is too small, + // return max too. + if (pos === 0) { return max; } + + return (pos + _utf8len[buf[pos]] > max) ? pos : max; +}; + +// convert array to string +var buf2string = function (buf) { + var str, i, out, c, c_len; + var len = buf.length; + + // Reserve max possible length (2 words per char) + // NB: by unknown reasons, Array is significantly faster for + // String.fromCharCode.apply than Uint16Array. + var utf16buf = new Array(len*2); + + for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } + + // apply mask on first byte + c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; + // join the rest + while (c_len > 1 && i < len) { + c = (c << 6) | (buf[i++] & 0x3f); + c_len--; + } + + // terminated by end of string? + if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } + + if (c < 0x10000) { + utf16buf[out++] = c; + } else { + c -= 0x10000; + utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); + utf16buf[out++] = 0xdc00 | (c & 0x3ff); + } + } + + // shrinkBuf(utf16buf, out) + if (utf16buf.length !== out) { + if(utf16buf.subarray) { + utf16buf = utf16buf.subarray(0, out); + } else { + utf16buf.length = out; + } + } + + // return String.fromCharCode.apply(null, utf16buf); + return utils.applyFromCharCode(utf16buf); +}; + + +// That's all for the pako functions. + + +/** + * Transform a javascript string into an array (typed if possible) of bytes, + * UTF-8 encoded. + * @param {String} str the string to encode + * @return {Array|Uint8Array|Buffer} the UTF-8 encoded string. + */ +exports.utf8encode = function utf8encode(str) { + if (support.nodebuffer) { + return nodejsUtils.newBufferFrom(str, "utf-8"); + } + + return string2buf(str); +}; + + +/** + * Transform a bytes array (or a representation) representing an UTF-8 encoded + * string into a javascript string. + * @param {Array|Uint8Array|Buffer} buf the data de decode + * @return {String} the decoded string. + */ +exports.utf8decode = function utf8decode(buf) { + if (support.nodebuffer) { + return utils.transformTo("nodebuffer", buf).toString("utf-8"); + } + + buf = utils.transformTo(support.uint8array ? "uint8array" : "array", buf); + + return buf2string(buf); +}; + +/** + * A worker to decode utf8 encoded binary chunks into string chunks. + * @constructor + */ +function Utf8DecodeWorker() { + GenericWorker.call(this, "utf-8 decode"); + // the last bytes if a chunk didn't end with a complete codepoint. + this.leftOver = null; +} +utils.inherits(Utf8DecodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8DecodeWorker.prototype.processChunk = function (chunk) { + + var data = utils.transformTo(support.uint8array ? "uint8array" : "array", chunk.data); + + // 1st step, re-use what's left of the previous chunk + if (this.leftOver && this.leftOver.length) { + if(support.uint8array) { + var previousData = data; + data = new Uint8Array(previousData.length + this.leftOver.length); + data.set(this.leftOver, 0); + data.set(previousData, this.leftOver.length); + } else { + data = this.leftOver.concat(data); + } + this.leftOver = null; + } + + var nextBoundary = utf8border(data); + var usableData = data; + if (nextBoundary !== data.length) { + if (support.uint8array) { + usableData = data.subarray(0, nextBoundary); + this.leftOver = data.subarray(nextBoundary, data.length); + } else { + usableData = data.slice(0, nextBoundary); + this.leftOver = data.slice(nextBoundary, data.length); + } + } + + this.push({ + data : exports.utf8decode(usableData), + meta : chunk.meta + }); +}; + +/** + * @see GenericWorker.flush + */ +Utf8DecodeWorker.prototype.flush = function () { + if(this.leftOver && this.leftOver.length) { + this.push({ + data : exports.utf8decode(this.leftOver), + meta : {} + }); + this.leftOver = null; + } +}; +exports.Utf8DecodeWorker = Utf8DecodeWorker; + +/** + * A worker to endcode string chunks into utf8 encoded binary chunks. + * @constructor + */ +function Utf8EncodeWorker() { + GenericWorker.call(this, "utf-8 encode"); +} +utils.inherits(Utf8EncodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8EncodeWorker.prototype.processChunk = function (chunk) { + this.push({ + data : exports.utf8encode(chunk.data), + meta : chunk.meta + }); +}; +exports.Utf8EncodeWorker = Utf8EncodeWorker; + +},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(require,module,exports){ +'use strict'; + +var support = require('./support'); +var base64 = require('./base64'); +var nodejsUtils = require('./nodejsUtils'); +var setImmediate = require('set-immediate-shim'); +var external = require("./external"); + + +/** + * Convert a string that pass as a "binary string": it should represent a byte + * array but may have > 255 char codes. Be sure to take only the first byte + * and returns the byte array. + * @param {String} str the string to transform. + * @return {Array|Uint8Array} the string in a binary format. + */ +function string2binary(str) { + var result = null; + if (support.uint8array) { + result = new Uint8Array(str.length); + } else { + result = new Array(str.length); + } + return stringToArrayLike(str, result); +} + +/** + * Create a new blob with the given content and the given type. + * @param {String|ArrayBuffer} part the content to put in the blob. DO NOT use + * an Uint8Array because the stock browser of android 4 won't accept it (it + * will be silently converted to a string, "[object Uint8Array]"). + * + * Use only ONE part to build the blob to avoid a memory leak in IE11 / Edge: + * when a large amount of Array is used to create the Blob, the amount of + * memory consumed is nearly 100 times the original data amount. + * + * @param {String} type the mime type of the blob. + * @return {Blob} the created blob. + */ +exports.newBlob = function(part, type) { + exports.checkSupport("blob"); + + try { + // Blob constructor + return new Blob([part], { + type: type + }); + } + catch (e) { + + try { + // deprecated, browser only, old way + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(part); + return builder.getBlob(type); + } + catch (e) { + + // well, fuck ?! + throw new Error("Bug : can't construct the Blob."); + } + } + + +}; +/** + * The identity function. + * @param {Object} input the input. + * @return {Object} the same input. + */ +function identity(input) { + return input; +} + +/** + * Fill in an array with a string. + * @param {String} str the string to use. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated). + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array. + */ +function stringToArrayLike(str, array) { + for (var i = 0; i < str.length; ++i) { + array[i] = str.charCodeAt(i) & 0xFF; + } + return array; +} + +/** + * An helper for the function arrayLikeToString. + * This contains static information and functions that + * can be optimized by the browser JIT compiler. + */ +var arrayToStringHelper = { + /** + * Transform an array of int into a string, chunk by chunk. + * See the performances notes on arrayLikeToString. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @param {String} type the type of the array. + * @param {Integer} chunk the chunk size. + * @return {String} the resulting string. + * @throws Error if the chunk is too big for the stack. + */ + stringifyByChunk: function(array, type, chunk) { + var result = [], k = 0, len = array.length; + // shortcut + if (len <= chunk) { + return String.fromCharCode.apply(null, array); + } + while (k < len) { + if (type === "array" || type === "nodebuffer") { + result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len)))); + } + else { + result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len)))); + } + k += chunk; + } + return result.join(""); + }, + /** + * Call String.fromCharCode on every item in the array. + * This is the naive implementation, which generate A LOT of intermediate string. + * This should be used when everything else fail. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ + stringifyByChar: function(array){ + var resultStr = ""; + for(var i = 0; i < array.length; i++) { + resultStr += String.fromCharCode(array[i]); + } + return resultStr; + }, + applyCanBeUsed : { + /** + * true if the browser accepts to use String.fromCharCode on Uint8Array + */ + uint8array : (function () { + try { + return support.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1; + } catch (e) { + return false; + } + })(), + /** + * true if the browser accepts to use String.fromCharCode on nodejs Buffer. + */ + nodebuffer : (function () { + try { + return support.nodebuffer && String.fromCharCode.apply(null, nodejsUtils.allocBuffer(1)).length === 1; + } catch (e) { + return false; + } + })() + } +}; + +/** + * Transform an array-like object to a string. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ +function arrayLikeToString(array) { + // Performances notes : + // -------------------- + // String.fromCharCode.apply(null, array) is the fastest, see + // see http://jsperf.com/converting-a-uint8array-to-a-string/2 + // but the stack is limited (and we can get huge arrays !). + // + // result += String.fromCharCode(array[i]); generate too many strings ! + // + // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2 + // TODO : we now have workers that split the work. Do we still need that ? + var chunk = 65536, + type = exports.getTypeOf(array), + canUseApply = true; + if (type === "uint8array") { + canUseApply = arrayToStringHelper.applyCanBeUsed.uint8array; + } else if (type === "nodebuffer") { + canUseApply = arrayToStringHelper.applyCanBeUsed.nodebuffer; + } + + if (canUseApply) { + while (chunk > 1) { + try { + return arrayToStringHelper.stringifyByChunk(array, type, chunk); + } catch (e) { + chunk = Math.floor(chunk / 2); + } + } + } + + // no apply or chunk error : slow and painful algorithm + // default browser on android 4.* + return arrayToStringHelper.stringifyByChar(array); +} + +exports.applyFromCharCode = arrayLikeToString; + + +/** + * Copy the data from an array-like to an other array-like. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array. + */ +function arrayLikeToArrayLike(arrayFrom, arrayTo) { + for (var i = 0; i < arrayFrom.length; i++) { + arrayTo[i] = arrayFrom[i]; + } + return arrayTo; +} + +// a matrix containing functions to transform everything into everything. +var transform = {}; + +// string to ? +transform["string"] = { + "string": identity, + "array": function(input) { + return stringToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["string"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return stringToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": function(input) { + return stringToArrayLike(input, nodejsUtils.allocBuffer(input.length)); + } +}; + +// array to ? +transform["array"] = { + "string": arrayLikeToString, + "array": identity, + "arraybuffer": function(input) { + return (new Uint8Array(input)).buffer; + }, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// arraybuffer to ? +transform["arraybuffer"] = { + "string": function(input) { + return arrayLikeToString(new Uint8Array(input)); + }, + "array": function(input) { + return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength)); + }, + "arraybuffer": identity, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(new Uint8Array(input)); + } +}; + +// uint8array to ? +transform["uint8array"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return input.buffer; + }, + "uint8array": identity, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// nodebuffer to ? +transform["nodebuffer"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["nodebuffer"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return arrayLikeToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": identity +}; + +/** + * Transform an input into any type. + * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer. + * If no output type is specified, the unmodified input will be returned. + * @param {String} outputType the output type. + * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert. + * @throws {Error} an Error if the browser doesn't support the requested output type. + */ +exports.transformTo = function(outputType, input) { + if (!input) { + // undefined, null, etc + // an empty string won't harm. + input = ""; + } + if (!outputType) { + return input; + } + exports.checkSupport(outputType); + var inputType = exports.getTypeOf(input); + var result = transform[inputType][outputType](input); + return result; +}; + +/** + * Return the type of the input. + * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer. + * @param {Object} input the input to identify. + * @return {String} the (lowercase) type of the input. + */ +exports.getTypeOf = function(input) { + if (typeof input === "string") { + return "string"; + } + if (Object.prototype.toString.call(input) === "[object Array]") { + return "array"; + } + if (support.nodebuffer && nodejsUtils.isBuffer(input)) { + return "nodebuffer"; + } + if (support.uint8array && input instanceof Uint8Array) { + return "uint8array"; + } + if (support.arraybuffer && input instanceof ArrayBuffer) { + return "arraybuffer"; + } +}; + +/** + * Throw an exception if the type is not supported. + * @param {String} type the type to check. + * @throws {Error} an Error if the browser doesn't support the requested type. + */ +exports.checkSupport = function(type) { + var supported = support[type.toLowerCase()]; + if (!supported) { + throw new Error(type + " is not supported by this platform"); + } +}; + +exports.MAX_VALUE_16BITS = 65535; +exports.MAX_VALUE_32BITS = -1; // well, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" is parsed as -1 + +/** + * Prettify a string read as binary. + * @param {string} str the string to prettify. + * @return {string} a pretty string. + */ +exports.pretty = function(str) { + var res = '', + code, i; + for (i = 0; i < (str || "").length; i++) { + code = str.charCodeAt(i); + res += '\\x' + (code < 16 ? "0" : "") + code.toString(16).toUpperCase(); + } + return res; +}; + +/** + * Defer the call of a function. + * @param {Function} callback the function to call asynchronously. + * @param {Array} args the arguments to give to the callback. + */ +exports.delay = function(callback, args, self) { + setImmediate(function () { + callback.apply(self || null, args || []); + }); +}; + +/** + * Extends a prototype with an other, without calling a constructor with + * side effects. Inspired by nodejs' `utils.inherits` + * @param {Function} ctor the constructor to augment + * @param {Function} superCtor the parent constructor to use + */ +exports.inherits = function (ctor, superCtor) { + var Obj = function() {}; + Obj.prototype = superCtor.prototype; + ctor.prototype = new Obj(); +}; + +/** + * Merge the objects passed as parameters into a new one. + * @private + * @param {...Object} var_args All objects to merge. + * @return {Object} a new object with the data of the others. + */ +exports.extend = function() { + var result = {}, i, attr; + for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers + for (attr in arguments[i]) { + if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { + result[attr] = arguments[i][attr]; + } + } + } + return result; +}; + +/** + * Transform arbitrary content into a Promise. + * @param {String} name a name for the content being processed. + * @param {Object} inputData the content to process. + * @param {Boolean} isBinary true if the content is not an unicode string + * @param {Boolean} isOptimizedBinaryString true if the string content only has one byte per character. + * @param {Boolean} isBase64 true if the string content is encoded with base64. + * @return {Promise} a promise in a format usable by JSZip. + */ +exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinaryString, isBase64) { + + // if inputData is already a promise, this flatten it. + var promise = external.Promise.resolve(inputData).then(function(data) { + + + var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1); + + if (isBlob && typeof FileReader !== "undefined") { + return new external.Promise(function (resolve, reject) { + var reader = new FileReader(); + + reader.onload = function(e) { + resolve(e.target.result); + }; + reader.onerror = function(e) { + reject(e.target.error); + }; + reader.readAsArrayBuffer(data); + }); + } else { + return data; + } + }); + + return promise.then(function(data) { + var dataType = exports.getTypeOf(data); + + if (!dataType) { + return external.Promise.reject( + new Error("Can't read the data of '" + name + "'. Is it " + + "in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?") + ); + } + // special case : it's way easier to work with Uint8Array than with ArrayBuffer + if (dataType === "arraybuffer") { + data = exports.transformTo("uint8array", data); + } else if (dataType === "string") { + if (isBase64) { + data = base64.decode(data); + } + else if (isBinary) { + // optimizedBinaryString === true means that the file has already been filtered with a 0xFF mask + if (isOptimizedBinaryString !== true) { + // this is a string, not in a base64 format. + // Be sure that this is a correct "binary string" + data = string2binary(data); + } + } + } + return data; + }); +}; + +},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var sig = require('./signature'); +var ZipEntry = require('./zipEntry'); +var utf8 = require('./utf8'); +var support = require('./support'); +// class ZipEntries {{{ +/** + * All the entries in the zip file. + * @constructor + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntries(loadOptions) { + this.files = []; + this.loadOptions = loadOptions; +} +ZipEntries.prototype = { + /** + * Check that the reader is on the specified signature. + * @param {string} expectedSignature the expected signature. + * @throws {Error} if it is an other signature. + */ + checkSignature: function(expectedSignature) { + if (!this.reader.readAndCheckSignature(expectedSignature)) { + this.reader.index -= 4; + var signature = this.reader.readString(4); + throw new Error("Corrupted zip or bug: unexpected signature " + "(" + utils.pretty(signature) + ", expected " + utils.pretty(expectedSignature) + ")"); + } + }, + /** + * Check if the given signature is at the given index. + * @param {number} askedIndex the index to check. + * @param {string} expectedSignature the signature to expect. + * @return {boolean} true if the signature is here, false otherwise. + */ + isSignature: function(askedIndex, expectedSignature) { + var currentIndex = this.reader.index; + this.reader.setIndex(askedIndex); + var signature = this.reader.readString(4); + var result = signature === expectedSignature; + this.reader.setIndex(currentIndex); + return result; + }, + /** + * Read the end of the central directory. + */ + readBlockEndOfCentral: function() { + this.diskNumber = this.reader.readInt(2); + this.diskWithCentralDirStart = this.reader.readInt(2); + this.centralDirRecordsOnThisDisk = this.reader.readInt(2); + this.centralDirRecords = this.reader.readInt(2); + this.centralDirSize = this.reader.readInt(4); + this.centralDirOffset = this.reader.readInt(4); + + this.zipCommentLength = this.reader.readInt(2); + // warning : the encoding depends of the system locale + // On a linux machine with LANG=en_US.utf8, this field is utf8 encoded. + // On a windows machine, this field is encoded with the localized windows code page. + var zipComment = this.reader.readData(this.zipCommentLength); + var decodeParamType = support.uint8array ? "uint8array" : "array"; + // To get consistent behavior with the generation part, we will assume that + // this is utf8 encoded unless specified otherwise. + var decodeContent = utils.transformTo(decodeParamType, zipComment); + this.zipComment = this.loadOptions.decodeFileName(decodeContent); + }, + /** + * Read the end of the Zip 64 central directory. + * Not merged with the method readEndOfCentral : + * The end of central can coexist with its Zip64 brother, + * I don't want to read the wrong number of bytes ! + */ + readBlockZip64EndOfCentral: function() { + this.zip64EndOfCentralSize = this.reader.readInt(8); + this.reader.skip(4); + // this.versionMadeBy = this.reader.readString(2); + // this.versionNeeded = this.reader.readInt(2); + this.diskNumber = this.reader.readInt(4); + this.diskWithCentralDirStart = this.reader.readInt(4); + this.centralDirRecordsOnThisDisk = this.reader.readInt(8); + this.centralDirRecords = this.reader.readInt(8); + this.centralDirSize = this.reader.readInt(8); + this.centralDirOffset = this.reader.readInt(8); + + this.zip64ExtensibleData = {}; + var extraDataSize = this.zip64EndOfCentralSize - 44, + index = 0, + extraFieldId, + extraFieldLength, + extraFieldValue; + while (index < extraDataSize) { + extraFieldId = this.reader.readInt(2); + extraFieldLength = this.reader.readInt(4); + extraFieldValue = this.reader.readData(extraFieldLength); + this.zip64ExtensibleData[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Read the end of the Zip 64 central directory locator. + */ + readBlockZip64EndOfCentralLocator: function() { + this.diskWithZip64CentralDirStart = this.reader.readInt(4); + this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); + this.disksCount = this.reader.readInt(4); + if (this.disksCount > 1) { + throw new Error("Multi-volumes zip are not supported"); + } + }, + /** + * Read the local files, based on the offset read in the central part. + */ + readLocalFiles: function() { + var i, file; + for (i = 0; i < this.files.length; i++) { + file = this.files[i]; + this.reader.setIndex(file.localHeaderOffset); + this.checkSignature(sig.LOCAL_FILE_HEADER); + file.readLocalPart(this.reader); + file.handleUTF8(); + file.processAttributes(); + } + }, + /** + * Read the central directory. + */ + readCentralDir: function() { + var file; + + this.reader.setIndex(this.centralDirOffset); + while (this.reader.readAndCheckSignature(sig.CENTRAL_FILE_HEADER)) { + file = new ZipEntry({ + zip64: this.zip64 + }, this.loadOptions); + file.readCentralPart(this.reader); + this.files.push(file); + } + + if (this.centralDirRecords !== this.files.length) { + if (this.centralDirRecords !== 0 && this.files.length === 0) { + // We expected some records but couldn't find ANY. + // This is really suspicious, as if something went wrong. + throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length); + } else { + // We found some records but not all. + // Something is wrong but we got something for the user: no error here. + // console.warn("expected", this.centralDirRecords, "records in central dir, got", this.files.length); + } + } + }, + /** + * Read the end of central directory. + */ + readEndOfCentral: function() { + var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END); + if (offset < 0) { + // Check if the content is a truncated zip or complete garbage. + // A "LOCAL_FILE_HEADER" is not required at the beginning (auto + // extractible zip for example) but it can give a good hint. + // If an ajax request was used without responseType, we will also + // get unreadable data. + var isGarbage = !this.isSignature(0, sig.LOCAL_FILE_HEADER); + + if (isGarbage) { + throw new Error("Can't find end of central directory : is this a zip file ? " + + "If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); + } else { + throw new Error("Corrupted zip: can't find end of central directory"); + } + + } + this.reader.setIndex(offset); + var endOfCentralDirOffset = offset; + this.checkSignature(sig.CENTRAL_DIRECTORY_END); + this.readBlockEndOfCentral(); + + + /* extract from the zip spec : + 4) If one of the fields in the end of central directory + record is too small to hold required data, the field + should be set to -1 (0xFFFF or 0xFFFFFFFF) and the + ZIP64 format record should be created. + 5) The end of central directory record and the + Zip64 end of central directory locator record must + reside on the same disk when splitting or spanning + an archive. + */ + if (this.diskNumber === utils.MAX_VALUE_16BITS || this.diskWithCentralDirStart === utils.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === utils.MAX_VALUE_16BITS || this.centralDirRecords === utils.MAX_VALUE_16BITS || this.centralDirSize === utils.MAX_VALUE_32BITS || this.centralDirOffset === utils.MAX_VALUE_32BITS) { + this.zip64 = true; + + /* + Warning : the zip64 extension is supported, but ONLY if the 64bits integer read from + the zip file can fit into a 32bits integer. This cannot be solved : JavaScript represents + all numbers as 64-bit double precision IEEE 754 floating point numbers. + So, we have 53bits for integers and bitwise operations treat everything as 32bits. + see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators + and http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf section 8.5 + */ + + // should look for a zip64 EOCD locator + offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + if (offset < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); + } + this.reader.setIndex(offset); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + this.readBlockZip64EndOfCentralLocator(); + + // now the zip64 EOCD record + if (!this.isSignature(this.relativeOffsetEndOfZip64CentralDir, sig.ZIP64_CENTRAL_DIRECTORY_END)) { + // console.warn("ZIP64 end of central directory not where expected."); + this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + if (this.relativeOffsetEndOfZip64CentralDir < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); + } + } + this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + this.readBlockZip64EndOfCentral(); + } + + var expectedEndOfCentralDirOffset = this.centralDirOffset + this.centralDirSize; + if (this.zip64) { + expectedEndOfCentralDirOffset += 20; // end of central dir 64 locator + expectedEndOfCentralDirOffset += 12 /* should not include the leading 12 bytes */ + this.zip64EndOfCentralSize; + } + + var extraBytes = endOfCentralDirOffset - expectedEndOfCentralDirOffset; + + if (extraBytes > 0) { + // console.warn(extraBytes, "extra bytes at beginning or within zipfile"); + if (this.isSignature(endOfCentralDirOffset, sig.CENTRAL_FILE_HEADER)) { + // The offsets seem wrong, but we have something at the specified offset. + // So… we keep it. + } else { + // the offset is wrong, update the "zero" of the reader + // this happens if data has been prepended (crx files for example) + this.reader.zero = extraBytes; + } + } else if (extraBytes < 0) { + throw new Error("Corrupted zip: missing " + Math.abs(extraBytes) + " bytes."); + } + }, + prepareReader: function(data) { + this.reader = readerFor(data); + }, + /** + * Read a zip file and create ZipEntries. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the binary string representing a zip file. + */ + load: function(data) { + this.prepareReader(data); + this.readEndOfCentral(); + this.readCentralDir(); + this.readLocalFiles(); + } +}; +// }}} end of ZipEntries +module.exports = ZipEntries; + +},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var CompressedObject = require('./compressedObject'); +var crc32fn = require('./crc32'); +var utf8 = require('./utf8'); +var compressions = require('./compressions'); +var support = require('./support'); + +var MADE_BY_DOS = 0x00; +var MADE_BY_UNIX = 0x03; + +/** + * Find a compression registered in JSZip. + * @param {string} compressionMethod the method magic to find. + * @return {Object|null} the JSZip compression object, null if none found. + */ +var findCompression = function(compressionMethod) { + for (var method in compressions) { + if (!compressions.hasOwnProperty(method)) { + continue; + } + if (compressions[method].magic === compressionMethod) { + return compressions[method]; + } + } + return null; +}; + +// class ZipEntry {{{ +/** + * An entry in the zip file. + * @constructor + * @param {Object} options Options of the current file. + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntry(options, loadOptions) { + this.options = options; + this.loadOptions = loadOptions; +} +ZipEntry.prototype = { + /** + * say if the file is encrypted. + * @return {boolean} true if the file is encrypted, false otherwise. + */ + isEncrypted: function() { + // bit 1 is set + return (this.bitFlag & 0x0001) === 0x0001; + }, + /** + * say if the file has utf-8 filename/comment. + * @return {boolean} true if the filename/comment is in utf-8, false otherwise. + */ + useUTF8: function() { + // bit 11 is set + return (this.bitFlag & 0x0800) === 0x0800; + }, + /** + * Read the local part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readLocalPart: function(reader) { + var compression, localExtraFieldsLength; + + // we already know everything from the central dir ! + // If the central dir data are false, we are doomed. + // On the bright side, the local part is scary : zip64, data descriptors, both, etc. + // The less data we get here, the more reliable this should be. + // Let's skip the whole header and dash to the data ! + reader.skip(22); + // in some zip created on windows, the filename stored in the central dir contains \ instead of /. + // Strangely, the filename here is OK. + // I would love to treat these zip files as corrupted (see http://www.info-zip.org/FAQ.html#backslashes + // or APPNOTE#4.4.17.1, "All slashes MUST be forward slashes '/'") but there are a lot of bad zip generators... + // Search "unzip mismatching "local" filename continuing with "central" filename version" on + // the internet. + // + // I think I see the logic here : the central directory is used to display + // content and the local directory is used to extract the files. Mixing / and \ + // may be used to display \ to windows users and use / when extracting the files. + // Unfortunately, this lead also to some issues : http://seclists.org/fulldisclosure/2009/Sep/394 + this.fileNameLength = reader.readInt(2); + localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central dir + // the fileName is stored as binary data, the handleUTF8 method will take care of the encoding. + this.fileName = reader.readData(this.fileNameLength); + reader.skip(localExtraFieldsLength); + + if (this.compressedSize === -1 || this.uncompressedSize === -1) { + throw new Error("Bug or corrupted zip : didn't get enough information from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)"); + } + + compression = findCompression(this.compressionMethod); + if (compression === null) { // no compression found + throw new Error("Corrupted zip : compression " + utils.pretty(this.compressionMethod) + " unknown (inner file : " + utils.transformTo("string", this.fileName) + ")"); + } + this.decompressed = new CompressedObject(this.compressedSize, this.uncompressedSize, this.crc32, compression, reader.readData(this.compressedSize)); + }, + + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readCentralPart: function(reader) { + this.versionMadeBy = reader.readInt(2); + reader.skip(2); + // this.versionNeeded = reader.readInt(2); + this.bitFlag = reader.readInt(2); + this.compressionMethod = reader.readString(2); + this.date = reader.readDate(); + this.crc32 = reader.readInt(4); + this.compressedSize = reader.readInt(4); + this.uncompressedSize = reader.readInt(4); + var fileNameLength = reader.readInt(2); + this.extraFieldsLength = reader.readInt(2); + this.fileCommentLength = reader.readInt(2); + this.diskNumberStart = reader.readInt(2); + this.internalFileAttributes = reader.readInt(2); + this.externalFileAttributes = reader.readInt(4); + this.localHeaderOffset = reader.readInt(4); + + if (this.isEncrypted()) { + throw new Error("Encrypted zip are not supported"); + } + + // will be read in the local part, see the comments there + reader.skip(fileNameLength); + this.readExtraFields(reader); + this.parseZIP64ExtraField(reader); + this.fileComment = reader.readData(this.fileCommentLength); + }, + + /** + * Parse the external file attributes and get the unix/dos permissions. + */ + processAttributes: function () { + this.unixPermissions = null; + this.dosPermissions = null; + var madeBy = this.versionMadeBy >> 8; + + // Check if we have the DOS directory flag set. + // We look for it in the DOS and UNIX permissions + // but some unknown platform could set it as a compatibility flag. + this.dir = this.externalFileAttributes & 0x0010 ? true : false; + + if(madeBy === MADE_BY_DOS) { + // first 6 bits (0 to 5) + this.dosPermissions = this.externalFileAttributes & 0x3F; + } + + if(madeBy === MADE_BY_UNIX) { + this.unixPermissions = (this.externalFileAttributes >> 16) & 0xFFFF; + // the octal permissions are in (this.unixPermissions & 0x01FF).toString(8); + } + + // fail safe : if the name ends with a / it probably means a folder + if (!this.dir && this.fileNameStr.slice(-1) === '/') { + this.dir = true; + } + }, + + /** + * Parse the ZIP64 extra field and merge the info in the current ZipEntry. + * @param {DataReader} reader the reader to use. + */ + parseZIP64ExtraField: function(reader) { + + if (!this.extraFields[0x0001]) { + return; + } + + // should be something, preparing the extra reader + var extraReader = readerFor(this.extraFields[0x0001].value); + + // I really hope that these 64bits integer can fit in 32 bits integer, because js + // won't let us have more. + if (this.uncompressedSize === utils.MAX_VALUE_32BITS) { + this.uncompressedSize = extraReader.readInt(8); + } + if (this.compressedSize === utils.MAX_VALUE_32BITS) { + this.compressedSize = extraReader.readInt(8); + } + if (this.localHeaderOffset === utils.MAX_VALUE_32BITS) { + this.localHeaderOffset = extraReader.readInt(8); + } + if (this.diskNumberStart === utils.MAX_VALUE_32BITS) { + this.diskNumberStart = extraReader.readInt(4); + } + }, + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readExtraFields: function(reader) { + var end = reader.index + this.extraFieldsLength, + extraFieldId, + extraFieldLength, + extraFieldValue; + + if (!this.extraFields) { + this.extraFields = {}; + } + + while (reader.index + 4 < end) { + extraFieldId = reader.readInt(2); + extraFieldLength = reader.readInt(2); + extraFieldValue = reader.readData(extraFieldLength); + + this.extraFields[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + + reader.setIndex(end); + }, + /** + * Apply an UTF8 transformation if needed. + */ + handleUTF8: function() { + var decodeParamType = support.uint8array ? "uint8array" : "array"; + if (this.useUTF8()) { + this.fileNameStr = utf8.utf8decode(this.fileName); + this.fileCommentStr = utf8.utf8decode(this.fileComment); + } else { + var upath = this.findExtraFieldUnicodePath(); + if (upath !== null) { + this.fileNameStr = upath; + } else { + // ASCII text or unsupported code page + var fileNameByteArray = utils.transformTo(decodeParamType, this.fileName); + this.fileNameStr = this.loadOptions.decodeFileName(fileNameByteArray); + } + + var ucomment = this.findExtraFieldUnicodeComment(); + if (ucomment !== null) { + this.fileCommentStr = ucomment; + } else { + // ASCII text or unsupported code page + var commentByteArray = utils.transformTo(decodeParamType, this.fileComment); + this.fileCommentStr = this.loadOptions.decodeFileName(commentByteArray); + } + } + }, + + /** + * Find the unicode path declared in the extra field, if any. + * @return {String} the unicode path, null otherwise. + */ + findExtraFieldUnicodePath: function() { + var upathField = this.extraFields[0x7075]; + if (upathField) { + var extraReader = readerFor(upathField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the filename changed, this field is out of date. + if (crc32fn(this.fileName) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(upathField.length - 5)); + } + return null; + }, + + /** + * Find the unicode comment declared in the extra field, if any. + * @return {String} the unicode comment, null otherwise. + */ + findExtraFieldUnicodeComment: function() { + var ucommentField = this.extraFields[0x6375]; + if (ucommentField) { + var extraReader = readerFor(ucommentField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the comment changed, this field is out of date. + if (crc32fn(this.fileComment) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(ucommentField.length - 5)); + } + return null; + } +}; +module.exports = ZipEntry; + +},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(require,module,exports){ +'use strict'; + +var StreamHelper = require('./stream/StreamHelper'); +var DataWorker = require('./stream/DataWorker'); +var utf8 = require('./utf8'); +var CompressedObject = require('./compressedObject'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * A simple object representing a file in the zip file. + * @constructor + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data + * @param {Object} options the options of the file + */ +var ZipObject = function(name, data, options) { + this.name = name; + this.dir = options.dir; + this.date = options.date; + this.comment = options.comment; + this.unixPermissions = options.unixPermissions; + this.dosPermissions = options.dosPermissions; + + this._data = data; + this._dataBinary = options.binary; + // keep only the compression + this.options = { + compression : options.compression, + compressionOptions : options.compressionOptions + }; +}; + +ZipObject.prototype = { + /** + * Create an internal stream for the content of this object. + * @param {String} type the type of each chunk. + * @return StreamHelper the stream. + */ + internalStream: function (type) { + var result = null, outputType = "string"; + try { + if (!type) { + throw new Error("No output type specified."); + } + outputType = type.toLowerCase(); + var askUnicodeString = outputType === "string" || outputType === "text"; + if (outputType === "binarystring" || outputType === "text") { + outputType = "string"; + } + result = this._decompressWorker(); + + var isUnicodeString = !this._dataBinary; + + if (isUnicodeString && !askUnicodeString) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + if (!isUnicodeString && askUnicodeString) { + result = result.pipe(new utf8.Utf8DecodeWorker()); + } + } catch (e) { + result = new GenericWorker("error"); + result.error(e); + } + + return new StreamHelper(result, outputType, ""); + }, + + /** + * Prepare the content in the asked type. + * @param {String} type the type of the result. + * @param {Function} onUpdate a function to call on each internal update. + * @return Promise the promise of the result. + */ + async: function (type, onUpdate) { + return this.internalStream(type).accumulate(onUpdate); + }, + + /** + * Prepare the content as a nodejs stream. + * @param {String} type the type of each chunk. + * @param {Function} onUpdate a function to call on each internal update. + * @return Stream the stream. + */ + nodeStream: function (type, onUpdate) { + return this.internalStream(type || "nodebuffer").toNodejsStream(onUpdate); + }, + + /** + * Return a worker for the compressed content. + * @private + * @param {Object} compression the compression object to use. + * @param {Object} compressionOptions the options to use when compressing. + * @return Worker the worker. + */ + _compressWorker: function (compression, compressionOptions) { + if ( + this._data instanceof CompressedObject && + this._data.compression.magic === compression.magic + ) { + return this._data.getCompressedWorker(); + } else { + var result = this._decompressWorker(); + if(!this._dataBinary) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + return CompressedObject.createWorkerFrom(result, compression, compressionOptions); + } + }, + /** + * Return a worker for the decompressed content. + * @private + * @return Worker the worker. + */ + _decompressWorker : function () { + if (this._data instanceof CompressedObject) { + return this._data.getContentWorker(); + } else if (this._data instanceof GenericWorker) { + return this._data; + } else { + return new DataWorker(this._data); + } + } +}; + +var removedMethods = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"]; +var removedFn = function () { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); +}; + +for(var i = 0; i < removedMethods.length; i++) { + ZipObject.prototype[removedMethods[i]] = removedFn; +} +module.exports = ZipObject; + +},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(require,module,exports){ +(function (global){ +'use strict'; +var Mutation = global.MutationObserver || global.WebKitMutationObserver; + +var scheduleDrain; + +{ + if (Mutation) { + var called = 0; + var observer = new Mutation(nextTick); + var element = global.document.createTextNode(''); + observer.observe(element, { + characterData: true + }); + scheduleDrain = function () { + element.data = (called = ++called % 2); + }; + } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') { + var channel = new global.MessageChannel(); + channel.port1.onmessage = nextTick; + scheduleDrain = function () { + channel.port2.postMessage(0); + }; + } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) { + scheduleDrain = function () { + + // Create a + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type AfterMapping

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface AfterMapping
    +
    Marks a method to be invoked at the end of a generated mapping method, right before the last return statement + of the mapping method. The method can be implemented in an abstract mapper class, be declared in a type (class or + interface) referenced in Mapper.uses(), or in a type used as @Context parameter in order to + be used in a mapping method. +

    + The method invocation is only generated if the return type of the method (if non-void) is assignable to the + return type of the mapping method and all parameters can be assigned by the available source, target or + context parameters of the mapping method: +

      +
    • A parameter annotated with @MappingTarget is populated with the target instance of the mapping. +
    • +
    • A parameter annotated with @TargetType is populated with the target type of the mapping.
    • +
    • Parameters annotated with @Context are populated with the context parameters of the mapping + method.
    • +
    • Any other parameter is populated with a source parameter of the mapping.
    • +
    +

    + For non-void methods, the return value of the method invocation is returned as the result of the mapping + method if it is not null. +

    + All after-mapping methods that can be applied to a mapping method will be used. @Qualifier / + @Named can be used to filter the methods to use. +

    + The order of the method invocation is determined by their location of definition: +

      +
    1. Methods declared on @Context parameters, ordered by the parameter order.
    2. +
    3. Methods implemented in the mapper itself.
    4. +
    5. Methods from types referenced in Mapper.uses(), in the order of the type declaration in the annotation. +
    6. +
    7. Methods declared in one type are used after methods declared in their super-type
    8. +
    + Important: the order of methods declared within one type can not be guaranteed, as it depends on the + compiler and the processing environment implementation. +

    + Example: + +

    + 
    + @AfterMapping
    + public void calledWithoutArgs() {
    +     // ...
    + }
    +
    + @AfterMapping
    + public void calledWithSourceAndTargetType(SourceEntity anySource, @TargetType Class<?> targetType) {
    +     // ...
    + }
    +
    + @AfterMapping
    + public void calledWithSourceAndTarget(Object anySource, @MappingTarget TargetDto target) {
    +     // ...
    + }
    +
    + public abstract TargetDto toTargetDto(SourceEntity source);
    +
    + // generates:
    +
    + public TargetDto toTargetDto(SourceEntity source) {
    +     if ( source == null ) {
    +         return null;
    +     }
    +
    +     TargetDto targetDto = new TargetDto();
    +
    +     // actual mapping code
    +
    +     calledWithoutArgs();
    +     calledWithSourceAndTargetType( source, TargetDto.class );
    +     calledWithSourceAndTarget( source, targetDto );
    +
    +     return targetDto;
    + }
    + 
    + 
    +
    +
    Author:
    +
    Andreas Gudian
    +
    See Also:
    +
    BeforeMapping, +Context
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/AnnotateWith.Element.html b/static/documentation/1.6/api/org/mapstruct/AnnotateWith.Element.html new file mode 100644 index 000000000..7905abb8c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/AnnotateWith.Element.html @@ -0,0 +1,633 @@ + + + + + +AnnotateWith.Element (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type AnnotateWith.Element

+
+
+
+
    +
  • +
    +
    public static @interface AnnotateWith.Element
    +
    Used in combination with AnnotateWith to configure the annotation elements. Only 1 value type may be used + within the same annotation at a time. For example mixing shorts and ints is not allowed.
    +
    +
    Since:
    +
    1.6
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      boolean[]booleans +
      cannot be used in conjunction with other value fields.
      +
      byte[]bytes +
      cannot be used in conjunction with other value fields.
      +
      char[]chars +
      cannot be used in conjunction with other value fields.
      +
      Class<?>[]classes +
      cannot be used in conjunction with other value fields.
      +
      double[]doubles +
      cannot be used in conjunction with other value fields.
      +
      Class<? extends Enum<?>>enumClass +
      only used in conjunction with the enums() annotation element.
      +
      String[]enums +
      cannot be used in conjunction with other value fields.
      +
      float[]floats +
      cannot be used in conjunction with other value fields.
      +
      int[]ints +
      cannot be used in conjunction with other value fields.
      +
      long[]longs +
      cannot be used in conjunction with other value fields.
      +
      Stringname 
      short[]shorts +
      cannot be used in conjunction with other value fields.
      +
      String[]strings +
      cannot be used in conjunction with other value fields.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        name

        +
        String name
        +
        +
        Returns:
        +
        name of the annotation element.
        +
        +
        +
        Default:
        +
        "value"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        shorts

        +
        short[] shorts
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        short value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        bytes

        +
        byte[] bytes
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        byte value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        ints

        +
        int[] ints
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        int value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        longs

        +
        long[] longs
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        long value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        floats

        +
        float[] floats
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        float value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        doubles

        +
        double[] doubles
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        double value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        chars

        +
        char[] chars
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        char value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        booleans

        +
        boolean[] booleans
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        boolean value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        strings

        +
        String[] strings
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        string value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        classes

        +
        Class<?>[] classes
        +
        cannot be used in conjunction with other value fields.
        +
        +
        Returns:
        +
        class value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        enumClass

        +
        Class<? extends Enum<?>> enumClass
        +
        only used in conjunction with the enums() annotation element.
        +
        +
        Returns:
        +
        the class of the enum.
        +
        +
        +
        Default:
        +
        org.mapstruct.NullEnum.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        enums

        +
        String[] enums
        +
        cannot be used in conjunction with other value fields. enumClass() is also required when using + enums()
        +
        +
        Returns:
        +
        enum value(s) for the annotation element.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/AnnotateWith.html b/static/documentation/1.6/api/org/mapstruct/AnnotateWith.html new file mode 100644 index 000000000..c9c39da1b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/AnnotateWith.html @@ -0,0 +1,344 @@ + + + + + +AnnotateWith (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type AnnotateWith

+
+
+
+
    +
  • +
    +
    @Repeatable(AnnotateWiths.class)
    +@Retention(CLASS)
    +@Target({TYPE,METHOD,ANNOTATION_TYPE})
    +public @interface AnnotateWith
    +
    This can be used to have mapstruct generate additional annotations on classes/methods. +

    + Examples based on the spring framework annotations. +

    + Marking a class as `Lazy`: + +
    
    + @AnnotateWith( value = Lazy.class )
    + @Mapper
    + public interface FooMapper {
    +     // mapper code
    + }
    + 
    + + The following code would be generated: + +
    
    + @Lazy
    + public class FooMapperImpl implements FooMapper {
    +     // mapper code
    + }
    + 
    + Setting the profile on the generated implementation: + +
    
    + @AnnotateWith( value = Profile.class, elements = @AnnotateWith.Element( strings = "prod" ) )
    + @Mapper
    + public interface FooMapper {
    +     // mapper code
    + }
    + 
    + + The following code would be generated: + +
    
    + @Profile( value = "prod" )
    + public class FooMapperImpl implements FooMapper {
    +     // mapper code
    + }
    + 
    +
    +
    Since:
    +
    1.6
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      Class<? extends Annotation>value 
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        Class<? extends Annotation> value
        +
        +
        Returns:
        +
        the annotation class that needs to be added.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +
        +
      • +

        elements

        +
        AnnotateWith.Element[] elements
        +
        +
        Returns:
        +
        the annotation elements that are to be applied to this annotation.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/AnnotateWiths.html b/static/documentation/1.6/api/org/mapstruct/AnnotateWiths.html new file mode 100644 index 000000000..7369f6b6c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/AnnotateWiths.html @@ -0,0 +1,260 @@ + + + + + +AnnotateWiths (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type AnnotateWiths

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target({TYPE,METHOD})
    +public @interface AnnotateWiths
    +
    This can be used to have mapstruct generate additional annotations on classes/methods.
    +
    +
    Since:
    +
    1.6
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      AnnotateWith[]value +
      The configuration of the additional annotations.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        AnnotateWith[] value
        +
        The configuration of the additional annotations.
        +
        +
        Returns:
        +
        The configuration of the additional annotations.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/BeanMapping.html b/static/documentation/1.6/api/org/mapstruct/BeanMapping.html new file mode 100644 index 000000000..335ac1aea --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/BeanMapping.html @@ -0,0 +1,727 @@ + + + + + +BeanMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type BeanMapping

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface BeanMapping
    +
    Configures the mapping between two bean types. +

    + Either resultType(), qualifiedBy() or nullValueMappingStrategy() must be specified. +

    +

    Example: Determining the result type

    +
    
    + // When result types have an inheritance relation, selecting either mapping method Mapping or factory method
    + // BeanMapping can be become ambiguous. Parameter  resultType() can be used.
    + public class FruitFactory {
    +     public Apple createApple() {
    +         return new Apple();
    +     }
    +     public Orange createOrange() {
    +         return new Orange();
    +     }
    + }
    + @Mapper(uses = FruitFactory.class)
    + public interface FruitMapper {
    +     @BeanMapping(resultType = Apple.class)
    +     Fruit toFruit(FruitDto fruitDto);
    + }
    + 
    +
    
    + // generates
    + public class FruitMapperImpl implements FruitMapper {
    +      @Override
    +      public Fruit toFruit(FruitDto fruitDto) {
    +          Apple fruit = fruitFactory.createApple();
    +          // ...
    +      }
    + }
    + 
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        resultType

        +
        Class<?> resultType
        +
        Specifies the result type of the factory method to be used in case several factory methods qualify.
        +
        +
        Returns:
        +
        the resultType to select
        +
        +
        +
        Default:
        +
        void.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        qualifiedBy

        +
        Class<? extends Annotation>[] qualifiedBy
        +
        A qualifier can be specified to aid the selection process of a suitable factory method or filtering applicable + @BeforeMapping / @AfterMapping methods. This is useful in case multiple factory + method (hand written of internal) qualify and result in an 'Ambiguous factory methods' error. +

        + A qualifier is a custom annotation and can be placed on either a hand written mapper class or a method.

        +
        +
        Returns:
        +
        the qualifiers
        +
        See Also:
        +
        Qualifier
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        qualifiedByName

        +
        String[] qualifiedByName
        +
        Similar to qualifiedBy(), but used in combination with @Named in case no custom + qualifier annotation is defined.
        +
        +
        Returns:
        +
        the qualifiers
        +
        See Also:
        +
        Named
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    + +
    +
    + +
    +
    +
      +
    • + + +
        +
      • +

        nullValueCheckStrategy

        +
        NullValueCheckStrategy nullValueCheckStrategy
        +
        Determines when to include a null check on the source property value of a bean mapping. + + Can be overridden by the one on MapperConfig, Mapper or Mapping.
        +
        +
        Returns:
        +
        strategy how to do null checking
        +
        +
        +
        Default:
        +
        org.mapstruct.NullValueCheckStrategy.ON_IMPLICIT_CONVERSION
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        subclassExhaustiveStrategy

        +
        SubclassExhaustiveStrategy subclassExhaustiveStrategy
        +
        Determines how to handle missing implementation for super classes when using the SubclassMapping. + + Overrides the setting on MapperConfig and Mapper.
        +
        +
        Returns:
        +
        strategy to handle missing implementation combined with SubclassMappings.
        +
        Since:
        +
        1.5
        +
        +
        +
        Default:
        +
        org.mapstruct.SubclassExhaustiveStrategy.COMPILE_ERROR
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        ignoreByDefault

        +
        boolean ignoreByDefault
        +
        Default ignore all mappings. All mappings have to be defined manually. No automatic mapping will take place. No + warning will be issued on missing source or target properties.
        +
        +
        Returns:
        +
        The ignore strategy (default false).
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
      +
    • + + +
        +
      • +

        builder

        +
        Builder builder
        +
        The information that should be used for the builder mappings. This can be used to define custom build methods + for the builder strategy that one uses. + + If no builder is defined the builder given via MapperConfig.builder() or Mapper.builder() + will be applied. +

        + NOTE: In case no builder is defined here, in Mapper or MapperConfig and there is a single + build method, then that method would be used. +

        + If the builder is defined and there is a single method that does not match the name of the finisher than + a compile error will occurs

        +
        +
        Returns:
        +
        the builder information for the method level
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        @org.mapstruct.Builder
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        mappingControl

        +
        Class<? extends Annotation> mappingControl
        +
        Allows detailed control over the mapping process.
        +
        +
        Returns:
        +
        the mapping control
        +
        Since:
        +
        1.4
        +
        See Also:
        +
        DeepClone, +NoComplexMapping, +MappingControl
        +
        +
        +
        Default:
        +
        org.mapstruct.control.MappingControl.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/BeforeMapping.html b/static/documentation/1.6/api/org/mapstruct/BeforeMapping.html new file mode 100644 index 000000000..7d3012858 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/BeforeMapping.html @@ -0,0 +1,275 @@ + + + + + +BeforeMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type BeforeMapping

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface BeforeMapping
    +
    Marks a method to be invoked at the beginning of a generated mapping method. The method can be implemented in an + abstract mapper class, be declared in a type (class or interface) referenced in Mapper.uses(), or in a type + used as @Context parameter in order to be used in a mapping method. +

    + The method invocation is only generated if the return type of the method (if non-void) is assignable to the + return type of the mapping method and all parameters can be assigned by the available source, target or + context parameters of the mapping method: +

      +
    • A parameter annotated with @MappingTarget is populated with the target instance of the mapping. +
    • +
    • A parameter annotated with @TargetType is populated with the target type of the mapping.
    • +
    • Parameters annotated with @Context are populated with the context parameters of the mapping + method.
    • +
    • Any other parameter is populated with a source parameter of the mapping.
    • +
    +

    + For non-void methods, the return value of the method invocation is returned as the result of the mapping + method if it is not null. +

    + All before-mapping methods that can be applied to a mapping method will be used. @Qualifier + / @Named can be used to filter the methods to use. +

    + The order of the method invocation is determined by their their variant and their location of definition: +

      +
    1. Methods without an @MappingTarget parameter are called before any null-checks on source + parameters and constructing a new target bean.
    2. +
    3. Methods with an @MappingTarget parameter are called after constructing a new target bean.
    4. +
    5. Methods declared on @Context parameters, ordered by the parameter order.
    6. +
    7. Methods implemented in the mapper itself.
    8. +
    9. Methods from types referenced in Mapper.uses(), in the order of the type declaration in the annotation. +
    10. +
    11. Methods declared in one type are used after methods declared in their super-type
    12. +
    + Important: the order of methods declared within one type can not be guaranteed, as it depends on the + compiler and the processing environment implementation. +

    + Example: + +

    + 
    + @BeforeMapping
    + public void calledWithoutArgs() {
    +     // ...
    + }
    +
    + @BeforeMapping
    + public void calledWithSourceAndTargetType(SourceEntity anySource, @TargetType Class<?> targetType) {
    +     // ...
    + }
    +
    + @BeforeMapping
    + public void calledWithSourceAndTarget(Object anySource, @MappingTarget TargetDto target) {
    +     // ...
    + }
    +
    + public abstract TargetDto toTargetDto(SourceEntity source);
    +
    + // generates:
    +
    + public TargetDto toTargetDto(SourceEntity source) {
    +     calledWithoutArgs();
    +     calledWithSourceAndTargetType( source, TargetDto.class );
    +
    +     if ( source == null ) {
    +         return null;
    +     }
    +
    +     TargetDto targetDto = new TargetDto();
    +
    +     calledWithSourceAndTarget( source, targetDto );
    +
    +     // actual mapping code
    +
    +     return targetDto;
    + }
    + 
    + 
    +
    +
    Author:
    +
    Andreas Gudian
    +
    See Also:
    +
    AfterMapping, +Context
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Builder.html b/static/documentation/1.6/api/org/mapstruct/Builder.html new file mode 100644 index 000000000..5b09aea7f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Builder.html @@ -0,0 +1,323 @@ + + + + + +Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Builder

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target({})
    +@Experimental
    +public @interface Builder
    +
    Configuration of builders, e.g. the name of the final build method. + +

    + Example: Using builder +

    +
    
    + // Mapper
    + @Mapper
    + public interface SimpleBuilderMapper {
    +      @Mapping(target = "name", source = "fullName"),
    +      @Mapping(target = "job", constant = "programmer"),
    +      SimpleImmutablePerson toImmutable(SimpleMutablePerson source);
    + }
    + 
    +
    
    + // generates
    + @Override
    + public SimpleImmutablePerson toImmutable(SimpleMutablePerson source) {
    +      // name method can be changed with parameter buildMethod()
    +      Builder simpleImmutablePerson = SimpleImmutablePerson.builder();
    +      simpleImmutablePerson.name( source.getFullName() );
    +      simpleImmutablePerson.age( source.getAge() );
    +      simpleImmutablePerson.address( source.getAddress() );
    +      simpleImmutablePerson.job( "programmer" );
    +      // ...
    + }
    + 
    +
    +
    Since:
    +
    1.3
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      StringbuildMethod +
      The name of the build method that needs to be invoked on the builder to create the type to be build
      +
      booleandisableBuilder +
      Toggling builders on / off.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        buildMethod

        +
        String buildMethod
        +
        The name of the build method that needs to be invoked on the builder to create the type to be build
        +
        +
        Returns:
        +
        the method that needs to tbe invoked on the builder
        +
        +
        +
        Default:
        +
        "build"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        disableBuilder

        +
        boolean disableBuilder
        +
        Toggling builders on / off. Builders are sometimes used solely for unit testing (fluent testdata) + MapStruct will need to use the regular getters /setters in that case.
        +
        +
        Returns:
        +
        when true, no builder patterns will be applied
        +
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/CollectionMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/CollectionMappingStrategy.html new file mode 100644 index 000000000..14e013b54 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/CollectionMappingStrategy.html @@ -0,0 +1,495 @@ + + + + + +CollectionMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum CollectionMappingStrategy

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<CollectionMappingStrategy>
    +
    +
    +
    public enum CollectionMappingStrategy
    +extends Enum<CollectionMappingStrategy>
    +
    Strategy for propagating the value of collection-typed properties from source to target. +

    + In the table below, the dash - indicates a property name. + Next, the trailing s indicates the plural form. + The table explains the options and how they are applied to the presence / absence of a + set-s, add- and / or get-s method on the target object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Collection mapping strategy options
    OptionOnly target set-s AvailableOnly target add- AvailableBoth set-s/add- AvailableNo set-s/add- AvailableExisting Target (@TargetType)
    ACCESSOR_ONLYset-sget-sset-sget-sget-s
    SETTER_PREFERREDset-sadd-set-sget-sget-s
    ADDER_PREFERREDset-sadd-add-get-sget-s
    TARGET_IMMUTABLEset-sexceptionset-sexceptionset-s

    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        ACCESSOR_ONLY

        +
        public static final CollectionMappingStrategy ACCESSOR_ONLY
        +
        The setter of the target property will be used to propagate the value: + orderDto.setOrderLines(order.getOrderLines). +

        + If no setter is available but a getter method, this will be used, under the assumption it has been initialized: + orderDto.getOrderLines().addAll(order.getOrderLines). This will also be the case when using + MappingTarget (updating existing instances).

        +
      • +
      + + + +
        +
      • +

        SETTER_PREFERRED

        +
        public static final CollectionMappingStrategy SETTER_PREFERRED
        +
        If present, the setter of the target property will be used to propagate the value: + orderDto.setOrderLines(order.getOrderLines). +

        + If no setter but and adder method is present, that adder will be invoked for each element of the source + collection: order.addOrderLine(orderLine() ). +

        + If neither a setter nor an adder method but a getter for the target property is present, that getter will be + used, assuming it returns an initialized collection: If no setter is available, MapStruct will first look for an + adder method before resorting to a getter.

        +
      • +
      + + + +
        +
      • +

        ADDER_PREFERRED

        +
        public static final CollectionMappingStrategy ADDER_PREFERRED
        +
        Identical to SETTER_PREFERRED, only that adder methods will be preferred over setter methods, if both + are present for a given collection-typed property.
        +
      • +
      + + + +
        +
      • +

        TARGET_IMMUTABLE

        +
        public static final CollectionMappingStrategy TARGET_IMMUTABLE
        +
        Identical to SETTER_PREFERRED, however the target collection will not be cleared and accessed via + addAll in case of updating existing bean instances, see: MappingTarget. + + Instead the target accessor (e.g. set) will be used on the target bean to set the collection.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static CollectionMappingStrategy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (CollectionMappingStrategy c : CollectionMappingStrategy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static CollectionMappingStrategy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/Condition.html b/static/documentation/1.6/api/org/mapstruct/Condition.html new file mode 100644 index 000000000..7e0f1b67c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Condition.html @@ -0,0 +1,254 @@ + + + + + +Condition (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Condition

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface Condition
    +
    This annotation marks a method as a presence check method to check check for presence in beans. +

    + By default bean properties are checked against null or using a presence check method in the source bean. + If a presence check method is available then it will be used instead. +

    + Presence check methods have to return boolean. + The following parameters are accepted for the presence check methods: +

      +
    • The parameter with the value of the source property. + e.g. the value given by calling getName() for the name property of the source bean
    • +
    • The mapping source parameter
    • +
    • @Context parameter
    • +
    • @TargetPropertyName parameter
    • +
    + + Note: The usage of this annotation is mandatory + for a method to be considered as a presence check method. + +
    
    + public class PresenceCheckUtils {
    +
    +   @Condition
    +   public static boolean isNotEmpty(String value) {
    +      return value != null && !value.isEmpty();
    +   }
    + }
    +
    + @Mapper(uses = PresenceCheckUtils.class)
    + public interface MovieMapper {
    +
    +     MovieDto map(Movie movie);
    + }
    + 
    + + The following implementation of MovieMapper will be generated: + +
    + 
    + public class MovieMapperImpl implements MovieMapper {
    +
    +     @Override
    +     public MovieDto map(Movie movie) {
    +         if ( movie == null ) {
    +             return null;
    +         }
    +
    +         MovieDto movieDto = new MovieDto();
    +
    +         if ( PresenceCheckUtils.isNotEmpty( movie.getTitle() ) ) {
    +             movieDto.setTitle( movie.getTitle() );
    +         }
    +
    +         return movieDto;
    +     }
    + }
    + 
    + 
    +
    +
    Since:
    +
    1.5
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Context.html b/static/documentation/1.6/api/org/mapstruct/Context.html new file mode 100644 index 000000000..24cb6721b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Context.html @@ -0,0 +1,357 @@ + + + + + +Context (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Context

+
+
+
+
    +
  • +
    +
    @Target(PARAMETER)
    +@Retention(CLASS)
    +public @interface Context
    +
    Marks a parameter of a method to be treated as mapping context. Such parameters are passed to other mapping + methods, @ObjectFactory methods or @BeforeMapping/@AfterMapping + methods when applicable and can thus be used in custom code. +

    + The type of an @Context parameter is also inspected for + @BeforeMapping/@AfterMapping methods, which are called on the provided context + parameter value if applicable. +

    + Note: no null checks are performed before calling before/after mapping methods or object + factory methods on @Context annotated parameters. The caller needs to make sure that no null + are passed in that case. +

    + For generated code to call a method that is declared with @Context parameters, the declaration of the mapping + method being generated needs to contain at least those (or assignable) @Context parameters as well. MapStruct + will not create new instances of missing @Context parameters nor will it pass null instead. +

    + Example 1: Using @Context parameters for passing data down to hand-written property mapping + methods and @BeforeMapping methods: + +

    + 
    + // multiple @Context parameters can be added
    + public abstract CarDto toCar(Car car, @Context VehicleRegistration context, @Context Locale localeToUse);
    +
    + protected OwnerManualDto translateOwnerManual(OwnerManual ownerManual, @Context Locale locale) {
    +     // manually implemented logic to translate the OwnerManual with the given Locale
    + }
    +
    + @BeforeMapping
    + protected void registerVehicle(Vehicle mappedVehicle, @Context VehicleRegistration context) {
    +     context.register( mappedVehicle );
    + }
    +
    + @BeforeMapping
    + protected void notCalled(Vehicle mappedVehicle, @Context DifferentMappingContextType context) {
    +     // not called, because no context parameter of type DifferentMappingContextType is available
    +     // within toCar(Car, VehicleRegistration, Locale)
    + }
    +
    + // generates:
    +
    + public CarDto toCar(Car car, VehicleRegistration context, Locale localeToUse) {
    +     registerVehicle( car, context );
    +
    +     if ( car == null ) {
    +         return null;
    +     }
    +
    +     CarDto carDto = new CarDto();
    +
    +     carDto.setOwnerManual( translateOwnerManual( car.getOwnerManual(), localeToUse );
    +     // more generated mapping code
    +
    +     return carDto;
    + }
    + 
    + 
    +

    + Example 2: Using an @Context parameter with a type that provides its own @ + BeforeMapping methods to handle cycles in Graph structures: + +

    + 
    + // type of the context parameter
    + public class CyclicGraphContext {
    +     private Map<Object, Object> knownInstances = new IdentityHashMap<>();
    +
    +     @BeforeMapping
    +     public <T extends NodeDto> T getMappedInstance(Object source, @TargetType Class<T> targetType) {
    +         return (T) knownInstances.get( source );
    +     }
    +
    +     @BeforeMapping
    +     public void storeMappedInstance(Object source, @MappingTarget NodeDto target) {
    +         knownInstances.put( source, target );
    +     }
    + }
    +
    + @Mapper
    + public interface GraphMapper {
    +     NodeDto toNodeDto(Node node, @Context CyclicGraphContext cycleContext);
    + }
    +
    +
    + // generates:
    +
    + public NodeDto toNodeDto(Node node, CyclicGraphContext cycleContext) {
    +     NodeDto target = cycleContext.getMappedInstance( node, NodeDto.class );
    +     if ( target != null ) {
    +         return target;
    +     }
    +
    +     if ( node == null ) {
    +         return null;
    +     }
    +
    +     NodeDto nodeDto = new NodeDto();
    +
    +     cycleContext.storeMappedInstance( node, nodeDto );
    +
    +     nodeDto.setParent( toNodeDto( node.getParent(), cycleContext ) );
    +     List<NodeDto> list = nodeListToNodeDtoList( node.getChildren(), cycleContext );
    +     if ( list != null ) {
    +         nodeDto.setChildren( list );
    +     }
    +
    +     // more mapping code
    +
    +     return nodeDto;
    + }
    + 
    + 
    +

    + Example 3: Using @Context parameters for creating an entity object by calling an + @ObjectFactory methods: + +

    + 
    + // type of the context parameter
    + public class ContextObjectFactory {
    +     @PersistenceContext(unitName = "my-unit")
    +     private EntityManager em;
    +
    +     @ObjectFactory
    +     public Valve create( String id ) {
    +        Query query = em.createNamedQuery("Valve.findById");
    +        query.setParameter("id", id);
    +        Valve result = query.getSingleResult();
    +        if ( result != null ) {
    +            result = new Valve( id );
    +        }
    +        return result;
    +     }
    +
    + }
    +
    + @Mapper
    + public interface ContextWithObjectFactoryMapper {
    +     Valve map(ValveDto dto, @Context ContextObjectFactory factory, String id);
    + }
    +
    +
    + // generates:
    + public class ContextWithObjectFactoryMapperImpl implements ContextWithObjectFactoryMapper {
    +
    +   @Override
    +   public Valve map(ValveDto dto, ContextObjectFactory factory, String id) {
    +       if ( dto == null ) {
    +           return null;
    +       }
    +
    +       Valve valve = factory.create( id );
    +
    +       valve.setOneWay( dto.isOneWay() );
    +
    +       return valve;
    +   }
    + }
    + 
    + 
    +
    +
    Since:
    +
    1.2
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/DecoratedWith.html b/static/documentation/1.6/api/org/mapstruct/DecoratedWith.html new file mode 100644 index 000000000..e6e44b082 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/DecoratedWith.html @@ -0,0 +1,390 @@ + + + + + +DecoratedWith (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type DecoratedWith

+
+
+
+
    +
  • +
    +
    @Target(TYPE)
    +@Retention(CLASS)
    +public @interface DecoratedWith
    +
    Specifies a decorator to be applied to a generated mapper, which e.g. can be used to amend mappings performed by + generated mapping methods. +

    + A typical decorator implementation will be an abstract class and only implement/override a subset of the methods of + the mapper type which it decorates. All methods not implemented or overridden by the decorator will be implemented by + the code generator by delegating to the generated mapper implementation. +

    + NOTE: The usage of decorated mappers differs depending on the selected component model. +

    + NOTE: This annotation is not supported for the component model cdi. Use CDI's own + @Decorator feature instead. +

    +

    Examples

    +

    + For the examples below, consider the following mapper declaration: + +

    + @Mapper(componentModel = "...")
    + @DecoratedWith(PersonMapperDecorator.class)
    + public interface PersonMapper {
    +
    +     @Mapping(target = "name", ignore = true)
    +     PersonDto personToPersonDto(Person person);
    +
    +     AddressDto addressToAddressDto(Address address); // not touched by the decorator
    + }
    + 
    + +

    1. Component model 'default'

    +

    Referencing the original mapper in the decorator

    +

    + If a constructor with a single parameter accepting the type of the decorated mapper is present, a delegate with + generated implementations of all the mapper methods will be passed to this constructor. A typical implementation will + store the passed delegate in a field of the decorator and make use of it in the decorator methods: + +

    + public abstract class PersonMapperDecorator implements PersonMapper {
    +
    +     private PersonMapper delegate;
    +
    +     public PersonMapperDecorator(PersonMapper delegate) {
    +         this.delegate = delegate;
    +     }
    +
    +     @Override
    +     public PersonDto personToPersonDto(Person person) {
    +         PersonDto dto = delegate.personToPersonDto( person );
    +         dto.setName( person.getFirstName() + " " + person.getLastName() );
    +
    +         return dto;
    +     }
    + }
    + 
    + +

    Using the decorated mapper

    +

    + Nothing special needs to be done. When using Mappers.getMapper( PersonMapper.class ), the decorator + is returned, with the injected original mapper. +

    2. Component model 'spring'

    +

    Referencing the original mapper in the decorator

    +

    + The generated implementation of the original mapper is annotated with the Spring annotation + @org.springframework.beans.factory.annotation.Qualifier("delegate"). To autowire that bean in your decorator, + add that qualifier annotation as well: + +

    + public abstract class PersonMapperDecorator implements PersonMapper {
    +
    +     @Autowired
    +     @org.springframework.beans.factory.annotation.Qualifier("delegate")
    +     private PersonMapper delegate;
    +
    +     @Override
    +     public PersonDto personToPersonDto(Person person) {
    +         PersonDto dto = delegate.personToPersonDto( person );
    +         dto.setName( person.getFirstName() + " " + person.getLastName() );
    +
    +         return dto;
    +     }
    + }
    + 
    + +

    Using the decorated mapper in the decorator

    +

    + The generated class that extends the decorator is annotated with Spring's @Primary annotation. To autowire + the decorated mapper in the application, nothing special needs to be done: + +

    + @Autowired
    + private PersonMapper personMapper; // injects the decorator, with the injected original mapper
    + 
    + +

    3. Component model 'jsr330' or 'jakarta'

    +

    Referencing the original mapper

    +

    + JSR 330 / Jakarta Inject doesn't specify qualifiers and only allows to specifically name the beans. Hence, + the generated implementation of the original mapper is annotated with + @Named("fully-qualified-name-of-generated-impl") and @Singleton (please note that when + using a decorator, the class name of the mapper implementation ends with an underscore). To inject that bean in your + decorator, add the same annotation to the delegate field (e.g. by copy/pasting it from the generated class): + +

    + public abstract class PersonMapperDecorator implements PersonMapper {
    +
    +     @Inject
    +     @javax.inject.Named("org.examples.PersonMapperImpl_")
    +     private PersonMapper delegate;
    +
    +     @Override
    +     public PersonDto personToPersonDto(Person person) {
    +         PersonDto dto = delegate.personToPersonDto( person );
    +         dto.setName( person.getFirstName() + " " + person.getLastName() );
    +
    +         return dto;
    +     }
    + }
    + 
    + +

    Using the decorated mapper in the decorator

    +

    + Unlike with the other component models, the usage site must be aware if a mapper is decorated or not, as for + decorated mappers, the parameterless @javax.inject.Named annotation must be added to select the + decorator to be injected: + +

    + @Inject
    + @javax.inject.Named
    + private PersonMapper personMapper; // injects the decorator, with the injected original mapper
    + 
    +

    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      Class<?>value +
      The decorator type.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        Class<?> value
        +
        The decorator type. Must be an abstract class that extends or implements the mapper type to which it is applied. +

        + For component-model default, the decorator type must either have a default constructor or a constructor + with a single parameter accepting the type of the decorated mapper.

        +
        +
        Returns:
        +
        the decorator type
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/EnumMapping.html b/static/documentation/1.6/api/org/mapstruct/EnumMapping.html new file mode 100644 index 000000000..85cef4e6b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/EnumMapping.html @@ -0,0 +1,439 @@ + + + + + +EnumMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type EnumMapping

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface EnumMapping
    +
    Configured the mapping between two value types. +

    Example: Using a suffix for enums

    +
    
    + public enum CheeseType {
    +     BRIE,
    +     ROQUEFORT
    + }
    +
    + public enum CheeseTypeSuffixed {
    +     BRIE_TYPE,
    +     ROQUEFORT_TYPE
    + }
    +
    + @Mapper
    + public interface CheeseMapper {
    +
    +     @EnumMapping(nameTransformationStrategy = "suffix", configuration = "_TYPE")
    +     CheeseTypeSuffixed map(Cheese cheese);
    +
    +     @InheritInverseConfiguration
    +     Cheese map(CheeseTypeSuffixed cheese);
    +
    + }
    + 
    +
    
    + // generates
    + public class CheeseMapperImpl implements CheeseMapper {
    +
    +     @Override
    +     public CheeseTypeSuffixed map(Cheese cheese) {
    +         if ( cheese == null ) {
    +             return null;
    +         }
    +
    +         CheeseTypeSuffixed cheeseTypeSuffixed;
    +
    +         switch ( cheese ) {
    +             case BRIE:
    +                 cheeseTypeSuffixed = CheeseTypeSuffixed.BRIE_TYPE;
    +                 break;
    +             case ROQUEFORT:
    +                 cheeseTypeSuffixed = CheeseTypeSuffixed.ROQUEFORT_TYPE;
    +                 break;
    +             default:
    +                 throw new IllegalArgumentException( "Unexpected enum constant: " + cheese );
    +         }
    +
    +         return cheeseTypeSuffixed;
    +     }
    +
    +     @Override
    +     public Cheese map(CheeseTypeSuffixed cheese) {
    +         if ( cheese == null ) {
    +             return null;
    +         }
    +
    +         CheeseType cheeseType;
    +
    +         switch ( cheese ) {
    +             case BRIE_TYPE:
    +                 cheeseType = CheeseType.BRIE;
    +                 break;
    +             case ROQUEFORT_TYPE:
    +                 cheeseType = CheeseType.ROQUEFORT;
    +                 break;
    +             default:
    +                 throw new IllegalArgumentException( "Unexpected enum constant: " + cheese );
    +         }
    +
    +         return cheeseType;
    +     }
    + }
    + 
    +
    +
    Since:
    +
    1.4
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      Stringconfiguration +
      The configuration that should be passed on the appropriate name transformation strategy.
      +
      StringnameTransformationStrategy +
      Specifies the name transformation strategy that should be used for implicit mapping between enums.
      +
      Class<? extends Exception>unexpectedValueMappingException +
      Exception that should be thrown by the generated code if no mapping matches.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    +
    +
      +
    • + + +
        +
      • +

        configuration

        +
        String configuration
        +
        The configuration that should be passed on the appropriate name transformation strategy. + e.g. a suffix that should be applied to the source enum when doing name based mapping.
        +
        +
        Returns:
        +
        the configuration to use
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        unexpectedValueMappingException

        +
        Class<? extends Exception> unexpectedValueMappingException
        +
        Exception that should be thrown by the generated code if no mapping matches. + If no exception is configured, the exception given via MapperConfig.unexpectedValueMappingException() or + Mapper.unexpectedValueMappingException() will be used, using IllegalArgumentException by default. + +

        + Note: +

          +
        • + The defined exception should at least have a constructor with a String parameter. +
        • +
        • + If the defined exception is a checked exception then the enum mapping methods should have that exception + in the throws clause. +
        • +
        +
        +
        Returns:
        +
        the exception that should be used in the generated code
        +
        +
        +
        Default:
        +
        java.lang.IllegalArgumentException.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/InheritConfiguration.html b/static/documentation/1.6/api/org/mapstruct/InheritConfiguration.html new file mode 100644 index 000000000..378e42fba --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/InheritConfiguration.html @@ -0,0 +1,288 @@ + + + + + +InheritConfiguration (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type InheritConfiguration

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface InheritConfiguration
    +
    Advises the code generator to apply the configuration (as given via Mapping, IterableMapping etc.) + from another mapping method (declared on the same mapper type) or prototype method (declared on a mapper config class + referenced via Mapper.config()) to the annotated method as well. +

    + If no method can be identified unambiguously as configuration source (i.e. several candidate methods with matching + source and target type exist), the name of the method to inherit from must be specified via name(). +

    + Mapping.expression(), Mapping.constant(), Mapping.defaultExpression() and + Mapping.defaultValue() are not inverse inherited + +

    + A typical use case is annotating an update method so it inherits all mappings from a corresponding "standard" mapping + method: + +

    + 
    + @Mappings({
    +     @Mapping(target="make", source="brand"),
    +     @Mapping(target="seatCount", source="numberOfSeats")
    + })
    + CarDto carToCarDto(Car car);
    +
    + @InheritConfiguration
    + void updateCarDto(Car car, @MappingTarget CarDto carDto);
    + 
    + 
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      Stringname +
      The name of the mapping method to inherit the mappings from.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        name

        +
        String name
        +
        The name of the mapping method to inherit the mappings from. Needs only to be specified in case more than one + method with matching source and target type exists.
        +
        +
        Returns:
        +
        The name of the mapping method to inherit the mappings from.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/InheritInverseConfiguration.html b/static/documentation/1.6/api/org/mapstruct/InheritInverseConfiguration.html new file mode 100644 index 000000000..1f86d6fe0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/InheritInverseConfiguration.html @@ -0,0 +1,325 @@ + + + + + +InheritInverseConfiguration (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type InheritInverseConfiguration

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface InheritInverseConfiguration
    +
    Advises the code generator to apply all the Mappings from an inverse mapping method to the annotated method + as well. An inverse mapping method is a method which has the annotated method's source type as target type (return + type or indicated through a parameter annotated with MappingTarget) and the annotated method's target type as + source type. +

    + Any mappings given on the annotated method itself are added to those mappings inherited from the inverse method. In + case of a conflict local mappings take precedence over inherited mappings. +

    + If more than one matching inverse method exists, the name of the method to inherit the configuration from must be + specified via name() +

    + Mapping.expression(), Mapping.constant(), Mapping.defaultExpression() and + Mapping.defaultValue() are not inverse inherited + +

    + Examples +

    +
    
    + @Mapper
    + public interface HumanMapper {
    +      Human toHuman(HumanDto humanDto);
    +      @InheritInverseConfiguration
    +      HumanDto toHumanDto(Human human);
    + }
    + 
    +
    
    + // generates
    + public class HumanMapperImpl implements HumanMapper {
    +      @Override
    +      public Human toHuman(HumanDto humanDto) {
    +          if ( humanDto == null ) {
    +              return null;
    +           }
    +          Human human = new Human();
    +          human.setName( humanDto.getName() );
    +          return human;
    +      }
    +      @Override
    +      public HumanDto toHumanDto(Human human) {
    +          if ( human == null ) {
    +              return null;
    +          }
    +          HumanDto humanDto = new HumanDto();
    +          humanDto.setName( human.getName() );
    +          return humanDto;
    +      }
    + }
    + 
    + +
    
    + @Mapper
    + public interface CarMapper {
    +
    + @Mapping( target = "seatCount", source = "numberOfSeats")
    + @Mapping( target = "enginePower", source = "engineClass", ignore=true) // NOTE: source specified as well
    + CarDto carToDto(Car car);
    +
    + @InheritInverseConfiguration
    + @Mapping(target = "numberOfSeats", ignore = true)
    + // no need to specify a mapping with ignore for "engineClass": specifying source above will assume
    + Car carDtoToCar(CarDto carDto);
    + }
    + 
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      Stringname +
      The name of the inverse mapping method to inherit the mappings from.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        name

        +
        String name
        +
        The name of the inverse mapping method to inherit the mappings from. Needs to be specified only in case more than + one inverse method exists with a matching source and target type exists.
        +
        +
        Returns:
        +
        The name of the inverse mapping method to inherit the mappings from.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/InjectionStrategy.html b/static/documentation/1.6/api/org/mapstruct/InjectionStrategy.html new file mode 100644 index 000000000..c3060e9f1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/InjectionStrategy.html @@ -0,0 +1,411 @@ + + + + + +InjectionStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum InjectionStrategy

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<InjectionStrategy>
    +
    +
    +
    public enum InjectionStrategy
    +extends Enum<InjectionStrategy>
    +
    Strategy for handling injection. This is only used on annotated based component models such as CDI, Spring and + JSR330 / Jakarta.
    +
    +
    Author:
    +
    Kevin Grüneberg, Lucas Resch
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        FIELD

        +
        public static final InjectionStrategy FIELD
        +
        Annotations are written on the field
        +
      • +
      + + + +
        +
      • +

        CONSTRUCTOR

        +
        public static final InjectionStrategy CONSTRUCTOR
        +
        Annotations are written on the constructor
        +
      • +
      + + + +
        +
      • +

        SETTER

        +
        public static final InjectionStrategy SETTER
        +
        A dedicated setter method is created
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InjectionStrategy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InjectionStrategy c : InjectionStrategy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InjectionStrategy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/IterableMapping.html b/static/documentation/1.6/api/org/mapstruct/IterableMapping.html new file mode 100644 index 000000000..bb319803e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/IterableMapping.html @@ -0,0 +1,517 @@ + + + + + +IterableMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type IterableMapping

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface IterableMapping
    +
    Configures the mapping between two iterable like types, e.g. List<String> and List<Date>. + + +

    Note: either dateFormat(), elementTargetType() or qualifiedBy() + must be specified

    + +

    + Example: Convert List<Float> to List<String> +

    +
    
    + @Mapper
    + public interface FloatToStringMapper {
    +      @IterableMapping( numberFormat = "##.00" )
    +      List<String> sourceToTarget(List<Float> source);
    + }
    + 
    +
    
    + // generates
    + public class FloatToStringMapperImpl implements FloatToStringMapper {
    +      @Override
    +      public List<String> sourceToTarget(List<Float> source) {
    +          List<String> list = new ArrayList<String>( source.size() );
    +          for ( Float float1 : source ) {
    +              list.add( new DecimalFormat( "##.00" ).format( float1 ) );
    +          }
    +     // ...
    +      }
    + }
    + 
    + + Supported mappings are: +
      +
    • Iterable<A> to/from Iterable<B>/Iterable<A>
    • +
    • Iterable<A> to/from B[]/A[]
    • +
    • Iterable<A> to/from Stream<B>/Stream<A>
    • +
    • A[] to/from Stream<B>/Stream<A>
    • +
    • A[] to/from B[]
    • +
    • Stream<A> to/from Stream<B>
    • +
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      StringdateFormat +
      A format string as processable by SimpleDateFormat if the annotated method maps from an iterable of + String to an iterable Date or vice-versa.
      +
      Class<? extends Annotation>elementMappingControl +
      Allows detailed control over the mapping process.
      +
      Class<?>elementTargetType +
      Specifies the type of the element to be used in the result of the mapping method in case multiple mapping + methods qualify.
      +
      NullValueMappingStrategynullValueMappingStrategy +
      The strategy to be applied when null is passed as source value to this iterable mapping.
      +
      StringnumberFormat +
      A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
      +
      Class<? extends Annotation>[]qualifiedBy +
      A qualifier can be specified to aid the selection process of a suitable mapper.
      +
      String[]qualifiedByName +
      String-based form of qualifiers; When looking for a suitable mapping method to map this iterable mapping method's + element type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the + class-level) a Named annotation for each of the specified qualifier names.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        dateFormat

        +
        String dateFormat
        +
        A format string as processable by SimpleDateFormat if the annotated method maps from an iterable of + String to an iterable Date or vice-versa. Will be ignored for all other element types.
        +
        +
        Returns:
        +
        A date format string as processable by SimpleDateFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        numberFormat

        +
        String numberFormat
        +
        A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa. Will be ignored for all other element types.
        +
        +
        Returns:
        +
        A decimal format string as processable by DecimalFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        qualifiedBy

        +
        Class<? extends Annotation>[] qualifiedBy
        +
        A qualifier can be specified to aid the selection process of a suitable mapper. This is useful in case multiple + mappers (hand written of internal) qualify and result in an 'Ambiguous mapping methods found' error. + + A qualifier is a custom annotation and can be placed on either a hand written mapper class or a method.
        +
        +
        Returns:
        +
        the qualifiers
        +
        See Also:
        +
        Qualifier
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        qualifiedByName

        +
        String[] qualifiedByName
        +
        String-based form of qualifiers; When looking for a suitable mapping method to map this iterable mapping method's + element type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the + class-level) a Named annotation for each of the specified qualifier names. +

        + Note that annotation-based qualifiers are generally preferable as they allow more easily to find references and + are safe for refactorings, but name-based qualifiers can be a less verbose alternative when requiring a large + number of qualifiers as no custom annotation types are needed.

        +
        +
        Returns:
        +
        One or more qualifier name(s)
        +
        See Also:
        +
        qualifiedBy(), +Named
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        elementTargetType

        +
        Class<?> elementTargetType
        +
        Specifies the type of the element to be used in the result of the mapping method in case multiple mapping + methods qualify.
        +
        +
        Returns:
        +
        the elementTargetType to select
        +
        +
        +
        Default:
        +
        void.class
        +
        +
      • +
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + + +
        +
      • +

        elementMappingControl

        +
        Class<? extends Annotation> elementMappingControl
        +
        Allows detailed control over the mapping process.
        +
        +
        Returns:
        +
        the mapping control
        +
        Since:
        +
        1.4
        +
        See Also:
        +
        DeepClone, +NoComplexMapping, +MappingControl
        +
        +
        +
        Default:
        +
        org.mapstruct.control.MappingControl.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Javadoc.html b/static/documentation/1.6/api/org/mapstruct/Javadoc.html new file mode 100644 index 000000000..516b05cb2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Javadoc.html @@ -0,0 +1,420 @@ + + + + + +Javadoc (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Javadoc

+
+
+
+
    +
  • +
    +
    @Target(TYPE)
    +@Retention(SOURCE)
    +public @interface Javadoc
    +
    Allows the definition of Javadoc comments in the MapStruct Mapper generated class. + +

    The annotation provides support for the usual Javadoc comments elements by defining analogous attributes.

    + + +

    Please, note that at least one of these attributes must be specified.

    + +

    + For instance, the following definition; +

    +
    
    + @Javadoc(
    +     value = "This is the description",
    +     authors = { "author1", "author2" },
    +     deprecated = "Use {@link OtherMapper} instead",
    +     since = "0.1"
    + )
    + 
    + +

    + will generate: +

    + +
    
    + /**
    + * This is the description
    + *
    + * @author author1
    + * @author author2
    + *
    + * @deprecated Use {@link OtherMapper} instead
    + * @since 0.1
    + */
    + 
    + +

    + The entire Javadoc comment block can be passed directly: +

    +
    
    + @Javadoc("This is the description\n"
    +            + "\n"
    +            + "@author author1\n"
    +            + "@author author2\n"
    +            + "\n"
    +            + "@deprecated Use {@link OtherMapper} instead\n"
    +            + "@since 0.1\n"
    + )
    + 
    + +
    
    + // or using Text Blocks
    + @Javadoc(
    +     """
    +     This is the description
    +
    +     @author author1
    +     @author author2
    +
    +     @deprecated Use {@link OtherMapper} instead
    +     @since 0.1
    +     """
    + )
    + 
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      String[]authors +
      List of authors of the code that it is being documented.
      +
      Stringdeprecated +
      Specifies that the functionality that is being documented is deprecated.
      +
      Stringsince +
      Specifies the version since the functionality that is being documented is available.
      +
      Stringvalue +
      Main Javadoc comment text block.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        String value
        +
        Main Javadoc comment text block.
        +
        +
        Returns:
        +
        Main Javadoc comment text block.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        authors

        +
        String[] authors
        +
        List of authors of the code that it is being documented. +

        + It will generate a list of the Javadoc tool comment element @author + with the different values and in the order provided.

        +
        +
        Returns:
        +
        array of javadoc authors.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        deprecated

        +
        String deprecated
        +
        Specifies that the functionality that is being documented is deprecated. +

        + Corresponds to the @deprecated Javadoc tool comment element.

        +
        +
        Returns:
        +
        Deprecation message about the documented functionality
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        since

        +
        String since
        +
        Specifies the version since the functionality that is being documented is available. +

        + Corresponds to the @since Javadoc tool comment element.

        +
        +
        Returns:
        +
        Version since the functionality is available
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/MapMapping.html b/static/documentation/1.6/api/org/mapstruct/MapMapping.html new file mode 100644 index 000000000..c627d939c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/MapMapping.html @@ -0,0 +1,724 @@ + + + + + +MapMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type MapMapping

+
+
+
+
    +
  • +
    +
    @Target(METHOD)
    +@Retention(CLASS)
    +public @interface MapMapping
    +
    Configures the mapping between two map types, e.g. Map<String, String> and Map<Long, Date>. + +

    + Example: +

    +
    
    + @Mapper
    + public interface SimpleMapper {
    +       @MapMapping(valueDateFormat = "dd.MM.yyyy")
    +       Map<String, String> longDateMapToStringStringMap(Map<Long, Date> source);
    + }
    + 
    +
    
    + // generates
    + public class SimpleMapperImpl implements SimpleMapper {
    +      @Override
    +      public Map<String, String> longDateMapToStringStringMap(Map<Long, Date> source) } {
    +          Map<String, String> map = new HashMap<String, String>(); }
    +          for ( java.util.Map.Entry<Long, Date> entry : source.entrySet() ) } {
    +              String key = new DecimalFormat( "" ).format( entry.getKey() );
    +              String value = new SimpleDateFormat( "dd.MM.yyyy" ).format( entry.getValue() );
    +              map.put( key, value );
    +          }
    +          // ...
    +      }
    + }
    + 
    + +

    NOTE: at least one element needs to be specified

    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      StringkeyDateFormat +
      A format string as processable by SimpleDateFormat if the annotated method maps from a map with key type + String to an map with key type Date or vice-versa.
      +
      Class<? extends Annotation>keyMappingControl +
      Allows detailed control over the key mapping process.
      +
      StringkeyNumberFormat +
      A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
      +
      Class<? extends Annotation>[]keyQualifiedBy +
      A key value qualifier can be specified to aid the selection process of a suitable mapper.
      +
      String[]keyQualifiedByName +
      String-based form of qualifiers; When looking for a suitable mapping method to map this map mapping method's key + type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the class-level) a + Named annotation for each of the specified qualifier names.
      +
      Class<?>keyTargetType +
      Specifies the type of the key to be used in the result of the mapping method in case multiple mapping + methods qualify.
      +
      NullValueMappingStrategynullValueMappingStrategy +
      The strategy to be applied when null is passed as source value to this map mapping.
      +
      StringvalueDateFormat +
      A format string as processable by SimpleDateFormat if the annotated method maps from a map with value + type String to an map with value type Date or vice-versa.
      +
      Class<? extends Annotation>valueMappingControl +
      Allows detailed control over the value mapping process.
      +
      StringvalueNumberFormat +
      A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
      +
      Class<? extends Annotation>[]valueQualifiedBy +
      A value qualifier can be specified to aid the selection process of a suitable mapper for the values in the map.
      +
      String[]valueQualifiedByName +
      String-based form of qualifiers; When looking for a suitable mapping method to map this map mapping method's + value type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the class-level) + a Named annotation for each of the specified qualifier names.
      +
      Class<?>valueTargetType +
      Specifies the type of the value to be used in the result of the mapping method in case multiple mapping + methods qualify.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        keyDateFormat

        +
        String keyDateFormat
        +
        A format string as processable by SimpleDateFormat if the annotated method maps from a map with key type + String to an map with key type Date or vice-versa. Will be ignored for all other key types.
        +
        +
        Returns:
        +
        A date format string as processable by SimpleDateFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        valueDateFormat

        +
        String valueDateFormat
        +
        A format string as processable by SimpleDateFormat if the annotated method maps from a map with value + type String to an map with value type Date or vice-versa. Will be ignored for all other value + types.
        +
        +
        Returns:
        +
        A date format string as processable by SimpleDateFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        keyNumberFormat

        +
        String keyNumberFormat
        +
        A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa. Will be ignored for all other key types.
        +
        +
        Returns:
        +
        A decimal format string as processable by DecimalFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        valueNumberFormat

        +
        String valueNumberFormat
        +
        A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa. Will be ignored for all other value types.
        +
        +
        Returns:
        +
        A decimal format string as processable by DecimalFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        keyQualifiedBy

        +
        Class<? extends Annotation>[] keyQualifiedBy
        +
        A key value qualifier can be specified to aid the selection process of a suitable mapper. This is useful in + case multiple mappers (hand written of internal) qualify and result in an 'Ambiguous mapping methods found' + error. + + A qualifier is a custom annotation and can be placed on either a hand written mapper class or a method.
        +
        +
        Returns:
        +
        the qualifiers
        +
        See Also:
        +
        Qualifier
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        keyQualifiedByName

        +
        String[] keyQualifiedByName
        +
        String-based form of qualifiers; When looking for a suitable mapping method to map this map mapping method's key + type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the class-level) a + Named annotation for each of the specified qualifier names. +

        + Note that annotation-based qualifiers are generally preferable as they allow more easily to find references and + are safe for refactorings, but name-based qualifiers can be a less verbose alternative when requiring a large + number of qualifiers as no custom annotation types are needed.

        +
        +
        Returns:
        +
        One or more qualifier name(s)
        +
        See Also:
        +
        keyQualifiedBy(), +Named
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        valueQualifiedBy

        +
        Class<? extends Annotation>[] valueQualifiedBy
        +
        A value qualifier can be specified to aid the selection process of a suitable mapper for the values in the map. + This is useful in case multiple mappers (hand written of internal) qualify and result in an 'Ambiguous mapping + methods found' error. +

        + A qualifier is a custom annotation and can be placed on either a hand written mapper class or a method.

        +
        +
        Returns:
        +
        the qualifiers
        +
        See Also:
        +
        Qualifier
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        valueQualifiedByName

        +
        String[] valueQualifiedByName
        +
        String-based form of qualifiers; When looking for a suitable mapping method to map this map mapping method's + value type, MapStruct will only consider those methods carrying directly or indirectly (i.e. on the class-level) + a Named annotation for each of the specified qualifier names. +

        + Note that annotation-based qualifiers are generally preferable as they allow more easily to find references and + are safe for refactorings, but name-based qualifiers can be a less verbose alternative when requiring a large + number of qualifiers as no custom annotation types are needed.

        +
        +
        Returns:
        +
        One or more qualifier name(s)
        +
        See Also:
        +
        valueQualifiedBy(), +Named
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        keyTargetType

        +
        Class<?> keyTargetType
        +
        Specifies the type of the key to be used in the result of the mapping method in case multiple mapping + methods qualify.
        +
        +
        Returns:
        +
        the resultType to select
        +
        +
        +
        Default:
        +
        void.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        valueTargetType

        +
        Class<?> valueTargetType
        +
        Specifies the type of the value to be used in the result of the mapping method in case multiple mapping + methods qualify.
        +
        +
        Returns:
        +
        the resultType to select
        +
        +
        +
        Default:
        +
        void.class
        +
        +
      • +
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + + +
        +
      • +

        keyMappingControl

        +
        Class<? extends Annotation> keyMappingControl
        +
        Allows detailed control over the key mapping process.
        +
        +
        Returns:
        +
        the mapping control
        +
        Since:
        +
        1.4
        +
        See Also:
        +
        DeepClone, +NoComplexMapping, +MappingControl
        +
        +
        +
        Default:
        +
        org.mapstruct.control.MappingControl.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        valueMappingControl

        +
        Class<? extends Annotation> valueMappingControl
        +
        Allows detailed control over the value mapping process.
        +
        +
        Returns:
        +
        the mapping control
        +
        Since:
        +
        1.4
        +
        See Also:
        +
        DeepClone, +NoComplexMapping, +MappingControl
        +
        +
        +
        Default:
        +
        org.mapstruct.control.MappingControl.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Mapper.html b/static/documentation/1.6/api/org/mapstruct/Mapper.html new file mode 100644 index 000000000..bcd1288e6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Mapper.html @@ -0,0 +1,1144 @@ + + + + + +Mapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Mapper

+
+
+
+
    +
  • +
    +
    @Target(TYPE)
    +@Retention(CLASS)
    +public @interface Mapper
    +
    Marks an interface or abstract class as a mapper and activates the generation of a implementation of that type via + MapStruct. + +

    + Example 1: Creating mapper +

    +
    
    + @Mapper
    + public interface CarMapper {
    +     CarDto toCarDto(Car source);
    + }
    + 
    +

    + Example 2: Use additional mappers with parameters uses(), componentModel() + and injectionStrategy() +

    +
    
    + // we have MarkMapper (map field "mark" to field "name" to upper case)
    + @Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
    + public class MarkMapper {
    +     public String mapMark(String mark) {
    +         return mark.toUpperCase();
    +     }
    + }
    + // we have CarMapper
    + @Mapper(
    +      componentModel = MappingConstants.ComponentModel.SPRING,
    +      uses = MarkMapper.class,
    +      injectionStrategy = InjectionStrategy.CONSTRUCTOR)
    + public interface CarMapper {
    +     @Mapping(target = "name", source = "mark")
    +     CarDto convertMap(CarEntity carEntity);
    + }
    + 
    +
    
    + // generates
    + @Component
    + public class CarMapperImpl implements CarMapper {
    +     private final MarkMapper markMapper;
    +     @Autowired
    +     public CarMapperImpl(MarkMapper markMapper) {
    +         this.markMapper = markMapper;
    +     }
    +     @Override
    +     public CarDto convertMap(CarEntity carEntity) {
    +         if ( carEntity == null ) {
    +             return null;
    +         }
    +         CarDto carDto = new CarDto();
    +         carDto.setName( markMapper.mapMark( carEntity.getMark() ) );
    +         return carDto;
    +     }
    + }
    + 
    +
    +
    Author:
    +
    Gunnar Morling
    +
    See Also:
    +
    Javadoc
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        uses

        +
        Class<?>[] uses
        +
        Other mapper types used by this mapper. May be hand-written classes or other mappers generated by MapStruct. No + cycle between generated mapper classes must be created.
        +
        +
        Returns:
        +
        The mapper types used by this mapper.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        imports

        +
        Class<?>[] imports
        +
        Additional types for which an import statement is to be added to the generated mapper implementation class. + This allows to refer to those types from within mapping expressions given via Mapping.expression(), + Mapping.defaultExpression() or using + their simple name rather than their fully-qualified name.
        +
        +
        Returns:
        +
        classes to add in the imports of the generated implementation.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        unmappedSourcePolicy

        +
        ReportingPolicy unmappedSourcePolicy
        +
        How unmapped properties of the source type of a mapping should be + reported. The method overrides an unmappedSourcePolicy set in a central + configuration set by config()
        +
        +
        Returns:
        +
        The reporting policy for unmapped source properties.
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        org.mapstruct.ReportingPolicy.IGNORE
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        unmappedTargetPolicy

        +
        ReportingPolicy unmappedTargetPolicy
        +
        How unmapped properties of the target type of a mapping should be + reported. The method overrides an unmappedTargetPolicy set in a central + configuration set by config()
        +
        +
        Returns:
        +
        The reporting policy for unmapped target properties.
        +
        +
        +
        Default:
        +
        org.mapstruct.ReportingPolicy.WARN
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        typeConversionPolicy

        +
        ReportingPolicy typeConversionPolicy
        +
        How lossy (narrowing) conversion, for instance long to integer should be + reported. The method overrides an typeConversionPolicy set in a central + configuration set by config()
        +
        +
        Returns:
        +
        The reporting policy for unmapped target properties.
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        org.mapstruct.ReportingPolicy.IGNORE
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        componentModel

        +
        String componentModel
        +
        Specifies the component model to which the generated mapper should + adhere. Supported values are +
          +
        • default: the mapper uses no component model, instances are + typically retrieved via Mappers.getMapper(Class)
        • +
        • + cdi: the generated mapper is an application-scoped CDI bean and + can be retrieved via @Inject
        • +
        • + spring: the generated mapper is a Spring bean and + can be retrieved via @Autowired
        • +
        • + jsr330: the generated mapper is annotated with @javax.inject.Named and + @Singleton, and can be retrieved via @Inject. + The annotations will either be from javax.inject or jakarta.inject, + depending on which one is available, with javax.inject having precedence.
        • +
        • + jakarta: the generated mapper is annotated with @jakarta.inject.Named and + @Singleton, and can be retrieved via @Inject.
        • +
        + The method overrides a componentModel set in a central configuration set + by config()
        +
        +
        Returns:
        +
        The component model for the generated mapper.
        +
        +
        +
        Default:
        +
        "default"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        implementationName

        +
        String implementationName
        +
        Specifies the name of the implementation class. The <CLASS_NAME> will be replaced by the + interface/abstract class name. +

        + Defaults to postfixing the name with Impl: <CLASS_NAME>Impl

        +
        +
        Returns:
        +
        The implementation name.
        +
        See Also:
        +
        implementationPackage()
        +
        +
        +
        Default:
        +
        "<CLASS_NAME>Impl"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        implementationPackage

        +
        String implementationPackage
        +
        Specifies the target package for the generated implementation. The <PACKAGE_NAME> will be replaced by the + interface's or abstract class' package. +

        + Defaults to using the same package as the mapper interface/abstract class

        +
        +
        Returns:
        +
        the implementation package.
        +
        See Also:
        +
        implementationName()
        +
        +
        +
        Default:
        +
        "<PACKAGE_NAME>"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        config

        +
        Class<?> config
        +
        A class annotated with MapperConfig which should be used as configuration template. Any settings given + via Mapper will take precedence over the settings from the referenced configuration source. The list of + referenced mappers will contain all mappers given via uses() and MapperConfig.uses().
        +
        +
        Returns:
        +
        A class which should be used as configuration template.
        +
        +
        +
        Default:
        +
        void.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        collectionMappingStrategy

        +
        CollectionMappingStrategy collectionMappingStrategy
        +
        The strategy to be applied when propagating the value of collection-typed properties. By default, only JavaBeans + accessor methods (setters or getters) will be used, but it is also possible to invoke a corresponding adder + method for each element of the source collection (e.g. orderDto.addOrderLine()). +

        + Any setting given for this attribute will take precedence over MapperConfig.collectionMappingStrategy(), + if present.

        +
        +
        Returns:
        +
        The strategy applied when propagating the value of collection-typed properties.
        +
        +
        +
        Default:
        +
        org.mapstruct.CollectionMappingStrategy.ACCESSOR_ONLY
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        nullValueMappingStrategy

        +
        NullValueMappingStrategy nullValueMappingStrategy
        +
        The strategy to be applied when null is passed as source argument value to the methods of this mapper. + If no strategy is configured, the strategy given via MapperConfig.nullValueMappingStrategy() will be + applied, using NullValueMappingStrategy.RETURN_NULL by default.
        +
        +
        Returns:
        +
        The strategy to be applied when null is passed as source value to the methods of this mapper.
        +
        +
        +
        Default:
        +
        org.mapstruct.NullValueMappingStrategy.RETURN_NULL
        +
        +
      • +
      +
    • +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
      +
    • + + +
        +
      • +

        nullValueCheckStrategy

        +
        NullValueCheckStrategy nullValueCheckStrategy
        +
        Determines when to include a null check on the source property value of a bean mapping. + + Can be overridden by the one on MapperConfig, BeanMapping or Mapping.
        +
        +
        Returns:
        +
        strategy how to do null checking
        +
        +
        +
        Default:
        +
        org.mapstruct.NullValueCheckStrategy.ON_IMPLICIT_CONVERSION
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        subclassExhaustiveStrategy

        +
        SubclassExhaustiveStrategy subclassExhaustiveStrategy
        +
        Determines how to handle missing implementation for super classes when using the SubclassMapping. + + Can be overridden by the one on BeanMapping, but overrides MapperConfig.
        +
        +
        Returns:
        +
        strategy to handle missing implementation combined with SubclassMappings.
        +
        Since:
        +
        1.5
        +
        +
        +
        Default:
        +
        org.mapstruct.SubclassExhaustiveStrategy.COMPILE_ERROR
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        injectionStrategy

        +
        InjectionStrategy injectionStrategy
        +
        Determines whether to use field or constructor injection. This is only used on annotated based component models + such as CDI, Spring and JSR 330. + + If no strategy is configured, InjectionStrategy.FIELD will be used as default.
        +
        +
        Returns:
        +
        strategy how to inject
        +
        +
        +
        Default:
        +
        org.mapstruct.InjectionStrategy.FIELD
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        disableSubMappingMethodsGeneration

        +
        boolean disableSubMappingMethodsGeneration
        +
        If MapStruct could not find another mapping method or apply an automatic conversion it will try to generate a + sub-mapping method between the two beans. If this property is set to true MapStruct will not try to + automatically generate sub-mapping methods. +

        + Can be configured by the MapperConfig.disableSubMappingMethodsGeneration() as well. +

        + Note: If you need to use disableSubMappingMethodsGeneration please contact the MapStruct team at + mapstruct.org or + github.com/mapstruct/mapstruct to share what problem you + are facing with the automatic sub-mapping generation.

        +
        +
        Returns:
        +
        whether the automatic generation of sub-mapping methods is disabled
        +
        Since:
        +
        1.2
        +
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        builder

        +
        Builder builder
        +
        The information that should be used for the builder mappings. This can be used to define custom build methods + for the builder strategy that one uses. + + If no builder is defined the builder given via MapperConfig.builder() will be applied. + +

        + NOTE: In case no builder is defined here, in BeanMapping or MapperConfig and there is a single + build method, then that method would be used. +

        + If the builder is defined and there is a single method that does not match the name of the build method then + a compile error will occur

        +
        +
        Returns:
        +
        the builder information
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        @org.mapstruct.Builder
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        mappingControl

        +
        Class<? extends Annotation> mappingControl
        +
        Allows detailed control over the mapping process.
        +
        +
        Returns:
        +
        the mapping control
        +
        Since:
        +
        1.4
        +
        See Also:
        +
        DeepClone, +NoComplexMapping, +MappingControl
        +
        +
        +
        Default:
        +
        org.mapstruct.control.MappingControl.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        unexpectedValueMappingException

        +
        Class<? extends Exception> unexpectedValueMappingException
        +
        Exception that should be thrown by the generated code if no mapping matches for enums. + If no exception is configured, the exception given via MapperConfig.unexpectedValueMappingException() + will be used, using IllegalArgumentException by default. + +

        + Note: +

          +
        • + The defined exception should at least have a constructor with a String parameter. +
        • +
        • + If the defined exception is a checked exception then the enum mapping methods should have that exception + in the throws clause. +
        • +
        +
        +
        Returns:
        +
        the exception that should be used in the generated code
        +
        Since:
        +
        1.4
        +
        +
        +
        Default:
        +
        java.lang.IllegalArgumentException.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        suppressTimestampInGenerated

        +
        boolean suppressTimestampInGenerated
        +
        Flag indicating whether the addition of a time stamp in the @Generated annotation should be suppressed. + i.e. not be added. + + The method overrides the flag set in a central configuration set by config() + or through an annotation processor option.
        +
        +
        Returns:
        +
        whether the addition of a timestamp should be suppressed
        +
        Since:
        +
        1.5
        +
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/MapperConfig.html b/static/documentation/1.6/api/org/mapstruct/MapperConfig.html new file mode 100644 index 000000000..16cf314fd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/MapperConfig.html @@ -0,0 +1,1086 @@ + + + + + +MapperConfig (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type MapperConfig

+
+
+
+
    +
  • +
    +
    @Target(TYPE)
    +@Retention(CLASS)
    +public @interface MapperConfig
    +
    Marks a class or interface as configuration source for generated mappers. This allows to share common configurations + between several mapper classes. +

    + Generally, any settings given via Mapper take precedence over the settings given via the referenced + MapperConfig. The lists of referenced mappers given via Mapper.uses() and + uses() will be merged. +

    + Additionally, mapper configuration classes may declare one more prototype mapping methods. These methods are + not meant to be invoked themselves (no implementation will generated for mapper config classes), but serve as + configuration template for mapping methods declared by actual mapper classes. Depending on the configured + mappingInheritanceStrategy(), the configuration can be inherited either explicitly using + InheritConfiguration or InheritInverseConfiguration, or automatically in case all source and target + types are assignable. +

    + +

    + Example: +

    +
    
    + // create config
    + @MapperConfig(
    +     uses = CustomMapperViaMapperConfig.class,
    +     unmappedTargetPolicy = ReportingPolicy.ERROR
    + )
    + public interface CentralConfig {
    + }
    + 
    +
    
    + // use config
    + @Mapper(config = CentralConfig.class, uses = { CustomMapperViaMapper.class } )
    + public interface SourceTargetMapper {
    +   // ...
    + }
    + 
    +
    
    + // result after applying CentralConfig
    + @Mapper(
    +     uses = { CustomMapperViaMapper.class, CustomMapperViaMapperConfig.class },
    +     unmappedTargetPolicy = ReportingPolicy.ERROR
    + )
    + public interface SourceTargetMapper {
    +    // ...
    + }
    + 
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    See Also:
    +
    Mapper.config()
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        uses

        +
        Class<?>[] uses
        +
        The mapper types used by this mapper.
        +
        +
        Returns:
        +
        The mapper types used by this mapper.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        imports

        +
        Class<?>[] imports
        +
        Additional types for which an import statement is to be added to the generated mapper implementation class. + This allows to refer to those types from within mapping expressions given via Mapping.expression(), + Mapping.defaultExpression() or using + their simple name rather than their fully-qualified name.
        +
        +
        Returns:
        +
        classes to add in the imports of the generated implementation.
        +
        Since:
        +
        1.4
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        unmappedSourcePolicy

        +
        ReportingPolicy unmappedSourcePolicy
        +
        How unmapped properties of the source type of a mapping should be + reported.
        +
        +
        Returns:
        +
        The reporting policy for unmapped source properties.
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        org.mapstruct.ReportingPolicy.IGNORE
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        unmappedTargetPolicy

        +
        ReportingPolicy unmappedTargetPolicy
        +
        How unmapped properties of the target type of a mapping should be + reported.
        +
        +
        Returns:
        +
        The reporting policy for unmapped target properties.
        +
        +
        +
        Default:
        +
        org.mapstruct.ReportingPolicy.WARN
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        typeConversionPolicy

        +
        ReportingPolicy typeConversionPolicy
        +
        How lossy (narrowing) conversion, for instance: long to integer should be + reported.
        +
        +
        Returns:
        +
        The reporting policy for type conversion.
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        org.mapstruct.ReportingPolicy.IGNORE
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        componentModel

        +
        String componentModel
        +
        Specifies the component model to which the generated mapper should + adhere. Supported values are +
          +
        • default: the mapper uses no component model, instances are + typically retrieved via Mappers.getMapper(Class)
        • +
        • + cdi: the generated mapper is an application-scoped CDI bean and + can be retrieved via @Inject
        • +
        • + spring: the generated mapper is a Spring bean and + can be retrieved via @Autowired
        • +
        • + jsr330: the generated mapper is annotated with @javax.inject.Named and + @Singleton, and can be retrieved via @Inject. + The annotations will either be from javax.inject or jakarta.inject, + depending on which one is available, with javax.inject having precedence.
        • +
        • + jakarta: the generated mapper is annotated with @jakarta.inject.Named and + @Singleton, and can be retrieved via @Inject.
        • +
        +
        +
        Returns:
        +
        The component model for the generated mapper.
        +
        +
        +
        Default:
        +
        "default"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        implementationName

        +
        String implementationName
        +
        Specifies the name of the implementation class. The <CLASS_NAME> will be replaced by the + interface/abstract class name. +

        + Defaults to postfixing the name with Impl: <CLASS_NAME>Impl

        +
        +
        Returns:
        +
        The implementation name.
        +
        See Also:
        +
        implementationPackage()
        +
        +
        +
        Default:
        +
        "<CLASS_NAME>Impl"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        implementationPackage

        +
        String implementationPackage
        +
        Specifies the target package for the generated implementation. The <PACKAGE_NAME> will be replaced by the + interface's or abstract class' package. +

        + Defaults to using the same package as the mapper interface/abstract class

        +
        +
        Returns:
        +
        the implementation package.
        +
        See Also:
        +
        implementationName()
        +
        +
        +
        Default:
        +
        "<PACKAGE_NAME>"
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        collectionMappingStrategy

        +
        CollectionMappingStrategy collectionMappingStrategy
        +
        The strategy to be applied when propagating the value of collection-typed properties. By default, only JavaBeans + accessor methods (setters or getters) will be used, but it is also possible to invoke a corresponding adder + method for each element of the source collection (e.g. orderDto.addOrderLine()).
        +
        +
        Returns:
        +
        The strategy applied when propagating the value of collection-typed properties.
        +
        +
        +
        Default:
        +
        org.mapstruct.CollectionMappingStrategy.ACCESSOR_ONLY
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        nullValueMappingStrategy

        +
        NullValueMappingStrategy nullValueMappingStrategy
        +
        The strategy to be applied when null is passed as source argument value to mapping methods. If no + strategy is configured, NullValueMappingStrategy.RETURN_NULL will be used by default.
        +
        +
        Returns:
        +
        The strategy to be applied when null is passed as source value to mapping methods.
        +
        +
        +
        Default:
        +
        org.mapstruct.NullValueMappingStrategy.RETURN_NULL
        +
        +
      • +
      +
    • +
    +
    +
    + +
    +
    + +
    +
    +
      +
    • + + +
        +
      • +

        nullValuePropertyMappingStrategy

        +
        NullValuePropertyMappingStrategy nullValuePropertyMappingStrategy
        +
        The strategy to be applied when a source bean property is null or not present. If no strategy is + configured, NullValuePropertyMappingStrategy.SET_TO_NULL will be used by default.
        +
        +
        Returns:
        +
        The strategy to be applied when null is passed as source property value or the source property + is not present.
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        org.mapstruct.NullValuePropertyMappingStrategy.SET_TO_NULL
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        mappingInheritanceStrategy

        +
        MappingInheritanceStrategy mappingInheritanceStrategy
        +
        The strategy to use for applying method-level configuration annotations of prototype methods in the interface + annotated with this annotation. Annotations that can be inherited are for example Mapping, + IterableMapping, MapMapping, or BeanMapping. +

        + If no strategy is configured, MappingInheritanceStrategy.EXPLICIT will be used as default.

        +
        +
        Returns:
        +
        The strategy to use for applying @Mapping configurations of prototype methods in the interface + annotated with this annotation.
        +
        +
        +
        Default:
        +
        org.mapstruct.MappingInheritanceStrategy.EXPLICIT
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        nullValueCheckStrategy

        +
        NullValueCheckStrategy nullValueCheckStrategy
        +
        Determines when to include a null check on the source property value of a bean mapping. + + Can be overridden by the one on Mapper, BeanMapping or Mapping.
        +
        +
        Returns:
        +
        strategy how to do null checking
        +
        +
        +
        Default:
        +
        org.mapstruct.NullValueCheckStrategy.ON_IMPLICIT_CONVERSION
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        subclassExhaustiveStrategy

        +
        SubclassExhaustiveStrategy subclassExhaustiveStrategy
        +
        Determines how to handle missing implementation for super classes when using the SubclassMapping. + + Can be overridden by the one on BeanMapping or Mapper.
        +
        +
        Returns:
        +
        strategy to handle missing implementation combined with SubclassMappings.
        +
        Since:
        +
        1.5
        +
        +
        +
        Default:
        +
        org.mapstruct.SubclassExhaustiveStrategy.COMPILE_ERROR
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        injectionStrategy

        +
        InjectionStrategy injectionStrategy
        +
        Determines whether to use field or constructor injection. This is only used on annotated based component models + such as CDI, Spring and JSR 330. + + Can be overridden by the one on Mapper. + + If no strategy is configured, InjectionStrategy.FIELD will be used as default.
        +
        +
        Returns:
        +
        strategy how to inject
        +
        +
        +
        Default:
        +
        org.mapstruct.InjectionStrategy.FIELD
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        disableSubMappingMethodsGeneration

        +
        boolean disableSubMappingMethodsGeneration
        +
        If MapStruct could not find another mapping method or apply an automatic conversion it will try to generate a + sub-mapping method between the two beans. If this property is set to true MapStruct will not try to + automatically generate sub-mapping methods. +

        + Can be overridden by Mapper.disableSubMappingMethodsGeneration() +

        + Note: If you need to use disableSubMappingMethodsGeneration please contact the MapStruct team at + mapstruct.org or + github.com/mapstruct/mapstruct to share what problem you + are facing with the automatic sub-mapping generation.

        +
        +
        Returns:
        +
        whether the automatic generation of sub-mapping methods is disabled
        +
        Since:
        +
        1.2
        +
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        builder

        +
        Builder builder
        +
        The information that should be used for the builder mappings. This can be used to define custom build methods + for the builder strategy that one uses. + +

        + Can be overridden by builder(). + +

        + NOTE: In case no builder is defined here, in BeanMapping or Mapper and there is a single + build method, then that method would be used. +

        + If the builder is defined and there is a single method that does not match the name of the build method then + a compile error will occur

        +
        +
        Returns:
        +
        the builder information
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        @org.mapstruct.Builder
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        mappingControl

        +
        Class<? extends Annotation> mappingControl
        +
        Allows detailed control over the mapping process.
        +
        +
        Returns:
        +
        the mapping control
        +
        Since:
        +
        1.4
        +
        See Also:
        +
        DeepClone, +NoComplexMapping, +MappingControl
        +
        +
        +
        Default:
        +
        org.mapstruct.control.MappingControl.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        unexpectedValueMappingException

        +
        Class<? extends Exception> unexpectedValueMappingException
        +
        Exception that should be thrown by the generated code if no mapping matches for enums. + If no exception is configured, IllegalArgumentException will be used by default. + +

        + Note: +

          +
        • + The defined exception should at least have a constructor with a String parameter. +
        • +
        • + If the defined exception is a checked exception then the enum mapping methods should have that exception + in the throws clause. +
        • +
        +
        +
        Returns:
        +
        the exception that should be used in the generated code
        +
        Since:
        +
        1.4
        +
        +
        +
        Default:
        +
        java.lang.IllegalArgumentException.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        suppressTimestampInGenerated

        +
        boolean suppressTimestampInGenerated
        +
        Flag indicating whether the addition of a time stamp in the @Generated annotation should be suppressed. + i.e. not be added. + + The method overrides the flag set through an annotation processor option.
        +
        +
        Returns:
        +
        whether the addition of a timestamp should be suppressed
        +
        Since:
        +
        1.5
        +
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Mapping.html b/static/documentation/1.6/api/org/mapstruct/Mapping.html new file mode 100644 index 000000000..ebf75c4ac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Mapping.html @@ -0,0 +1,1170 @@ + + + + + +Mapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Mapping

+
+
+
+
    +
  • +
    +
    @Repeatable(Mappings.class)
    +@Retention(CLASS)
    +@Target({METHOD,ANNOTATION_TYPE})
    +public @interface Mapping
    +
    Configures the mapping of one bean attribute or enum constant. +

    + The name of the mapped attribute or constant is to be specified via target(). For mapped bean attributes it + is assumed by default that the attribute has the same name in the source bean. Alternatively, one of + source(), expression() or constant() can be specified to define the property source. +

    +

    + In addition, the attributes dateFormat() and qualifiedBy() may be used to further define the + mapping. +

    + +

    + Example 1: Implicitly mapping fields with the same name: +

    +
    
    + // Both classes HumanDto and Human have property with name "fullName"
    + // properties with the same name will be mapped implicitly
    + @Mapper
    + public interface HumanMapper {
    +    HumanDto toHumanDto(Human human)
    + }
    + 
    +
    
    + // generates:
    + @Override
    + public HumanDto toHumanDto(Human human) {
    +    humanDto.setFullName( human.getFullName() );
    +    // ...
    + }
    + 
    + +

    Example 2: Mapping properties with different names

    +
    
    + // We need map Human.companyName to HumanDto.company
    + // we can use @Mapping with parameters source() and target()
    + @Mapper
    + public interface HumanMapper {
    +    @Mapping(source="companyName", target="company")
    +    HumanDto toHumanDto(Human human)
    + }
    + 
    +
    
    + // generates:
    + @Override
    + public HumanDto toHumanDto(Human human) {
    +     humanDto.setCompany( human.getCompanyName() );
    +      // ...
    + }
    + 
    +

    + Example 3: Mapping with expression + IMPORTANT NOTE: Now it works only for Java +

    +
    
    + // We need map Human.name to HumanDto.countNameSymbols.
    + // we can use expression() for it
    + @Mapper
    + public interface HumanMapper {
    +    @Mapping(target="countNameSymbols", expression="java(human.getName().length())")
    +    HumanDto toHumanDto(Human human)
    + }
    + 
    +
    
    + // generates:
    +@Override
    + public HumanDto toHumanDto(Human human) {
    +    humanDto.setCountNameSymbols( human.getName().length() );
    +    //...
    + }
    + 
    +

    + Example 4: Mapping to constant +

    +
    
    + // We need map HumanDto.name to string constant "Unknown"
    + // we can use constant() for it
    + @Mapper
    + public interface HumanMapper {
    +    @Mapping(target="name", constant="Unknown")
    +    HumanDto toHumanDto(Human human)
    + }
    + 
    +
    
    + // generates
    + @Override
    + public HumanDto toHumanDto(Human human) {
    +   humanDto.setName( "Unknown" );
    +   // ...
    + }
    + 
    +

    + Example 5: Mapping with default value +

    +
    
    + // We need map Human.name to HumanDto.fullName, but if Human.name == null, then set value "Somebody"
    + // we can use defaultValue() or defaultExpression() for it
    + @Mapper
    + public interface HumanMapper {
    +    @Mapping(source="name", target="name", defaultValue="Somebody")
    +    HumanDto toHumanDto(Human human)
    + }
    + 
    +
    
    + // generates
    + @Override
    + public HumanDto toHumanDto(Human human) {
    +    if ( human.getName() != null ) {
    +       humanDto.setFullName( human.getName() );
    +    }
    +    else {
    +       humanDto.setFullName( "Somebody" );
    +    }
    +   // ...
    + }
    + 
    + + IMPORTANT NOTE: the enum mapping capability is deprecated and replaced by ValueMapping it + will be removed in subsequent versions.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      Stringtarget +
      The target name of the configured property as defined by the JavaBeans specification.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      StringconditionExpression +
      A conditionExpression String based on which the specified property is to be checked + whether it is present or not.
      +
      Class<? extends Annotation>[]conditionQualifiedBy +
      A qualifier can be specified to aid the selection process of a suitable presence check method.
      +
      String[]conditionQualifiedByName +
      String-based form of qualifiers for condition / presence check methods; + When looking for a suitable presence check method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names.
      +
      Stringconstant +
      A constant String based on which the specified target property is to be set.
      +
      StringdateFormat +
      A format string as processable by SimpleDateFormat if the attribute is mapped from String to + Date or vice-versa.
      +
      StringdefaultExpression +
      A defaultExpression String based on which the specified target property is to be set + if and only if the specified source property is null.
      +
      StringdefaultValue +
      In case the source property is null, the provided default String value is set.
      +
      String[]dependsOn +
      One or more properties of the result type on which the mapped property depends.
      +
      Stringexpression +
      An expression String based on which the specified target property is to be set.
      +
      booleanignore +
      Whether the property specified via target() should be ignored by the generated mapping method or not.
      +
      Class<? extends Annotation>mappingControl +
      Allows detailed control over the mapping process.
      +
      NullValueCheckStrategynullValueCheckStrategy +
      Determines when to include a null check on the source property value of a bean mapping.
      +
      NullValuePropertyMappingStrategynullValuePropertyMappingStrategy +
      The strategy to be applied when the source property is null or not present.
      +
      StringnumberFormat +
      A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa.
      +
      Class<? extends Annotation>[]qualifiedBy +
      A qualifier can be specified to aid the selection process of a suitable mapper.
      +
      String[]qualifiedByName +
      String-based form of qualifiers; When looking for a suitable mapping method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names.
      +
      Class<?>resultType +
      Specifies the result type of the mapping method to be used in case multiple mapping methods qualify.
      +
      Stringsource +
      The source to use for this mapping.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        target

        +
        String target
        +
        The target name of the configured property as defined by the JavaBeans specification. The same target property + must not be mapped more than once. +

        + If used to map an enum constant, the name of the constant member is to be given. In this case, several values + from the source enum may be mapped to the same value of the target enum.

        +
        +
        Returns:
        +
        The target name of the configured property or enum constant
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +
        +
      • +

        source

        +
        String source
        +
        The source to use for this mapping. This can either be: +
          +
        1. The source name of the configured property as defined by the JavaBeans specification. +

          + This may either be a simple property name (e.g. "address") or a dot-separated property path (e.g. "address.city" + or "address.city.name"). In case the annotated method has several source parameters, the property name must + qualified with the parameter name, e.g. "addressParam.city".

        2. +
        3. When no matching property is found, MapStruct looks for a matching parameter name instead.
        4. +
        5. When used to map an enum constant, the name of the constant member is to be given.
        6. +
        + This attribute can not be used together with constant() or expression().
        +
        +
        Returns:
        +
        The source name of the configured property or enum constant.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        dateFormat

        +
        String dateFormat
        +
        A format string as processable by SimpleDateFormat if the attribute is mapped from String to + Date or vice-versa. Will be ignored for all other attribute types and when mapping enum constants.
        +
        +
        Returns:
        +
        A date format string as processable by SimpleDateFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        numberFormat

        +
        String numberFormat
        +
        A format string as processable by DecimalFormat if the annotated method maps from a + Number to a String or vice-versa. Will be ignored for all other element types.
        +
        +
        Returns:
        +
        A decimal format string as processable by DecimalFormat.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        constant

        +
        String constant
        +
        A constant String based on which the specified target property is to be set. +

        + When the designated target property is of type: +

        +
          +
        1. primitive or boxed (e.g. java.lang.Long). +

          + MapStruct checks whether the primitive can be assigned as valid literal to the primitive or boxed type. +

          +
            +
          • + If possible, MapStruct assigns as literal. +
          • +
          • + If not possible, MapStruct will try to apply a user defined mapping method. +
          • +
          +
        2. +
        3. other +

          + MapStruct handles the constant as String. The value will be converted by applying a matching method, + type conversion method or built-in conversion. +

          +

        4. +
        +

        + You can use qualifiedBy() or qualifiedByName() to force the use of a conversion method + even when one would not apply. (e.g. String to String) +

        +

        + This attribute can not be used together with source(), defaultValue(), + defaultExpression() or expression().

        +
        +
        Returns:
        +
        A constant String constant specifying the value for the designated target property
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        expression

        +
        String expression
        +
        An expression String based on which the specified target property is to be set. +

        + Currently, Java is the only supported "expression language" and expressions must be given in form of Java + expressions using the following format: java(<EXPRESSION>). For instance the mapping: +

        
        + @Mapping(
        +     target = "someProp",
        +     expression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))"
        + )
        + 
        +

        + will cause the following target property assignment to be generated: +

        + targetBean.setSomeProp( new TimeAndFormat( s.getTime(), s.getFormat() ) ). +

        + Any types referenced in expressions must be given via their fully-qualified name. Alternatively, types can be + imported via Mapper.imports(). +

        + This attribute can not be used together with source(), defaultValue(), + defaultExpression(), qualifiedBy(), qualifiedByName() or constant().

        +
        +
        Returns:
        +
        An expression specifying the value for the designated target property
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        defaultExpression

        +
        String defaultExpression
        +
        A defaultExpression String based on which the specified target property is to be set + if and only if the specified source property is null. +

        + Currently, Java is the only supported "expression language" and expressions must be given in form of Java + expressions using the following format: java(<EXPRESSION>). For instance the mapping: +

        
        + @Mapping(
        +     target = "someProp",
        +     defaultExpression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))"
        + )
        + 
        +

        + will cause the following target property assignment to be generated: +

        + targetBean.setSomeProp( new TimeAndFormat( s.getTime(), s.getFormat() ) ). +

        + Any types referenced in expressions must be given via their fully-qualified name. Alternatively, types can be + imported via Mapper.imports(). +

        + This attribute can not be used together with expression(), defaultValue() + or constant().

        +
        +
        Returns:
        +
        An expression specifying a defaultValue for the designated target property if the designated source + property is null
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        ignore

        +
        boolean ignore
        +
        Whether the property specified via target() should be ignored by the generated mapping method or not. + This can be useful when certain attributes should not be propagated from source to target or when properties in + the target object are populated using a decorator and thus would be reported as unmapped target property by + default.
        +
        +
        Returns:
        +
        true if the given property should be ignored, false otherwise
        +
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        qualifiedBy

        +
        Class<? extends Annotation>[] qualifiedBy
        +
        A qualifier can be specified to aid the selection process of a suitable mapper. This is useful in case multiple + mapping methods (hand written or generated) qualify and thus would result in an 'Ambiguous mapping methods found' + error. A qualifier is a custom annotation and can be placed on a hand written mapper class or a method. +

        + Note that defaultValue() usage will also be converted using this qualifier.

        +
        +
        Returns:
        +
        the qualifiers
        +
        See Also:
        +
        Qualifier
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        qualifiedByName

        +
        String[] qualifiedByName
        +
        String-based form of qualifiers; When looking for a suitable mapping method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names. +

        + Note that annotation-based qualifiers are generally preferable as they allow more easily to find references and + are safe for refactorings, but name-based qualifiers can be a less verbose alternative when requiring a large + number of qualifiers as no custom annotation types are needed. +

        + Note that defaultValue() usage will also be converted using this qualifier.

        +
        +
        Returns:
        +
        One or more qualifier name(s)
        +
        See Also:
        +
        qualifiedBy(), +Named
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        conditionQualifiedBy

        +
        Class<? extends Annotation>[] conditionQualifiedBy
        +
        A qualifier can be specified to aid the selection process of a suitable presence check method. + This is useful in case multiple presence check methods qualify and thus would result in an + 'Ambiguous presence check methods found' error. + A qualifier is a custom annotation and can be placed on a hand written mapper class or a method. + This is similar to the qualifiedBy(), but it is only applied for Condition methods.
        +
        +
        Returns:
        +
        the qualifiers
        +
        Since:
        +
        1.5
        +
        See Also:
        +
        Qualifier, +qualifiedBy()
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        conditionQualifiedByName

        +
        String[] conditionQualifiedByName
        +
        String-based form of qualifiers for condition / presence check methods; + When looking for a suitable presence check method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names. + + This is similar like qualifiedByName() but it is only applied for Condition methods. +

        + Note that annotation-based qualifiers are generally preferable as they allow more easily to find references and + are safe for refactorings, but name-based qualifiers can be a less verbose alternative when requiring a large + number of qualifiers as no custom annotation types are needed. +

        +
        +
        Returns:
        +
        One or more qualifier name(s)
        +
        Since:
        +
        1.5
        +
        See Also:
        +
        conditionQualifiedBy(), +qualifiedByName(), +Named
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        conditionExpression

        +
        String conditionExpression
        +
        A conditionExpression String based on which the specified property is to be checked + whether it is present or not. +

        + Currently, Java is the only supported "expression language" and expressions must be given in form of Java + expressions using the following format: java(<EXPRESSION>). For instance the mapping: +

        
        + @Mapping(
        +     target = "someProp",
        +     conditionExpression = "java(s.getAge() < 18)"
        + )
        + 
        +

        + will cause the following target property assignment to be generated: +

        
        +     if (s.getAge() < 18) {
        +         targetBean.setSomeProp( s.getSomeProp() );
        +     }
        + 
        +

        + Any types referenced in expressions must be given via their fully-qualified name. Alternatively, types can be + imported via Mapper.imports(). +

        + This attribute can not be used together with expression() or constant().

        +
        +
        Returns:
        +
        An expression specifying a condition check for the designated property
        +
        Since:
        +
        1.5
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        resultType

        +
        Class<?> resultType
        +
        Specifies the result type of the mapping method to be used in case multiple mapping methods qualify.
        +
        +
        Returns:
        +
        the resultType to select
        +
        +
        +
        Default:
        +
        void.class
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        dependsOn

        +
        String[] dependsOn
        +
        One or more properties of the result type on which the mapped property depends. The generated method + implementation will invoke the setters of the result type ordered so that the given dependency relationship(s) + are satisfied. Useful in case one property setter depends on the state of another property of the result type. +

        + An error will be raised in case a cycle in the dependency relationships is detected.

        +
        +
        Returns:
        +
        the dependencies of the mapped property
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        defaultValue

        +
        String defaultValue
        +
        In case the source property is null, the provided default String value is set. +

        + When the designated target property is of type: +

        +
          +
        1. primitive or boxed (e.g. java.lang.Long). +

          + MapStruct checks whether the primitive can be assigned as valid literal to the primitive or boxed type. +

          +
            +
          • + If possible, MapStruct assigns as literal. +
          • +
          • + If not possible, MapStruct will try to apply a user defined mapping method. +
          • +
          +

          +

        2. +
        3. other +

          + MapStruct handles the constant as String. The value will be converted by applying a matching method, + type conversion method or built-in conversion. +

          +

        4. +
        +

        + This attribute can not be used together with constant(), expression() + or defaultExpression().

        +
        +
        Returns:
        +
        Default value to set in case the source property is null.
        +
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        nullValueCheckStrategy

        +
        NullValueCheckStrategy nullValueCheckStrategy
        +
        Determines when to include a null check on the source property value of a bean mapping. + + Can be overridden by the one on MapperConfig, Mapper or BeanMapping.
        +
        +
        Returns:
        +
        strategy how to do null checking
        +
        Since:
        +
        1.3
        +
        +
        +
        Default:
        +
        org.mapstruct.NullValueCheckStrategy.ON_IMPLICIT_CONVERSION
        +
        +
      • +
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + + +
        +
      • +

        mappingControl

        +
        Class<? extends Annotation> mappingControl
        +
        Allows detailed control over the mapping process.
        +
        +
        Returns:
        +
        the mapping control
        +
        Since:
        +
        1.4
        +
        See Also:
        +
        DeepClone, +NoComplexMapping, +MappingControl
        +
        +
        +
        Default:
        +
        org.mapstruct.control.MappingControl.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/MappingConstants.ComponentModel.html b/static/documentation/1.6/api/org/mapstruct/MappingConstants.ComponentModel.html new file mode 100644 index 000000000..b0512d1ce --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/MappingConstants.ComponentModel.html @@ -0,0 +1,423 @@ + + + + + +MappingConstants.ComponentModel (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Class MappingConstants.ComponentModel

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    MappingConstants
    +
    +
    +
    public static final class MappingConstants.ComponentModel
    +extends Object
    +
    Specifies the component model constants to which the generated mapper should adhere. + It can be used with the annotation Mapper.componentModel() or MapperConfig.componentModel() + +

    + Example: +

    +
    
    + // Spring component model
    + @Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
    + 
    +
    +
    Since:
    +
    1.5.0
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static StringCDI +
      The generated mapper is an application-scoped CDI bean and can be retrieved via @Inject.
      +
      static StringDEFAULT +
      The mapper uses no component model, instances are typically retrieved + via Mappers.getMapper(java.lang.Class)
      +
      static StringJAKARTA +
      The generated mapper is annotated with @Named and @Singleton, and can be retrieved via @Inject.
      +
      static StringJAKARTA_CDI +
      The generated mapper is an application-scoped Jakarta CDI bean and can be retrieved via @Inject.
      +
      static StringJSR330 +
      The generated mapper is annotated with @Named and @Singleton, and can be retrieved via @Inject.
      +
      static StringSPRING +
      The generated mapper is a Spring bean and can be retrieved via @Autowired
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        CDI

        +
        public static final String CDI
        +
        The generated mapper is an application-scoped CDI bean and can be retrieved via @Inject. + The annotations are either from javax or jakarta. + Priority have the javax annotations. + In case you want to only use Jakarta then use JAKARTA_CDI.
        +
        +
        See Also:
        +
        JAKARTA_CDI, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SPRING

        +
        public static final String SPRING
        +
        The generated mapper is a Spring bean and can be retrieved via @Autowired
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        JSR330

        +
        public static final String JSR330
        +
        The generated mapper is annotated with @Named and @Singleton, and can be retrieved via @Inject. + The annotations are either from javax.inject or jakarta.inject. + Priority have the javax.inject annotations. + In case you want to only use Jakarta then use JAKARTA.
        +
        +
        See Also:
        +
        JAKARTA, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        JAKARTA

        +
        public static final String JAKARTA
        +
        The generated mapper is annotated with @Named and @Singleton, and can be retrieved via @Inject. + The annotations are from jakarta.inject. + In case you want to use javax.inject then use JSR330.
        +
        +
        See Also:
        +
        JSR330, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        JAKARTA_CDI

        +
        public static final String JAKARTA_CDI
        +
        The generated mapper is an application-scoped Jakarta CDI bean and can be retrieved via @Inject.
        +
        +
        See Also:
        +
        CDI, +Constant Field Values
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/MappingConstants.html b/static/documentation/1.6/api/org/mapstruct/MappingConstants.html new file mode 100644 index 000000000..0d1879635 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/MappingConstants.html @@ -0,0 +1,513 @@ + + + + + +MappingConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Class MappingConstants

+
+
+ +
+
    +
  • +
    +
    public final class MappingConstants
    +extends Object
    +
    Contains all constants defined in the mapping process.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/MappingInheritanceStrategy.html b/static/documentation/1.6/api/org/mapstruct/MappingInheritanceStrategy.html new file mode 100644 index 000000000..355cd80fc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/MappingInheritanceStrategy.html @@ -0,0 +1,435 @@ + + + + + +MappingInheritanceStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum MappingInheritanceStrategy

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + + + + + +
        +
      • +

        AUTO_INHERIT_FROM_CONFIG

        +
        public static final MappingInheritanceStrategy AUTO_INHERIT_FROM_CONFIG
        +
        Inherit the method-level forward configuration annotations automatically if source and target types of the + prototype method are assignable from the types of a given mapping method.
        +
      • +
      + + + +
        +
      • +

        AUTO_INHERIT_REVERSE_FROM_CONFIG

        +
        public static final MappingInheritanceStrategy AUTO_INHERIT_REVERSE_FROM_CONFIG
        +
        Inherit the method-level reverse configuration annotations automatically if source and target types of the + prototype method are assignable from the target and source types of a given mapping method.
        +
      • +
      + + + +
        +
      • +

        AUTO_INHERIT_ALL_FROM_CONFIG

        +
        public static final MappingInheritanceStrategy AUTO_INHERIT_ALL_FROM_CONFIG
        +
        Inherit the method-level forward and reverse configuration annotations automatically if source and target types + of the prototype method are assignable from the types of a given mapping method.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static MappingInheritanceStrategy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (MappingInheritanceStrategy c : MappingInheritanceStrategy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static MappingInheritanceStrategy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/MappingTarget.html b/static/documentation/1.6/api/org/mapstruct/MappingTarget.html new file mode 100644 index 000000000..c801084ba --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/MappingTarget.html @@ -0,0 +1,236 @@ + + + + + +MappingTarget (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type MappingTarget

+
+
+
+
    +
  • +
    +
    @Target(PARAMETER)
    +@Retention(CLASS)
    +public @interface MappingTarget
    +
    Declares a parameter of a mapping method to be the target of the mapping. +

    + Not more than one parameter can be declared as MappingTarget. +

    + NOTE: The parameter passed as a mapping target must not be null. + +

    + Example 1: Update exist bean without return value +

    +
    
    + @Mapper
    + public interface HumanMapper {
    +     void updateHuman(HumanDto humanDto, @MappingTarget Human human);
    + }
    + 
    +
    
    + // generates
    + @Override
    + public void updateHuman(HumanDto humanDto, Human human) {
    +     human.setName( humanDto.getName() );
    +     // ...
    + }
    + 
    +

    + Example 2: Update exist bean and return it +

    +
    
    + @Mapper
    + public interface HumanMapper {
    +     Human updateHuman(HumanDto humanDto, @MappingTarget Human human);
    + }
    + 
    + // generates: +
    
    + @Override
    + public Human updateHuman(HumanDto humanDto, Human human) {
    +     // ...
    +     human.setName( humanDto.getName() );
    +     return human;
    + }
    +
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Mappings.html b/static/documentation/1.6/api/org/mapstruct/Mappings.html new file mode 100644 index 000000000..919dced1b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Mappings.html @@ -0,0 +1,284 @@ + + + + + +Mappings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Mappings

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target({METHOD,ANNOTATION_TYPE})
    +public @interface Mappings
    +
    Configures the mappings of several bean attributes. +

    + TIP: When using Java 8 or later, you can omit the @Mappings + wrapper annotation and directly specify several @Mapping annotations on one method. + +

    These two examples are equal. +

    +
    
    + // before Java 8
    + @Mapper
    + public interface MyMapper {
    +     @Mappings({
    +         @Mapping(target = "firstProperty", source = "first"),
    +         @Mapping(target = "secondProperty", source = "second")
    +     })
    +     HumanDto toHumanDto(Human human);
    + }
    + 
    +
    
    + // Java 8 and later
    + @Mapper
    + public interface MyMapper {
    +     @Mapping(target = "firstProperty", source = "first"),
    +     @Mapping(target = "secondProperty", source = "second")
    +     HumanDto toHumanDto(Human human);
    + }
    + 
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      Mapping[]value +
      The configuration of the bean attributes.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        Mapping[] value
        +
        The configuration of the bean attributes.
        +
        +
        Returns:
        +
        The configuration of the bean attributes.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Named.html b/static/documentation/1.6/api/org/mapstruct/Named.html new file mode 100644 index 000000000..21bb3d62a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Named.html @@ -0,0 +1,320 @@ + + + + + +Named (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Named

+
+
+
+
    +
  • +
    +
    @Target({TYPE,METHOD})
    +@Retention(CLASS)
    +public @interface Named
    +
    Marks mapping methods with the given qualifier name. Can be used to qualify a single method or all methods of a given + type by specifying this annotation on the type level. +

    + Will be used to select the correct mapping methods when mapping a bean property type, element of an iterable type + or the key/value of a map type. +

    + Example (both methods of Titles are capable to convert a string, but the ambiguity is resolved by applying + the qualifiers in @Mapping: + +

    + 
    + @Named("TitleTranslator")
    + public class Titles {
    +
    +   @Named("EnglishToGerman")
    +   public String translateTitleEG(String title) {
    +       // some mapping logic
    +   }
    +
    +   @Named("GermanToEnglish")
    +   public String translateTitleGE(String title) {
    +       // some mapping logic
    +   }
    + }
    +
    + @Mapper( uses = Titles.class )
    + public interface MovieMapper {
    +
    +    @Mapping( target = "title", qualifiedByName = { "TitleTranslator", "EnglishToGerman" } )
    +    GermanRelease toGerman( OriginalRelease movies );
    +
    + }
    + 
    + 
    + + The following implementation of MovieMapper will be generated: + +
    + 
    +
    + public class MovieMapperImpl implements MovieMapper {
    +     private final Titles titles = new Titles();
    +
    +     @Override
    +     public GermanRelease toGerman(OriginalRelease movies) {
    +         if ( movies == null ) {
    +             return null;
    +         }
    +
    +         GermanRelease germanRelease = new GermanRelease();
    +
    +         germanRelease.setTitle( titles.translateTitleEG( movies.getTitle() ) );
    +
    +         return germanRelease;
    +     }
    + }
    + 
    + 
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    See Also:
    +
    Mapping.qualifiedByName(), +IterableMapping.qualifiedByName(), +MapMapping.keyQualifiedByName(), +MapMapping.valueQualifiedByName()
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      Stringvalue +
      A name qualifying the annotated element
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        String value
        +
        A name qualifying the annotated element
        +
        +
        Returns:
        +
        the name.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/NullValueCheckStrategy.html b/static/documentation/1.6/api/org/mapstruct/NullValueCheckStrategy.html new file mode 100644 index 000000000..7854bc744 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/NullValueCheckStrategy.html @@ -0,0 +1,411 @@ + + + + + +NullValueCheckStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum NullValueCheckStrategy

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<NullValueCheckStrategy>
    +
    +
    +
    public enum NullValueCheckStrategy
    +extends Enum<NullValueCheckStrategy>
    +
    Strategy for dealing with null source values. + + Note: This strategy is not in effect when a specific source presence check method is defined + in the service provider interface (SPI). +

    + Note: some types of mappings (collections, maps), in which MapStruct is instructed to use a getter or adder + as target accessor see CollectionMappingStrategy, MapStruct will always generate a source property null + check, regardless the value of the NullValueCheckStrategy to avoid addition of null to the target + collection or map.

    +
    +
    Author:
    +
    Sean Huang
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        ON_IMPLICIT_CONVERSION

        +
        public static final NullValueCheckStrategy ON_IMPLICIT_CONVERSION
        +
        This option includes a null check. When: +
        +
        +
          +
        1. a source value is directly assigned to a target
        2. +
        3. a source value assigned to a target by calling a type conversion on the target first
        4. +
        +
        + NOTE: mapping methods (generated or hand written) are excluded from this null check. They are intended to + handle a null source value as 'valid' input.
        +
      • +
      + + + + +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static NullValueCheckStrategy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (NullValueCheckStrategy c : NullValueCheckStrategy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static NullValueCheckStrategy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/NullValueMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/NullValueMappingStrategy.html new file mode 100644 index 000000000..273f7702c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/NullValueMappingStrategy.html @@ -0,0 +1,404 @@ + + + + + +NullValueMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum NullValueMappingStrategy

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        RETURN_NULL

        +
        public static final NullValueMappingStrategy RETURN_NULL
        +
        If null is passed to a mapping method, null will be returned. That's the default behavior if no + alternative strategy is configured globally, for given mapper or method.
        +
      • +
      + + + +
        +
      • +

        RETURN_DEFAULT

        +
        public static final NullValueMappingStrategy RETURN_DEFAULT
        +
        If null is passed to a mapping method, a default value will be returned. The value depends on the kind of + the annotated method: +
          +
        • For bean mapping methods the target type will be instantiated and returned. Any properties of the target type + which are mapped via Mapping.expression() or Mapping.constant() will be populated based on the + given expression or constant. Note that expressions must be prepared to deal with null values in this + case.
        • +
        • For iterable mapping methods an empty collection will be returned.
        • +
        • For map mapping methods an empty map will be returned.
        • +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static NullValueMappingStrategy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (NullValueMappingStrategy c : NullValueMappingStrategy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static NullValueMappingStrategy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/NullValuePropertyMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/NullValuePropertyMappingStrategy.html new file mode 100644 index 000000000..97d2852f3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/NullValuePropertyMappingStrategy.html @@ -0,0 +1,440 @@ + + + + + +NullValuePropertyMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum NullValuePropertyMappingStrategy

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        SET_TO_NULL

        +
        public static final NullValuePropertyMappingStrategy SET_TO_NULL
        +
        If a source bean property equals null the target bean property will be set explicitly to null.
        +
      • +
      + + + +
        +
      • +

        SET_TO_DEFAULT

        +
        public static final NullValuePropertyMappingStrategy SET_TO_DEFAULT
        +
        If a source bean property equals null the target bean property will be set to its default value. +

        + This means: +

          +
        1. For List MapStruct generates an ArrayList
        2. +
        3. For Map a HashMap
        4. +
        5. For arrays an empty array
        6. +
        7. For String ""
        8. +
        9. for primitive / boxed types a representation of 0 or false
        10. +
        11. For all other objects an new instance is created, requiring an empty constructor.
        12. +
        +

        + Make sure that a Mapping.defaultValue() is defined if no empty constructor is available on + the default value.

        +
      • +
      + + + +
        +
      • +

        IGNORE

        +
        public static final NullValuePropertyMappingStrategy IGNORE
        +
        If a source bean property equals null the target bean property will be ignored and retain its + existing value.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static NullValuePropertyMappingStrategy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (NullValuePropertyMappingStrategy c : NullValuePropertyMappingStrategy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static NullValuePropertyMappingStrategy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ObjectFactory.html b/static/documentation/1.6/api/org/mapstruct/ObjectFactory.html new file mode 100644 index 000000000..175b56c9f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ObjectFactory.html @@ -0,0 +1,235 @@ + + + + + +ObjectFactory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type ObjectFactory

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target(METHOD)
    +public @interface ObjectFactory
    +
    This annotation marks a method as a factory method to create beans. +

    + By default beans are created during the mapping process with the default constructor. If a factory method with a + return type that is assignable to the required object type is present, then the factory method is used instead. +

    + Factory methods can be defined without parameters, with an @TargetType parameter, a + @Context parameter, or with the mapping source parameter. If any of those parameters are defined, + then the mapping method that is supposed to use the factory method needs to be declared with an assignable result + type, assignable context parameter, and/or assignable source types. +

    + Note: the usage of this annotation is optional when used in the Mapper.uses() + if no source parameters are part of the signature, i.e. it is declared without parameters or only with + @TargetType and/or @Context. It is however mandatory when used inside + an @Context annotated class. +

    + Example: Using a factory method for entities to check whether the entity already exists in the + EntityManager and then returns the managed instance: + +

    + 
    + @ApplicationScoped // CDI component model
    + public class ReferenceMapper {
    +
    +     @PersistenceContext
    +     private EntityManager em;
    +
    +     @ObjectFactory
    +     public <T extends AbstractEntity> T resolve(AbstractDto sourceDto, @TargetType Class<T> type) {
    +         T entity = em.find( type, sourceDto.getId() );
    +         return entity != null ? entity : type.newInstance();
    +     }
    + }
    + 
    + 
    +

    + If there are two factory methods, both serving the same type, one with no parameters and one taking sources as input, + then the one with the source parameters is favored. If there are multiple such factories, an ambiguity error is + shown.

    +
    +
    Since:
    +
    1.2
    +
    Author:
    +
    Remo Meier
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/Qualifier.html b/static/documentation/1.6/api/org/mapstruct/Qualifier.html new file mode 100644 index 000000000..3cb4b5d57 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/Qualifier.html @@ -0,0 +1,266 @@ + + + + + +Qualifier (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type Qualifier

+
+
+
+
    +
  • +
    +
    @Target(ANNOTATION_TYPE)
    +@Retention(CLASS)
    +public @interface Qualifier
    +
    Declares an annotation type to be a qualifier. Qualifier annotations allow unambiguously identify a suitable mapping + method in case several methods qualify to map a bean property, iterable element etc. +

    + Can be used in: +

    +

    Example:

    +
    
    + // create qualifiers
    + @Qualifier
    + @Target(ElementType.TYPE)
    + @Retention(RetentionPolicy.CLASS)
    + public @interface TitleTranslator {}
    +
    + @Qualifier
    + @Target(ElementType.METHOD)
    + @Retention(RetentionPolicy.CLASS)
    + public @interface EnglishToGerman {}
    +
    + @Qualifier
    + @Target(ElementType.METHOD)
    + @Retention(RetentionPolicy.CLASS)
    + public @interface GermanToEnglish {}
    + 
    +
    
    + // we can create class with map methods
    + @TitleTranslator
    + public class Titles {
    +     @EnglishToGerman
    +     public String translateTitleEnglishToGerman(String title) {
    +         // some mapping logic
    +     }
    +     @GermanToEnglish
    +     public String translateTitleGermanToEnglish(String title) {
    +         // some mapping logic
    +     }
    + }
    + 
    +
    
    + // usage
    + @Mapper( uses = Titles.class )
    + public interface MovieMapper {
    +      @Mapping( target = "title", qualifiedBy = { TitleTranslator.class, EnglishToGerman.class } )
    +      GermanRelease toGerman( OriginalRelease movies );
    + }
    + 
    +
    
    + // generates
    + public class MovieMapperImpl implements MovieMapper {
    +      private final Titles titles = new Titles();
    +      @Override
    +      public GermanRelease toGerman(OriginalRelease movies) {
    +          if ( movies == null ) {
    +              return null;
    +          }
    +          GermanRelease germanRelease = new GermanRelease();
    +          germanRelease.setTitle( titles.translateTitleEnglishToGerman( movies.getTitle() ) );
    +          return germanRelease;
    +     }
    + }
    + 
    + + NOTE: Qualifiers should have RetentionPolicy.CLASS.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    See Also:
    +
    Named
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ReportingPolicy.html b/static/documentation/1.6/api/org/mapstruct/ReportingPolicy.html new file mode 100644 index 000000000..c7321ea13 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ReportingPolicy.html @@ -0,0 +1,413 @@ + + + + + +ReportingPolicy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum ReportingPolicy

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ReportingPolicy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ReportingPolicy c : ReportingPolicy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ReportingPolicy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/SubclassExhaustiveStrategy.html b/static/documentation/1.6/api/org/mapstruct/SubclassExhaustiveStrategy.html new file mode 100644 index 000000000..08b7bc9b7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/SubclassExhaustiveStrategy.html @@ -0,0 +1,402 @@ + + + + + +SubclassExhaustiveStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Enum SubclassExhaustiveStrategy

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        COMPILE_ERROR

        +
        public static final SubclassExhaustiveStrategy COMPILE_ERROR
        +
        If there is no valid constructor or known method to create the return value of a with `@SubclassMapping` + annotated mapping then a compilation error will be thrown.
        +
      • +
      + + + +
        +
      • +

        RUNTIME_EXCEPTION

        +
        public static final SubclassExhaustiveStrategy RUNTIME_EXCEPTION
        +
        If there is no valid constructor or known method to create the return value of a with `@SubclassMapping` + annotated mapping then an IllegalArgumentException will be thrown if a call is made with a type for which + there is no SubclassMapping available.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static SubclassExhaustiveStrategy[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (SubclassExhaustiveStrategy c : SubclassExhaustiveStrategy.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static SubclassExhaustiveStrategy valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/SubclassMapping.html b/static/documentation/1.6/api/org/mapstruct/SubclassMapping.html new file mode 100644 index 000000000..bef1254b4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/SubclassMapping.html @@ -0,0 +1,427 @@ + + + + + +SubclassMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type SubclassMapping

+
+
+
+
    +
  • +
    +
    @Repeatable(SubclassMappings.class)
    +@Retention(CLASS)
    +@Target({METHOD,ANNOTATION_TYPE})
    +@Experimental
    +public @interface SubclassMapping
    +
    Configures the mapping to handle hierarchy of the source type. +

    + The subclass to be mapped is to be specified via source(). + The subclass to map to is to be specified via target(). +

    +

    + This annotation can be combined with @Mapping annotations. +

    + +
    
    + @Mapper
    + public interface MyMapper {
    +    @SubclassMapping (target = TargetSubclass.class, source = SourceSubclass.class)
    +    TargetParent mapParent(SourceParent parent);
    +
    +    TargetSubclass mapSubclass(SourceSubclass subInstant);
    + }
    + 
    + Below follow examples of the implementation for the mapParent method. + Example 1: For parents that cannot be created. (e.g. abstract classes or interfaces) +
    
    + // generates
    + @Override
    + public TargetParent mapParent(SourceParent parent) {
    +     if (parent instanceof SourceSubclass) {
    +         return mapSubclass( (SourceSubclass) parent );
    +     }
    +     else {
    +         throw new IllegalArgumentException("Not all subclasses are supported for this mapping. Missing for "
    +                    + parent.getClass());
    +     }
    + }
    + 
    + Example 2: For parents that can be created. (e.g. normal classes or interfaces with + @Mappper( uses = ObjectFactory.class ) ) +
    
    + // generates
    + @Override
    + public TargetParent mapParent(SourceParent parent) {
    +     TargetParent targetParent1;
    +     if (parent instanceof SourceSubclass) {
    +         targetParent1 = mapSubclass( (SourceSubclass) parent );
    +     }
    +     else {
    +         targetParent1 = new TargetParent();
    +         // ...
    +     }
    + }
    + 
    +
    +
    Since:
    +
    1.5
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      Class<?>source 
      Class<?>target 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      Class<? extends Annotation>[]qualifiedBy +
      A qualifier can be specified to aid the selection process of a suitable mapper.
      +
      String[]qualifiedByName +
      String-based form of qualifiers; When looking for a suitable mapping method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        source

        +
        Class<?> source
        +
        +
        Returns:
        +
        the source subclass to check for before using the default mapping as fallback.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        target

        +
        Class<?> target
        +
        +
        Returns:
        +
        the target subclass to map the source to.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +
        +
      • +

        qualifiedBy

        +
        Class<? extends Annotation>[] qualifiedBy
        +
        A qualifier can be specified to aid the selection process of a suitable mapper. This is useful in case multiple + mapping methods (hand written or generated) qualify and thus would result in an 'Ambiguous mapping methods found' + error. A qualifier is a custom annotation and can be placed on a hand written mapper class or a method.
        +
        +
        Returns:
        +
        the qualifiers
        +
        See Also:
        +
        Qualifier
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        qualifiedByName

        +
        String[] qualifiedByName
        +
        String-based form of qualifiers; When looking for a suitable mapping method for a given property, MapStruct will + only consider those methods carrying directly or indirectly (i.e. on the class-level) a Named annotation + for each of the specified qualifier names. +

        + Note that annotation-based qualifiers are generally preferable as they allow more easily to find references and + are safe for refactorings, but name-based qualifiers can be a less verbose alternative when requiring a large + number of qualifiers as no custom annotation types are needed.

        +
        +
        Returns:
        +
        One or more qualifier name(s)
        +
        See Also:
        +
        qualifiedBy(), +Named
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/SubclassMappings.html b/static/documentation/1.6/api/org/mapstruct/SubclassMappings.html new file mode 100644 index 000000000..5d6ef37c7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/SubclassMappings.html @@ -0,0 +1,285 @@ + + + + + +SubclassMappings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type SubclassMappings

+
+
+
+
    +
  • +
    +
    @Target({METHOD,ANNOTATION_TYPE})
    +@Retention(CLASS)
    +@Experimental
    +public @interface SubclassMappings
    +
    Configures the SubclassMappings of several subclasses. +

    + TIP: When using java 8 or later, you can omit the @SubclassMappings + Wrapper annotation and directly specify several @SubclassMapping annotations + on one method. +

    +

    These two examples are equal. +

    +
    
    + // before java 8
    + @Mapper
    + public interface MyMapper {
    +     @SubclassMappings({
    +         @SubclassMapping(source = FirstSub.class, target = FirstTargetSub.class),
    +         @SubclassMapping(source = SecondSub.class, target = SecondTargetSub.class)
    +     })
    +     ParentTarget toParentTarget(Parent parent);
    + }
    + 
    +
    
    + // java 8 and later
    + @Mapper
    + public interface MyMapper {
    +     @SubclassMapping(source = First.class, target = FirstTargetSub.class),
    +     @SubclassMapping(source = SecondSub.class, target = SecondTargetSub.class)
    +     ParentTarget toParentTarget(Parent parent);
    + }
    + 
    +
    +
    Since:
    +
    1.5
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      SubclassMapping[]value 
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        SubclassMapping[] value
        +
        +
        Returns:
        +
        the subclassMappings to apply.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/TargetPropertyName.html b/static/documentation/1.6/api/org/mapstruct/TargetPropertyName.html new file mode 100644 index 000000000..220110592 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/TargetPropertyName.html @@ -0,0 +1,202 @@ + + + + + +TargetPropertyName (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type TargetPropertyName

+
+
+
+
    +
  • +
    +
    @Target(PARAMETER)
    +@Retention(CLASS)
    +public @interface TargetPropertyName
    +
    This annotation marks a presence check method parameter as a property name parameter. +

    + This parameter enables conditional filtering based on target property name at run-time. + Parameter must be of type String and can be present only in Condition method. +

    +
    +
    Since:
    +
    1.6
    +
    Author:
    +
    Nikola Ivačič
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/TargetType.html b/static/documentation/1.6/api/org/mapstruct/TargetType.html new file mode 100644 index 000000000..e16c84004 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/TargetType.html @@ -0,0 +1,228 @@ + + + + + +TargetType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type TargetType

+
+
+
+
    +
  • +
    +
    @Target(PARAMETER)
    +@Retention(CLASS)
    +public @interface TargetType
    +
    Declares a parameter of a custom mapping method to be populated with the target type of the mapping. +

    + Not more than one parameter can be declared as TargetType and that parameter needs to be of type + Class (may be parameterized), or a super-type of it. + +

    + Example: +

    +
    
    + public class EntityFactory {
    +    public <T extends BaseEntity> T createEntity(@TargetType Class<T> entityClass) {
    +         return // ... custom factory logic
    +    }
    + }
    + @Mapper(uses = EntityFactory.class)
    + public interface CarMapper {
    +     CarEntity carDtoToCar(CarDto dto);
    + }
    + 
    +
    
    + // generates
    + public class CarMapperImpl implements CarMapper {
    +     private final EntityFactory entityFactory = new EntityFactory();
    +     @Override
    +     public CarEntity carDtoToCar(CarDto dto) {
    +         if ( dto == null ) {
    +             return null;
    +         }
    +         CarEntity carEntity = entityFactory.createEntity( CarEntity.class );
    +         return carEntity;
    +     }
    + }
    + 
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ValueMapping.html b/static/documentation/1.6/api/org/mapstruct/ValueMapping.html new file mode 100644 index 000000000..ba9d6c676 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ValueMapping.html @@ -0,0 +1,373 @@ + + + + + +ValueMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type ValueMapping

+
+
+
+
    +
  • +
    +
    @Repeatable(ValueMappings.class)
    +@Retention(CLASS)
    +@Target({METHOD,ANNOTATION_TYPE})
    +public @interface ValueMapping
    +
    Configures the mapping of source constant value to target constant value. +

    + Supported mappings are +

      +
    1. Enumeration to Enumeration
    2. +
    + Example 1: + +
    
    + public enum OrderType { RETAIL, B2B, C2C, EXTRA, STANDARD, NORMAL }
    +
    + public enum ExternalOrderType { RETAIL, B2B, SPECIAL, DEFAULT }
    +
    + @ValueMapping(target = "SPECIAL", source = "EXTRA"),
    + @ValueMapping(target = "DEFAULT", source = "STANDARD"),
    + @ValueMapping(target = "DEFAULT", source = "NORMAL")
    + ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
    + 
    + Mapping result:
    + +---------------------+----------------------------+
    + | OrderType           | ExternalOrderType          |
    + +---------------------+----------------------------+
    + | null                | null                       |
    + | OrderType.EXTRA     | ExternalOrderType.SPECIAL  |
    + | OrderType.STANDARD  | ExternalOrderType.DEFAULT  |
    + | OrderType.NORMAL    | ExternalOrderType.DEFAULT  |
    + | OrderType.RETAIL    | ExternalOrderType.RETAIL   |
    + | OrderType.B2B       | ExternalOrderType.B2B      |
    + +---------------------+----------------------------+
    + 
    + + Example 2: + +
    
    + @ValueMapping( source = MappingConstants.NULL, target = "DEFAULT" ),
    + @ValueMapping( source = "STANDARD", target = MappingConstants.NULL ),
    + @ValueMapping( source = MappingConstants.ANY_REMAINING, target = "SPECIAL" )
    + ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
    + 
    + Mapping result:
    + +---------------------+----------------------------+
    + | OrderType           | ExternalOrderType          |
    + +---------------------+----------------------------+
    + | null                | ExternalOrderType.DEFAULT  |
    + | OrderType.STANDARD  | null                       |
    + | OrderType.RETAIL    | ExternalOrderType.RETAIL   |
    + | OrderType.B2B       | ExternalOrderType.B2B      |
    + | OrderType.NORMAL    | ExternalOrderType.SPECIAL  |
    + | OrderType.EXTRA     | ExternalOrderType.SPECIAL  |
    + +---------------------+----------------------------+
    + 
    + + Example 3: + + MapStruct will WARN on incomplete mappings. However, if for some reason no match is found, an + IllegalStateException will be thrown. This compile-time error can be avoided by + using MappingConstants.THROW_EXCEPTION for target(). It will result an + IllegalArgumentException at runtime. +
    
    + @ValueMapping( source = "STANDARD", target = "DEFAULT" ),
    + @ValueMapping( source = "C2C", target = MappingConstants.THROW_EXCEPTION )
    + ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
    + 
    + Mapping result:
    + IllegalArgumentException with the error message:
    + Unexpected enum constant: C2C
    + 
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      Stringsource +
      The source value constant to use for this mapping.
      +
      Stringtarget +
      The target value constant to use for this mapping.
      +
      +
    • +
    +
    +
  • +
+
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ValueMappings.html b/static/documentation/1.6/api/org/mapstruct/ValueMappings.html new file mode 100644 index 000000000..a5fbf965e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ValueMappings.html @@ -0,0 +1,276 @@ + + + + + +ValueMappings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package org.mapstruct
+

Annotation Type ValueMappings

+
+
+
+
    +
  • +
    +
    @Target({METHOD,ANNOTATION_TYPE})
    +@Retention(CLASS)
    +public @interface ValueMappings
    +
    Constructs a set of value (constant) mappings. +

    + TIP: When using Java 8 or later, you can omit the @ValueMappings + wrapper annotation and directly specify several @ValueMapping annotations on one method. + +

    These two examples are equal

    +
    
    + // before Java 8
    + @Mapper
    + public interface GenderMapper {
    +     @ValueMappings({
    +         @ValueMapping(target = "M", source = "MALE"),
    +         @ValueMapping(target = "F", source = "FEMALE")
    +     })
    +     GenderDto mapToDto(Gender gender);
    + }
    + 
    +
    
    + //Java 8 and later
    + @Mapper
    + public interface GenderMapper {
    +     @ValueMapping(target = "M", source = "MALE"),
    +     @ValueMapping(target = "F", source = "FEMALE")
    +     GenderDto mapToDto(Gender gender);
    + }
    + 
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      ValueMapping[]value 
      +
    • +
    +
    +
  • +
+
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/MappingProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/MappingProcessor.html new file mode 100644 index 000000000..32ec07c71 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/MappingProcessor.html @@ -0,0 +1,674 @@ + + + + + +MappingProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingProcessor

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Processor
    +
    +
    +
    @SupportedAnnotationTypes("org.mapstruct.Mapper")
    +@SupportedOptions({"mapstruct.suppressGeneratorTimestamp","mapstruct.suppressGeneratorVersionInfoComment","mapstruct.unmappedTargetPolicy","mapstruct.unmappedSourcePolicy","mapstruct.defaultComponentModel","mapstruct.defaultInjectionStrategy","mapstruct.disableBuilders","mapstruct.verbose","mapstruct.nullValueIterableMappingStrategy","mapstruct.nullValueMapMappingStrategy"})
    +public class MappingProcessor
    +extends AbstractProcessor
    +
    A JSR 269 annotation Processor which generates the implementations for mapper interfaces (interfaces + annotated with @Mapper). +

    + Implementation notes: +

    + The generation happens by incrementally building up a model representation of each mapper to be generated (a + Mapper object), which is then written into the resulting Java source file. +

    + The model instantiation and processing happens in several phases/passes by applying a sequence of + ModelElementProcessors. The processors to apply are retrieved using the Java service loader mechanism and are + processed in order of their priority. The general processing flow is + this: +

      +
    • retrieve mapping methods
    • +
    • create the Mapper model
    • +
    • perform enrichments and modifications (e.g. add annotations for dependency injection)
    • +
    • if no error occurred, write out the model into Java source files
    • +
    +

    + For reading annotation attributes, gems as generated with help of Gem Tools. These gems allow comfortable access to annotations and + their attributes without depending on their class objects. +

    + The creation of Java source files is done using the FreeMarker template engine. + Each node of the mapper model has a corresponding FreeMarker template file which provides the Java representation of + that element and can include sub-elements via a custom FreeMarker directive. That way writing out a root node of the + model (Mapper) will recursively include all contained sub-elements (such as its methods, their property + mappings etc.).

    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/class-use/MappingProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/class-use/MappingProcessor.html new file mode 100644 index 000000000..a258fde1a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/class-use/MappingProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.MappingProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.MappingProcessor

+
+
No usage of org.mapstruct.ap.MappingProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractJavaTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractJavaTimeToStringConversion.html new file mode 100644 index 000000000..d66118ca2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractJavaTimeToStringConversion.html @@ -0,0 +1,478 @@ + + + + + +AbstractJavaTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractJavaTimeToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractJavaTimeToStringConversion

        +
        public AbstractJavaTimeToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        defaultFormatterSuffix

        +
        protected abstract String defaultFormatterSuffix()
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getRequiredHelperFields

        +
        public List<FieldReference> getRequiredHelperFields​(ConversionContext conversionContext)
        +
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        any fields when required.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractJodaTypeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractJodaTypeToStringConversion.html new file mode 100644 index 000000000..375e2fc53 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractJodaTypeToStringConversion.html @@ -0,0 +1,477 @@ + + + + + +AbstractJodaTypeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractJodaTypeToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractJodaTypeToStringConversion

        +
        public AbstractJodaTypeToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      + + + +
        +
      • +

        formatStyle

        +
        protected abstract String formatStyle()
        +
        +
        Returns:
        +
        the default format style to be applied if non is given explicitly.
        +
        +
      • +
      + + + +
        +
      • +

        parseMethod

        +
        protected abstract String parseMethod()
        +
        +
        Returns:
        +
        the name of the parse method for converting a String into a specific Joda-Time type.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractNumberToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractNumberToStringConversion.html new file mode 100644 index 000000000..2897b30b8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/AbstractNumberToStringConversion.html @@ -0,0 +1,420 @@ + + + + + +AbstractNumberToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractNumberToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractNumberToStringConversion

        +
        public AbstractNumberToStringConversion​(boolean sourceTypeNumberSubclass)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToConversionImportTypes

        +
        public Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        requiresDecimalFormat

        +
        protected boolean requiresDecimalFormat​(ConversionContext conversionContext)
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToBigIntegerConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToBigIntegerConversion.html new file mode 100644 index 000000000..d469fc9f0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToBigIntegerConversion.html @@ -0,0 +1,407 @@ + + + + + +BigDecimalToBigIntegerConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BigDecimalToBigIntegerConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BigDecimalToBigIntegerConversion

        +
        public BigDecimalToBigIntegerConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToPrimitiveConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToPrimitiveConversion.html new file mode 100644 index 000000000..f064d2c35 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToPrimitiveConversion.html @@ -0,0 +1,407 @@ + + + + + +BigDecimalToPrimitiveConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BigDecimalToPrimitiveConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BigDecimalToPrimitiveConversion

        +
        public BigDecimalToPrimitiveConversion​(Class<?> targetType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToStringConversion.html new file mode 100644 index 000000000..24dc7d000 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToStringConversion.html @@ -0,0 +1,444 @@ + + + + + +BigDecimalToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BigDecimalToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BigDecimalToStringConversion

        +
        public BigDecimalToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class AbstractNumberToStringConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToWrapperConversion.html new file mode 100644 index 000000000..6e7af5e78 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigDecimalToWrapperConversion.html @@ -0,0 +1,407 @@ + + + + + +BigDecimalToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BigDecimalToWrapperConversion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ConversionProvider
    +
    +
    +
    public class BigDecimalToWrapperConversion
    +extends SimpleConversion
    +
    Conversion between BigDecimal and wrappers of native number types.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BigDecimalToWrapperConversion

        +
        public BigDecimalToWrapperConversion​(Class<?> targetType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToPrimitiveConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToPrimitiveConversion.html new file mode 100644 index 000000000..27850558b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToPrimitiveConversion.html @@ -0,0 +1,407 @@ + + + + + +BigIntegerToPrimitiveConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BigIntegerToPrimitiveConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BigIntegerToPrimitiveConversion

        +
        public BigIntegerToPrimitiveConversion​(Class<?> targetType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToStringConversion.html new file mode 100644 index 000000000..cd8934447 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToStringConversion.html @@ -0,0 +1,444 @@ + + + + + +BigIntegerToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BigIntegerToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BigIntegerToStringConversion

        +
        public BigIntegerToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class AbstractNumberToStringConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToWrapperConversion.html new file mode 100644 index 000000000..f513b0656 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/BigIntegerToWrapperConversion.html @@ -0,0 +1,407 @@ + + + + + +BigIntegerToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BigIntegerToWrapperConversion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ConversionProvider
    +
    +
    +
    public class BigIntegerToWrapperConversion
    +extends SimpleConversion
    +
    Conversion between BigInteger and wrappers of native number types.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BigIntegerToWrapperConversion

        +
        public BigIntegerToWrapperConversion​(Class<?> targetType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CharToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CharToStringConversion.html new file mode 100644 index 000000000..cb99feb85 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CharToStringConversion.html @@ -0,0 +1,379 @@ + + + + + +CharToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CharToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CharToStringConversion

        +
        public CharToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CharWrapperToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CharWrapperToStringConversion.html new file mode 100644 index 000000000..32ed707a9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CharWrapperToStringConversion.html @@ -0,0 +1,379 @@ + + + + + +CharWrapperToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CharWrapperToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CharWrapperToStringConversion

        +
        public CharWrapperToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ConversionProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ConversionProvider.html new file mode 100644 index 000000000..0066c3a72 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ConversionProvider.html @@ -0,0 +1,344 @@ + + + + + +ConversionProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ConversionProvider

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        to

        +
        Assignment to​(ConversionContext conversionContext)
        +
        Creates the conversion from source to target of a property mapping.
        +
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from source to target.
        +
        +
      • +
      + + + +
        +
      • +

        from

        +
        Assignment from​(ConversionContext conversionContext)
        +
        Creates the conversion from target to source of a property mapping.
        +
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from target to source.
        +
        +
      • +
      + + + +
        +
      • +

        getRequiredHelperMethods

        +
        List<HelperMethod> getRequiredHelperMethods​(ConversionContext conversionContext)
        +
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        any helper methods when required.
        +
        +
      • +
      + + + +
        +
      • +

        getRequiredHelperFields

        +
        default List<FieldReference> getRequiredHelperFields​(ConversionContext conversionContext)
        +
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        any fields when required.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ConversionUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ConversionUtils.html new file mode 100644 index 000000000..ddbd6409c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ConversionUtils.html @@ -0,0 +1,741 @@ + + + + + +ConversionUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ConversionUtils

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.conversion.ConversionUtils
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class ConversionUtils
    +extends Object
    +
    Methods mainly used in SimpleConversion classes, e. g. + to get the correct String representation of various types that could be used in generated sources.
    +
    +
    Author:
    +
    Christian Bandowski
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        bigDecimal

        +
        public static String bigDecimal​(ConversionContext conversionContext)
        +
        Name for BigDecimal.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        bigInteger

        +
        public static String bigInteger​(ConversionContext conversionContext)
        +
        Name for BigInteger.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        locale

        +
        public static String locale​(ConversionContext conversionContext)
        +
        Name for Locale.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        currency

        +
        public static String currency​(ConversionContext conversionContext)
        +
        Name for Currency.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        sqlDate

        +
        public static String sqlDate​(ConversionContext conversionContext)
        +
        Name for Date.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        time

        +
        public static String time​(ConversionContext conversionContext)
        +
        Name for Time.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        timestamp

        +
        public static String timestamp​(ConversionContext conversionContext)
        +
        Name for Timestamp.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        decimalFormat

        +
        public static String decimalFormat​(ConversionContext conversionContext)
        +
        Name for DecimalFormat.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        simpleDateFormat

        +
        public static String simpleDateFormat​(ConversionContext conversionContext)
        + +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        date

        +
        public static String date​(ConversionContext conversionContext)
        +
        Name for Date.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        zoneOffset

        +
        public static String zoneOffset​(ConversionContext conversionContext)
        +
        Name for ZoneOffset.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        zoneId

        +
        public static String zoneId​(ConversionContext conversionContext)
        +
        Name for ZoneId.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        localDate

        +
        public static String localDate​(ConversionContext conversionContext)
        +
        Name for LocalDate.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        localDateTime

        +
        public static String localDateTime​(ConversionContext conversionContext)
        +
        Name for LocalDateTime.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        zonedDateTime

        +
        public static String zonedDateTime​(ConversionContext conversionContext)
        +
        Name for ZonedDateTime.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        dateTimeFormatter

        +
        public static String dateTimeFormatter​(ConversionContext conversionContext)
        + +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        dateTimeFormat

        +
        public static String dateTimeFormat​(ConversionContext conversionContext)
        +
        Name for org.joda.time.format.DateTimeFormat.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        stringBuilder

        +
        public static String stringBuilder​(ConversionContext conversionContext)
        +
        Name for StringBuilder.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        uuid

        +
        public static String uuid​(ConversionContext conversionContext)
        +
        Name for UUID.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        url

        +
        public static String url​(ConversionContext conversionContext)
        +
        Name for URL.
        +
        +
        Parameters:
        +
        conversionContext - Conversion context
        +
        Returns:
        +
        Name or fully-qualified name.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/Conversions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/Conversions.html new file mode 100644 index 000000000..97fe30a24 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/Conversions.html @@ -0,0 +1,317 @@ + + + + + +Conversions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Conversions

+
+
+ +
+
    +
  • +
    +
    public class Conversions
    +extends Object
    +
    Holds built-in ConversionProviders such as from int to String.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Conversions

        +
        public Conversions​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CreateDecimalFormat.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CreateDecimalFormat.html new file mode 100644 index 000000000..44a7e882c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CreateDecimalFormat.html @@ -0,0 +1,439 @@ + + + + + +CreateDecimalFormat (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CreateDecimalFormat

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class CreateDecimalFormat
    +extends HelperMethod
    +
    HelperMethod that creates a DecimalFormat + + DecimalFormat df = new DecimalFormat( numberFormat ) + with setParseBigDecimal set to true.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateDecimalFormat

        +
        public CreateDecimalFormat​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: HelperMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class HelperMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: HelperMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class HelperMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getOptions

        +
        public MappingMethodOptions getOptions()
        +
        +
        Returns:
        +
        the mapping options for this method
        +
        +
      • +
      + + + +
        +
      • +

        describe

        +
        public String describe()
        +
        +
        Returns:
        +
        the short name for error messages when verbose, full name when not
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CurrencyToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CurrencyToStringConversion.html new file mode 100644 index 000000000..b3760c444 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/CurrencyToStringConversion.html @@ -0,0 +1,406 @@ + + + + + +CurrencyToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CurrencyToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CurrencyToStringConversion

        +
        public CurrencyToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlDateConversion.html new file mode 100644 index 000000000..3b339bfb7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlDateConversion.html @@ -0,0 +1,407 @@ + + + + + +DateToSqlDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DateToSqlDateConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DateToSqlDateConversion

        +
        public DateToSqlDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlTimeConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlTimeConversion.html new file mode 100644 index 000000000..f753ccd53 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlTimeConversion.html @@ -0,0 +1,407 @@ + + + + + +DateToSqlTimeConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DateToSqlTimeConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DateToSqlTimeConversion

        +
        public DateToSqlTimeConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlTimestampConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlTimestampConversion.html new file mode 100644 index 000000000..18a80c8ec --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToSqlTimestampConversion.html @@ -0,0 +1,407 @@ + + + + + +DateToSqlTimestampConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DateToSqlTimestampConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DateToSqlTimestampConversion

        +
        public DateToSqlTimestampConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToStringConversion.html new file mode 100644 index 000000000..a03b959c6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/DateToStringConversion.html @@ -0,0 +1,389 @@ + + + + + +DateToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DateToStringConversion

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.conversion.DateToStringConversion
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DateToStringConversion

        +
        public DateToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        to

        +
        public Assignment to​(ConversionContext conversionContext)
        +
        Description copied from interface: ConversionProvider
        +
        Creates the conversion from source to target of a property mapping.
        +
        +
        Specified by:
        +
        to in interface ConversionProvider
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from source to target.
        +
        +
      • +
      + + + +
        +
      • +

        from

        +
        public Assignment from​(ConversionContext conversionContext)
        +
        Description copied from interface: ConversionProvider
        +
        Creates the conversion from target to source of a property mapping.
        +
        +
        Specified by:
        +
        from in interface ConversionProvider
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from target to source.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/EnumStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/EnumStringConversion.html new file mode 100644 index 000000000..4f27a3ba3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/EnumStringConversion.html @@ -0,0 +1,407 @@ + + + + + +EnumStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EnumStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EnumStringConversion

        +
        public EnumStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/EnumToIntegerConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/EnumToIntegerConversion.html new file mode 100644 index 000000000..aea833df6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/EnumToIntegerConversion.html @@ -0,0 +1,407 @@ + + + + + +EnumToIntegerConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EnumToIntegerConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EnumToIntegerConversion

        +
        public EnumToIntegerConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/GetDateTimeFormatterField.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/GetDateTimeFormatterField.html new file mode 100644 index 000000000..084ac6eee --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/GetDateTimeFormatterField.html @@ -0,0 +1,357 @@ + + + + + +GetDateTimeFormatterField (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GetDateTimeFormatterField

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GetDateTimeFormatterField

        +
        public GetDateTimeFormatterField​(TypeFactory typeFactory,
        +                                 String dateFormat)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaInstantToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaInstantToDateConversion.html new file mode 100644 index 000000000..61aa6fcc1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaInstantToDateConversion.html @@ -0,0 +1,404 @@ + + + + + +JavaInstantToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaInstantToDateConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JavaInstantToDateConversion

        +
        public JavaInstantToDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToDateConversion.html new file mode 100644 index 000000000..3e679ce54 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToDateConversion.html @@ -0,0 +1,432 @@ + + + + + +JavaLocalDateTimeToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaLocalDateTimeToDateConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JavaLocalDateTimeToDateConversion

        +
        public JavaLocalDateTimeToDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToLocalDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToLocalDateConversion.html new file mode 100644 index 000000000..96a15f83d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToLocalDateConversion.html @@ -0,0 +1,432 @@ + + + + + +JavaLocalDateTimeToLocalDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaLocalDateTimeToLocalDateConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JavaLocalDateTimeToLocalDateConversion

        +
        public JavaLocalDateTimeToLocalDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToStringConversion.html new file mode 100644 index 000000000..0cfcf548c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateTimeToStringConversion.html @@ -0,0 +1,343 @@ + + + + + +JavaLocalDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaLocalDateTimeToStringConversion

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToDateConversion.html new file mode 100644 index 000000000..a7e19e1e3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToDateConversion.html @@ -0,0 +1,432 @@ + + + + + +JavaLocalDateToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaLocalDateToDateConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JavaLocalDateToDateConversion

        +
        public JavaLocalDateToDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToSqlDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToSqlDateConversion.html new file mode 100644 index 000000000..4f9e9a2ad --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToSqlDateConversion.html @@ -0,0 +1,432 @@ + + + + + +JavaLocalDateToSqlDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaLocalDateToSqlDateConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JavaLocalDateToSqlDateConversion

        +
        public JavaLocalDateToSqlDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToStringConversion.html new file mode 100644 index 000000000..374f55ff4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalDateToStringConversion.html @@ -0,0 +1,343 @@ + + + + + +JavaLocalDateToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaLocalDateToStringConversion

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalTimeToStringConversion.html new file mode 100644 index 000000000..8f0deef3c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaLocalTimeToStringConversion.html @@ -0,0 +1,343 @@ + + + + + +JavaLocalTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaLocalTimeToStringConversion

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaZonedDateTimeToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaZonedDateTimeToDateConversion.html new file mode 100644 index 000000000..e309a20d7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaZonedDateTimeToDateConversion.html @@ -0,0 +1,432 @@ + + + + + +JavaZonedDateTimeToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaZonedDateTimeToDateConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JavaZonedDateTimeToDateConversion

        +
        public JavaZonedDateTimeToDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaZonedDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaZonedDateTimeToStringConversion.html new file mode 100644 index 000000000..4f1dfd26a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JavaZonedDateTimeToStringConversion.html @@ -0,0 +1,343 @@ + + + + + +JavaZonedDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaZonedDateTimeToStringConversion

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaDateTimeToCalendarConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaDateTimeToCalendarConversion.html new file mode 100644 index 000000000..b4bf3eb79 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaDateTimeToCalendarConversion.html @@ -0,0 +1,435 @@ + + + + + +JodaDateTimeToCalendarConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaDateTimeToCalendarConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaDateTimeToCalendarConversion

        +
        public JodaDateTimeToCalendarConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaDateTimeToStringConversion.html new file mode 100644 index 000000000..f287dd8a5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaDateTimeToStringConversion.html @@ -0,0 +1,377 @@ + + + + + +JodaDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaDateTimeToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaDateTimeToStringConversion

        +
        public JodaDateTimeToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalDateTimeToStringConversion.html new file mode 100644 index 000000000..ec4dc6095 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalDateTimeToStringConversion.html @@ -0,0 +1,377 @@ + + + + + +JodaLocalDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaLocalDateTimeToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaLocalDateTimeToStringConversion

        +
        public JodaLocalDateTimeToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalDateToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalDateToStringConversion.html new file mode 100644 index 000000000..70ebbd3ab --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalDateToStringConversion.html @@ -0,0 +1,377 @@ + + + + + +JodaLocalDateToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaLocalDateToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaLocalDateToStringConversion

        +
        public JodaLocalDateToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalTimeToStringConversion.html new file mode 100644 index 000000000..addaccf89 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaLocalTimeToStringConversion.html @@ -0,0 +1,377 @@ + + + + + +JodaLocalTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaLocalTimeToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaLocalTimeToStringConversion

        +
        public JodaLocalTimeToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaTimeToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaTimeToDateConversion.html new file mode 100644 index 000000000..58515d579 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/JodaTimeToDateConversion.html @@ -0,0 +1,412 @@ + + + + + +JodaTimeToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaTimeToDateConversion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ConversionProvider
    +
    +
    +
    public class JodaTimeToDateConversion
    +extends SimpleConversion
    +
    Conversion between the following Joda types and Date: +
      +
    • org.joda.time.DateTime
    • +
    • org.joda.time.LocalDateTime
    • +
    • org.joda.time.LocalDate
    • +
    +
    +
    Author:
    +
    Timo Eckhardt
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaTimeToDateConversion

        +
        public JodaTimeToDateConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/LocaleToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/LocaleToStringConversion.html new file mode 100644 index 000000000..0ece16e71 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/LocaleToStringConversion.html @@ -0,0 +1,407 @@ + + + + + +LocaleToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LocaleToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocaleToStringConversion

        +
        public LocaleToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToPrimitiveConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToPrimitiveConversion.html new file mode 100644 index 000000000..23bd30b16 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToPrimitiveConversion.html @@ -0,0 +1,379 @@ + + + + + +PrimitiveToPrimitiveConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveToPrimitiveConversion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ConversionProvider
    +
    +
    +
    public class PrimitiveToPrimitiveConversion
    +extends SimpleConversion
    +
    Conversion between primitive types such as byte or long.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PrimitiveToPrimitiveConversion

        +
        public PrimitiveToPrimitiveConversion​(Class<?> sourceType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToStringConversion.html new file mode 100644 index 000000000..339cfceaa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToStringConversion.html @@ -0,0 +1,448 @@ + + + + + +PrimitiveToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PrimitiveToStringConversion

        +
        public PrimitiveToStringConversion​(Class<?> sourceType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        public Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class AbstractNumberToStringConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class AbstractNumberToStringConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToWrapperConversion.html new file mode 100644 index 000000000..4123a076f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/PrimitiveToWrapperConversion.html @@ -0,0 +1,382 @@ + + + + + +PrimitiveToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveToWrapperConversion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ConversionProvider
    +
    +
    +
    public class PrimitiveToWrapperConversion
    +extends SimpleConversion
    +
    Conversion between primitive types such as byte and wrapper types + such as Integer.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PrimitiveToWrapperConversion

        +
        public PrimitiveToWrapperConversion​(Class<?> sourceType,
        +                                    Class<?> targetType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ReverseConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ReverseConversion.html new file mode 100644 index 000000000..25770425b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/ReverseConversion.html @@ -0,0 +1,381 @@ + + + + + +ReverseConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReverseConversion

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.conversion.ReverseConversion
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        to

        +
        public Assignment to​(ConversionContext conversionContext)
        +
        Description copied from interface: ConversionProvider
        +
        Creates the conversion from source to target of a property mapping.
        +
        +
        Specified by:
        +
        to in interface ConversionProvider
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from source to target.
        +
        +
      • +
      + + + +
        +
      • +

        from

        +
        public Assignment from​(ConversionContext conversionContext)
        +
        Description copied from interface: ConversionProvider
        +
        Creates the conversion from target to source of a property mapping.
        +
        +
        Specified by:
        +
        from in interface ConversionProvider
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from target to source.
        +
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/SimpleConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/SimpleConversion.html new file mode 100644 index 000000000..a8d7d2966 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/SimpleConversion.html @@ -0,0 +1,523 @@ + + + + + +SimpleConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SimpleConversion

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.conversion.SimpleConversion
    • +
    +
  • +
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SimpleConversion

        +
        public SimpleConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        to

        +
        public Assignment to​(ConversionContext conversionContext)
        +
        Description copied from interface: ConversionProvider
        +
        Creates the conversion from source to target of a property mapping.
        +
        +
        Specified by:
        +
        to in interface ConversionProvider
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from source to target.
        +
        +
      • +
      + + + +
        +
      • +

        from

        +
        public Assignment from​(ConversionContext conversionContext)
        +
        Description copied from interface: ConversionProvider
        +
        Creates the conversion from target to source of a property mapping.
        +
        +
        Specified by:
        +
        from in interface ConversionProvider
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        A conversion from target to source.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getToExpression

        +
        protected abstract String getToExpression​(ConversionContext conversionContext)
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected abstract String getFromExpression​(ConversionContext conversionContext)
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionExceptionTypes

        +
        protected List<Type> getToConversionExceptionTypes​(ConversionContext conversionContext)
        +
      • +
      + + + +
        +
      • +

        getFromConversionExceptionTypes

        +
        protected List<Type> getFromConversionExceptionTypes​(ConversionContext conversionContext)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/StaticParseToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/StaticParseToStringConversion.html new file mode 100644 index 000000000..7136513ca --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/StaticParseToStringConversion.html @@ -0,0 +1,405 @@ + + + + + +StaticParseToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StaticParseToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StaticParseToStringConversion

        +
        public StaticParseToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/StringBuilderToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/StringBuilderToStringConversion.html new file mode 100644 index 000000000..bb6c28018 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/StringBuilderToStringConversion.html @@ -0,0 +1,375 @@ + + + + + +StringBuilderToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StringBuilderToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StringBuilderToStringConversion

        +
        public StringBuilderToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/URLToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/URLToStringConversion.html new file mode 100644 index 000000000..6adceee08 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/URLToStringConversion.html @@ -0,0 +1,426 @@ + + + + + +URLToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class URLToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        URLToStringConversion

        +
        public URLToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/UUIDToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/UUIDToStringConversion.html new file mode 100644 index 000000000..aa507d88f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/UUIDToStringConversion.html @@ -0,0 +1,407 @@ + + + + + +UUIDToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class UUIDToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UUIDToStringConversion

        +
        public UUIDToStringConversion()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        protected String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        protected String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/WrapperToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/WrapperToStringConversion.html new file mode 100644 index 000000000..7dab6df2c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/WrapperToStringConversion.html @@ -0,0 +1,447 @@ + + + + + +WrapperToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class WrapperToStringConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WrapperToStringConversion

        +
        public WrapperToStringConversion​(Class<?> sourceType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getToConversionImportTypes

        +
        public Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getToConversionImportTypes in class AbstractNumberToStringConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "to" conversion
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      + + + +
        +
      • +

        getFromConversionImportTypes

        +
        protected Set<Type> getFromConversionImportTypes​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns a set with imported types of the "from" conversion. Defaults to an empty set; can be overridden in + sub-classes to return the required types.
        +
        +
        Overrides:
        +
        getFromConversionImportTypes in class AbstractNumberToStringConversion
        +
        Parameters:
        +
        conversionContext - the conversion context
        +
        Returns:
        +
        conversion types required in the "from" conversion
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/WrapperToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/WrapperToWrapperConversion.html new file mode 100644 index 000000000..535632755 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/WrapperToWrapperConversion.html @@ -0,0 +1,381 @@ + + + + + +WrapperToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class WrapperToWrapperConversion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WrapperToWrapperConversion

        +
        public WrapperToWrapperConversion​(Class<?> sourceType,
        +                                  Class<?> targetType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getToExpression

        +
        public String getToExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a + reference to the source value.
        +
        +
        Specified by:
        +
        getToExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - A context providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from source to target
        +
        +
      • +
      + + + +
        +
      • +

        getFromExpression

        +
        public String getFromExpression​(ConversionContext conversionContext)
        +
        Description copied from class: SimpleConversion
        +
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a + reference to the target value.
        +
        +
        Specified by:
        +
        getFromExpression in class SimpleConversion
        +
        Parameters:
        +
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        +
        Returns:
        +
        The conversion string from target to source
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractJavaTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractJavaTimeToStringConversion.html new file mode 100644 index 000000000..15f060a1a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractJavaTimeToStringConversion.html @@ -0,0 +1,220 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.AbstractJavaTimeToStringConversion

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractJodaTypeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractJodaTypeToStringConversion.html new file mode 100644 index 000000000..00a2c2823 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractJodaTypeToStringConversion.html @@ -0,0 +1,220 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractNumberToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractNumberToStringConversion.html new file mode 100644 index 000000000..aca49e663 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/AbstractNumberToStringConversion.html @@ -0,0 +1,221 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.AbstractNumberToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.AbstractNumberToStringConversion

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToBigIntegerConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToBigIntegerConversion.html new file mode 100644 index 000000000..77ebdcefc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToBigIntegerConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.BigDecimalToBigIntegerConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.BigDecimalToBigIntegerConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.BigDecimalToBigIntegerConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToPrimitiveConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToPrimitiveConversion.html new file mode 100644 index 000000000..cfc0e8dca --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToPrimitiveConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.BigDecimalToPrimitiveConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.BigDecimalToPrimitiveConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.BigDecimalToPrimitiveConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToStringConversion.html new file mode 100644 index 000000000..7101d75b6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.BigDecimalToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToWrapperConversion.html new file mode 100644 index 000000000..297df1dca --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigDecimalToWrapperConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.BigDecimalToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.BigDecimalToWrapperConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.BigDecimalToWrapperConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToPrimitiveConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToPrimitiveConversion.html new file mode 100644 index 000000000..70210692a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToPrimitiveConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.BigIntegerToPrimitiveConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.BigIntegerToPrimitiveConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.BigIntegerToPrimitiveConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToStringConversion.html new file mode 100644 index 000000000..d8d68287c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.BigIntegerToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToWrapperConversion.html new file mode 100644 index 000000000..b5132f905 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/BigIntegerToWrapperConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.BigIntegerToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.BigIntegerToWrapperConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.BigIntegerToWrapperConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CharToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CharToStringConversion.html new file mode 100644 index 000000000..f8dc62aa0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CharToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.CharToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.CharToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.CharToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CharWrapperToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CharWrapperToStringConversion.html new file mode 100644 index 000000000..905e0b396 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CharWrapperToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.CharWrapperToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.CharWrapperToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.CharWrapperToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ConversionProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ConversionProvider.html new file mode 100644 index 000000000..de8873190 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ConversionProvider.html @@ -0,0 +1,569 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.conversion.ConversionProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.conversion.ConversionProvider

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ConversionUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ConversionUtils.html new file mode 100644 index 000000000..4bfa961e2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ConversionUtils.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.ConversionUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.ConversionUtils

+
+
No usage of org.mapstruct.ap.internal.conversion.ConversionUtils
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/Conversions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/Conversions.html new file mode 100644 index 000000000..3ac0b968f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/Conversions.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.Conversions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.Conversions

+
+
No usage of org.mapstruct.ap.internal.conversion.Conversions
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CreateDecimalFormat.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CreateDecimalFormat.html new file mode 100644 index 000000000..a25bef568 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CreateDecimalFormat.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.CreateDecimalFormat (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.CreateDecimalFormat

+
+
No usage of org.mapstruct.ap.internal.conversion.CreateDecimalFormat
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CurrencyToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CurrencyToStringConversion.html new file mode 100644 index 000000000..c04f1f7e8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/CurrencyToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.CurrencyToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.CurrencyToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.CurrencyToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlDateConversion.html new file mode 100644 index 000000000..3cbf73709 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.DateToSqlDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.DateToSqlDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.DateToSqlDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlTimeConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlTimeConversion.html new file mode 100644 index 000000000..0623d86fd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlTimeConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.DateToSqlTimeConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.DateToSqlTimeConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.DateToSqlTimeConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlTimestampConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlTimestampConversion.html new file mode 100644 index 000000000..7226a40ac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToSqlTimestampConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.DateToSqlTimestampConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.DateToSqlTimestampConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.DateToSqlTimestampConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToStringConversion.html new file mode 100644 index 000000000..58278b1c2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/DateToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.DateToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.DateToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.DateToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/EnumStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/EnumStringConversion.html new file mode 100644 index 000000000..6b7e02073 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/EnumStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.EnumStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.EnumStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.EnumStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/EnumToIntegerConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/EnumToIntegerConversion.html new file mode 100644 index 000000000..1a3932542 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/EnumToIntegerConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.EnumToIntegerConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.EnumToIntegerConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.EnumToIntegerConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/GetDateTimeFormatterField.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/GetDateTimeFormatterField.html new file mode 100644 index 000000000..283cd1ce4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/GetDateTimeFormatterField.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.GetDateTimeFormatterField (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.GetDateTimeFormatterField

+
+
No usage of org.mapstruct.ap.internal.conversion.GetDateTimeFormatterField
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaInstantToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaInstantToDateConversion.html new file mode 100644 index 000000000..f3377a0bb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaInstantToDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaInstantToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaInstantToDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaInstantToDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToDateConversion.html new file mode 100644 index 000000000..45f9022d6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToLocalDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToLocalDateConversion.html new file mode 100644 index 000000000..7a1222505 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToLocalDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToLocalDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToStringConversion.html new file mode 100644 index 000000000..c181a7084 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateTimeToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaLocalDateTimeToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToDateConversion.html new file mode 100644 index 000000000..eb96ed1f9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaLocalDateToDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToSqlDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToSqlDateConversion.html new file mode 100644 index 000000000..5ddaff915 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToSqlDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaLocalDateToSqlDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToStringConversion.html new file mode 100644 index 000000000..8c78d6700 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalDateToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaLocalDateToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaLocalDateToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaLocalDateToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalTimeToStringConversion.html new file mode 100644 index 000000000..73736ac8f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaLocalTimeToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaLocalTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaLocalTimeToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaLocalTimeToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaZonedDateTimeToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaZonedDateTimeToDateConversion.html new file mode 100644 index 000000000..ac7f1eb63 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaZonedDateTimeToDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaZonedDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaZonedDateTimeToStringConversion.html new file mode 100644 index 000000000..f3ec5045b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JavaZonedDateTimeToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JavaZonedDateTimeToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaDateTimeToCalendarConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaDateTimeToCalendarConversion.html new file mode 100644 index 000000000..aeba80cc7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaDateTimeToCalendarConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JodaDateTimeToCalendarConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaDateTimeToStringConversion.html new file mode 100644 index 000000000..1d0719a3f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaDateTimeToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JodaDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JodaDateTimeToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JodaDateTimeToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalDateTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalDateTimeToStringConversion.html new file mode 100644 index 000000000..b6d6e3d89 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalDateTimeToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JodaLocalDateTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JodaLocalDateTimeToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JodaLocalDateTimeToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalDateToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalDateToStringConversion.html new file mode 100644 index 000000000..9a642750e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalDateToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JodaLocalDateToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JodaLocalDateToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JodaLocalDateToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalTimeToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalTimeToStringConversion.html new file mode 100644 index 000000000..ecf32e13b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaLocalTimeToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JodaLocalTimeToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JodaLocalTimeToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JodaLocalTimeToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaTimeToDateConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaTimeToDateConversion.html new file mode 100644 index 000000000..9c33daa47 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/JodaTimeToDateConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.JodaTimeToDateConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.JodaTimeToDateConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.JodaTimeToDateConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/LocaleToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/LocaleToStringConversion.html new file mode 100644 index 000000000..7998ced93 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/LocaleToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.LocaleToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.LocaleToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.LocaleToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToPrimitiveConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToPrimitiveConversion.html new file mode 100644 index 000000000..7af6bc50c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToPrimitiveConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.PrimitiveToPrimitiveConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.PrimitiveToPrimitiveConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.PrimitiveToPrimitiveConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToStringConversion.html new file mode 100644 index 000000000..e044424d6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.PrimitiveToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToWrapperConversion.html new file mode 100644 index 000000000..030d8327c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/PrimitiveToWrapperConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.PrimitiveToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.PrimitiveToWrapperConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.PrimitiveToWrapperConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ReverseConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ReverseConversion.html new file mode 100644 index 000000000..f5c1b98b1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/ReverseConversion.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.ReverseConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.ReverseConversion

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/SimpleConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/SimpleConversion.html new file mode 100644 index 000000000..04a247dfc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/SimpleConversion.html @@ -0,0 +1,516 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.SimpleConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.SimpleConversion

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/StaticParseToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/StaticParseToStringConversion.html new file mode 100644 index 000000000..a0b4eff58 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/StaticParseToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.StaticParseToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.StaticParseToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.StaticParseToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/StringBuilderToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/StringBuilderToStringConversion.html new file mode 100644 index 000000000..98ef14f16 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/StringBuilderToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.StringBuilderToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.StringBuilderToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.StringBuilderToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/URLToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/URLToStringConversion.html new file mode 100644 index 000000000..8a6dec486 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/URLToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.URLToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.URLToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.URLToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/UUIDToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/UUIDToStringConversion.html new file mode 100644 index 000000000..ef957cfe9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/UUIDToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.UUIDToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.UUIDToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.UUIDToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/WrapperToStringConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/WrapperToStringConversion.html new file mode 100644 index 000000000..3be62b406 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/WrapperToStringConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.WrapperToStringConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.WrapperToStringConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.WrapperToStringConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/WrapperToWrapperConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/WrapperToWrapperConversion.html new file mode 100644 index 000000000..b6167296a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/class-use/WrapperToWrapperConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.conversion.WrapperToWrapperConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.conversion.WrapperToWrapperConversion

+
+
No usage of org.mapstruct.ap.internal.conversion.WrapperToWrapperConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-summary.html new file mode 100644 index 000000000..16e791dd8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-summary.html @@ -0,0 +1,521 @@ + + + + + +org.mapstruct.ap.internal.conversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.conversion

+
+
+
+ + +

+ Provides built-in conversions between primitive and wrapper types, strings, dates etc. Conversions are effectively + short String snippets such as (int) or .toString() which are added inline to the generated mapping + code. +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-tree.html new file mode 100644 index 000000000..a492c399a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-tree.html @@ -0,0 +1,241 @@ + + + + + +org.mapstruct.ap.internal.conversion Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.conversion

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-use.html new file mode 100644 index 000000000..99f7cf487 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/conversion/package-use.html @@ -0,0 +1,231 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.conversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.conversion

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AbstractMappingMethodBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AbstractMappingMethodBuilder.html new file mode 100644 index 000000000..7618de71d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AbstractMappingMethodBuilder.html @@ -0,0 +1,466 @@ + + + + + +AbstractMappingMethodBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractMappingMethodBuilder<B extends AbstractMappingMethodBuilder<B,​M>,​M extends MappingMethod>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder<B,​M>
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AdditionalAnnotationsBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AdditionalAnnotationsBuilder.html new file mode 100644 index 000000000..ca147785e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AdditionalAnnotationsBuilder.html @@ -0,0 +1,437 @@ + + + + + +AdditionalAnnotationsBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AdditionalAnnotationsBuilder

+
+
+ +
+
    +
  • +
    +
    public class AdditionalAnnotationsBuilder
    +extends RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
    +
    +
    Since:
    +
    1.5
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        singularInstanceOn

        +
        protected org.mapstruct.ap.internal.gem.AnnotateWithGem singularInstanceOn​(Element element)
        +
        +
        Specified by:
        +
        singularInstanceOn in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        +
        Parameters:
        +
        element - the element on which the Gem needs to be found
        +
        Returns:
        +
        the Gem found on the element.
        +
        +
      • +
      + + + +
        +
      • +

        multipleInstanceOn

        +
        protected org.mapstruct.ap.internal.gem.AnnotateWithsGem multipleInstanceOn​(Element element)
        +
        +
        Specified by:
        +
        multipleInstanceOn in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        +
        Parameters:
        +
        element - the element on which the Gems needs to be found
        +
        Returns:
        +
        the Gems found on the element.
        +
        +
      • +
      + + + +
        +
      • +

        addInstance

        +
        protected void addInstance​(org.mapstruct.ap.internal.gem.AnnotateWithGem gem,
        +                           Element source,
        +                           Set<Annotation> mappings)
        +
        +
        Specified by:
        +
        addInstance in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        +
        Parameters:
        +
        gem - the annotation gem to be processed
        +
        source - the source element where the request originated from
        +
        mappings - the collection of completed processing
        +
        +
      • +
      + + + +
        +
      • +

        addInstances

        +
        protected void addInstances​(org.mapstruct.ap.internal.gem.AnnotateWithsGem gem,
        +                            Element source,
        +                            Set<Annotation> mappings)
        +
        +
        Specified by:
        +
        addInstances in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        +
        Parameters:
        +
        gem - the annotation gems to be processed
        +
        source - the source element where the request originated from
        +
        mappings - the collection of completed processing
        +
        +
      • +
      + + + +
        +
      • +

        getProcessedAnnotations

        +
        public Set<Annotation> getProcessedAnnotations​(Element source)
        +
        Description copied from class: RepeatableAnnotations
        +
        Retrieves the processed annotations.
        +
        +
        Overrides:
        +
        getProcessedAnnotations in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        +
        Parameters:
        +
        source - The source element of interest
        +
        Returns:
        +
        The processed annotations for the given element
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotatedConstructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotatedConstructor.html new file mode 100644 index 000000000..d5df321fa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotatedConstructor.html @@ -0,0 +1,430 @@ + + + + + +AnnotatedConstructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotatedConstructor

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Constructor, Writable
    +
    +
    +
    public class AnnotatedConstructor
    +extends ModelElement
    +implements Constructor
    +
    Represents a constructor that is used for constructor injection.
    +
    +
    Author:
    +
    Kevin Grüneberg
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotatedSetter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotatedSetter.html new file mode 100644 index 000000000..f8173c05e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotatedSetter.html @@ -0,0 +1,433 @@ + + + + + +AnnotatedSetter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotatedSetter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class AnnotatedSetter
    +extends GeneratedTypeMethod
    +
    +
    Author:
    +
    Lucas Resch
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
      • +
      + + + +
        +
      • +

        getFieldName

        +
        public String getFieldName()
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Annotation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Annotation.html new file mode 100644 index 000000000..3b29f6871 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Annotation.html @@ -0,0 +1,410 @@ + + + + + +Annotation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Annotation

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class Annotation
    +extends ModelElement
    +
    Represents a Java 5 annotation.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotationMapperReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotationMapperReference.html new file mode 100644 index 000000000..2e682cc97 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/AnnotationMapperReference.html @@ -0,0 +1,461 @@ + + + + + +AnnotationMapperReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotationMapperReference

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class AnnotationMapperReference
    +extends MapperReference
    +
    Mapper reference which is retrieved via Annotation-based dependency injection.
    + The dependency injection may vary between field and constructor injection. Thus, it is possible to define, whether to + include annotations on the field.
    +
    +
    Author:
    +
    Gunnar Morling, Andreas Gudian, Kevin Grüneberg
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationMapperReference

        +
        public AnnotationMapperReference​(Type type,
        +                                 String variableName,
        +                                 List<Annotation> annotations,
        +                                 boolean isUsed,
        +                                 boolean fieldFinal,
        +                                 boolean includeAnnotationsOnField)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class Field
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isFieldFinal

        +
        public boolean isFieldFinal()
        +
      • +
      + + + +
        +
      • +

        isIncludeAnnotationsOnField

        +
        public boolean isIncludeAnnotationsOnField()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BeanMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BeanMappingMethod.Builder.html new file mode 100644 index 000000000..b06dd7165 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BeanMappingMethod.Builder.html @@ -0,0 +1,509 @@ + + + + + +BeanMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BeanMappingMethod.Builder

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BeanMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BeanMappingMethod.html new file mode 100644 index 000000000..099deafbd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BeanMappingMethod.html @@ -0,0 +1,676 @@ + + + + + +BeanMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BeanMappingMethod

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getConstructorConstantMappings

        +
        public List<PropertyMapping> getConstructorConstantMappings()
        +
      • +
      + + + + + + + +
        +
      • +

        getFinalizedResultName

        +
        public String getFinalizedResultName()
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        constructorPropertyMappingsByParameter

        +
        public List<PropertyMapping> constructorPropertyMappingsByParameter​(Parameter parameter)
        +
      • +
      + + + +
        +
      • +

        getReturnTypeToConstruct

        +
        public Type getReturnTypeToConstruct()
        +
      • +
      + + + +
        +
      • +

        hasSubclassMappings

        +
        public boolean hasSubclassMappings()
        +
      • +
      + + + +
        +
      • +

        isAbstractReturnType

        +
        public boolean isAbstractReturnType()
        +
      • +
      + + + +
        +
      • +

        hasConstructorMappings

        +
        public boolean hasConstructorMappings()
        +
      • +
      + + + + + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class NormalTypeMappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getPresenceCheckByParameter

        +
        public PresenceCheck getPresenceCheckByParameter​(Parameter parameter)
        +
      • +
      + + + +
        +
      • +

        getSourceParametersNeedingPresenceCheck

        +
        public List<Parameter> getSourceParametersNeedingPresenceCheck()
        +
      • +
      + + + +
        +
      • +

        getSourceParametersNotNeedingPresenceCheck

        +
        public List<Parameter> getSourceParametersNotNeedingPresenceCheck()
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BuilderFinisherMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BuilderFinisherMethodResolver.html new file mode 100644 index 000000000..0caedfa98 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/BuilderFinisherMethodResolver.html @@ -0,0 +1,278 @@ + + + + + +BuilderFinisherMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BuilderFinisherMethodResolver

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.BuilderFinisherMethodResolver
    • +
    +
  • +
+
+
    +
  • +
    +
    public class BuilderFinisherMethodResolver
    +extends Object
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/CollectionAssignmentBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/CollectionAssignmentBuilder.html new file mode 100644 index 000000000..14faa8a3a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/CollectionAssignmentBuilder.html @@ -0,0 +1,499 @@ + + + + + +CollectionAssignmentBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CollectionAssignmentBuilder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.CollectionAssignmentBuilder
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Constructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Constructor.html new file mode 100644 index 000000000..b9ce2609b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Constructor.html @@ -0,0 +1,278 @@ + + + + + +Constructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Constructor

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        String getName()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        Set<Type> getImportTypes()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ContainerMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ContainerMappingMethod.html new file mode 100644 index 000000000..191a841d7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ContainerMappingMethod.html @@ -0,0 +1,518 @@ + + + + + +ContainerMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ContainerMappingMethod

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSourceParameter

        +
        public Parameter getSourceParameter()
        +
      • +
      + + + +
        +
      • +

        getSourceParameterPresenceCheck

        +
        public PresenceCheck getSourceParameterPresenceCheck()
        +
      • +
      + + + + + + + +
        +
      • +

        getElementAssignment

        +
        public Assignment getElementAssignment()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class NormalTypeMappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getLoopVariableName

        +
        public String getLoopVariableName()
        +
      • +
      + + + +
        +
      • +

        getResultElementType

        +
        public abstract Type getResultElementType()
        +
      • +
      + + + +
        +
      • +

        getIndex1Name

        +
        public String getIndex1Name()
        +
      • +
      + + + +
        +
      • +

        getIndex2Name

        +
        public String getIndex2Name()
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ContainerMappingMethodBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ContainerMappingMethodBuilder.html new file mode 100644 index 000000000..bf1ff2e92 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ContainerMappingMethodBuilder.html @@ -0,0 +1,542 @@ + + + + + +ContainerMappingMethodBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ContainerMappingMethodBuilder<B extends ContainerMappingMethodBuilder<B,​M>,​M extends ContainerMappingMethod>

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Decorator.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Decorator.Builder.html new file mode 100644 index 000000000..223210bb4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Decorator.Builder.html @@ -0,0 +1,433 @@ + + + + + +Decorator.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Decorator.Builder

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Decorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Decorator.html new file mode 100644 index 000000000..0fc3891fc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Decorator.html @@ -0,0 +1,399 @@ + + + + + +Decorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Decorator

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class Decorator
    +extends GeneratedType
    +
    Represents a decorator applied to a generated mapper type.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public SortedSet<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class GeneratedType
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getMapperType

        +
        public Type getMapperType()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DecoratorConstructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DecoratorConstructor.html new file mode 100644 index 000000000..ed65ed42f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DecoratorConstructor.html @@ -0,0 +1,421 @@ + + + + + +DecoratorConstructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DecoratorConstructor

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Constructor, Writable
    +
    +
    +
    public class DecoratorConstructor
    +extends ModelElement
    +implements Constructor
    +
    Represents the constructor of a decorator.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DecoratorConstructor

        +
        public DecoratorConstructor​(String name,
        +                            String delegateName,
        +                            boolean invokeSuperConstructor)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Constructor
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getDelegateName

        +
        public String getDelegateName()
        +
      • +
      + + + +
        +
      • +

        isInvokeSuperConstructor

        +
        public boolean isInvokeSuperConstructor()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DefaultMapperReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DefaultMapperReference.html new file mode 100644 index 000000000..ebc2320d2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DefaultMapperReference.html @@ -0,0 +1,403 @@ + + + + + +DefaultMapperReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultMapperReference

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class DefaultMapperReference
    +extends MapperReference
    +
    Mapper reference which is retrieved via the Mappers#getMapper() method. Used by default if no other component + model is specified via Mapper#uses().
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class Field
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isAnnotatedMapper

        +
        public boolean isAnnotatedMapper()
        +
      • +
      + + + +
        +
      • +

        isSingleton

        +
        public boolean isSingleton()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DelegatingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DelegatingMethod.html new file mode 100644 index 000000000..330e4afcf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/DelegatingMethod.html @@ -0,0 +1,331 @@ + + + + + +DelegatingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DelegatingMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class DelegatingMethod
    +extends MappingMethod
    +
    A method of a decorator which delegates to the corresponding method of the generated mapper implementation.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DelegatingMethod

        +
        public DelegatingMethod​(Method method)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Field.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Field.html new file mode 100644 index 000000000..901b0b362 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Field.html @@ -0,0 +1,573 @@ + + + + + +Field (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Field

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Field

        +
        public Field​(Type type,
        +             String variableName,
        +             boolean used)
        +
      • +
      + + + +
        +
      • +

        Field

        +
        public Field​(Type type,
        +             String variableName)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
        Returns the type of this field.
        +
        +
        Returns:
        +
        the type of this field
        +
        +
      • +
      + + + +
        +
      • +

        getVariableName

        +
        public String getVariableName()
        +
        Returns the variable name of this field.
        +
        +
        Returns:
        +
        the variable name of this reference
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isUsed

        +
        public boolean isUsed()
        +
        indicates whether the field is indeed used
        +
        +
        Returns:
        +
        true when field is used
        +
        +
      • +
      + + + +
        +
      • +

        setUsed

        +
        public void setUsed​(boolean isUsed)
        +
        sets the field as being used
        +
        +
        Parameters:
        +
        isUsed - must be true when being used.
        +
        +
      • +
      + + + +
        +
      • +

        isTypeRequiresImport

        +
        public boolean isTypeRequiresImport()
        +
        field needs to be imported
        +
        +
        Returns:
        +
        true if the type should be included in the import of the generated type
        +
        +
      • +
      + + + +
        +
      • +

        setTypeRequiresImport

        +
        public void setTypeRequiresImport​(boolean typeRequiresImport)
        +
        set field needs to be imported
        +
        +
        Parameters:
        +
        typeRequiresImport - needs to be imported
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ForgedMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ForgedMethod.html new file mode 100644 index 000000000..3ee8a2fb3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ForgedMethod.html @@ -0,0 +1,1202 @@ + + + + + +ForgedMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ForgedMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class ForgedMethod
    +extends Object
    +implements Method
    +
    This method will be generated in absence of a suitable abstract method to implement.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ForgedMethod

        +
        public ForgedMethod​(String name,
        +                    ForgedMethod forgedMethod)
        +
        creates a new ForgedMethod with the same arguments but with a new name
        +
        +
        Parameters:
        +
        name - the new name
        +
        forgedMethod - existing forge method
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        forParameterMapping

        +
        public static ForgedMethod forParameterMapping​(String name,
        +                                               Type sourceType,
        +                                               Type returnType,
        +                                               Method basedOn)
        +
        Creates a new forged method with the given name for mapping a method parameter to a property.
        +
        +
        Parameters:
        +
        name - the (unique name) for this method
        +
        sourceType - the source type
        +
        returnType - the return type.
        +
        basedOn - the method that (originally) triggered this nested method generation.
        +
        Returns:
        +
        a new forge method
        +
        +
      • +
      + + + +
        +
      • +

        forPropertyMapping

        +
        public static ForgedMethod forPropertyMapping​(String name,
        +                                              Type sourceType,
        +                                              Type returnType,
        +                                              List<Parameter> parameters,
        +                                              Method basedOn,
        +                                              ForgedMethodHistory history,
        +                                              MappingReferences mappingReferences,
        +                                              boolean forgedNameBased)
        +
        Creates a new forged method for mapping a bean property to a property
        +
        +
        Parameters:
        +
        name - the (unique name) for this method
        +
        sourceType - the source type
        +
        returnType - the return type.
        +
        parameters - other parameters (including the context + @MappingTarget
        +
        basedOn - the method that (originally) triggered this nested method generation.
        +
        history - a parent forged method if this is a forged method within a forged method
        +
        mappingReferences - the mapping options for this method
        +
        forgedNameBased - forges a name based (matched) mapping method
        +
        Returns:
        +
        a new forge method
        +
        +
      • +
      + + + +
        +
      • +

        forElementMapping

        +
        public static ForgedMethod forElementMapping​(String name,
        +                                             Type sourceType,
        +                                             Type returnType,
        +                                             Method basedOn,
        +                                             ForgedMethodHistory history,
        +                                             boolean forgedNameBased)
        +
        Creates a new forged method for mapping a collection element, map key/value or stream element
        +
        +
        Parameters:
        +
        name - the (unique name) for this method
        +
        sourceType - the source type
        +
        returnType - the return type.
        +
        basedOn - the method that (originally) triggered this nested method generation.
        +
        history - a parent forged method if this is a forged method within a forged method
        +
        forgedNameBased - forges a name based (matched) mapping method
        +
        Returns:
        +
        a new forge method
        +
        +
      • +
      + + + +
        +
      • +

        forSubclassMapping

        +
        public static ForgedMethod forSubclassMapping​(String name,
        +                                              Type sourceType,
        +                                              Type returnType,
        +                                              Method basedOn,
        +                                              MappingReferences mappingReferences,
        +                                              ForgedMethodHistory history,
        +                                              boolean forgedNameBased)
        +
        Creates a new forged method for mapping a SubclassMapping element
        +
        +
        Parameters:
        +
        name - the (unique name) for this method
        +
        sourceType - the source type
        +
        returnType - the return type.
        +
        basedOn - the method that (originally) triggered this nested method generation.
        +
        history - a parent forged method if this is a forged method within a forged method
        +
        forgedNameBased - forges a name based (matched) mapping method
        +
        Returns:
        +
        a new forge method
        +
        +
      • +
      + + + +
        +
      • +

        matches

        +
        public boolean matches​(List<Type> sourceTypes,
        +                       Type targetType)
        +
        Description copied from interface: Method
        +
        Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method. The check also should incorporate wild card and generic type variables
        +
        +
        Specified by:
        +
        matches in interface Method
        +
        Parameters:
        +
        sourceTypes - the sourceTypes to match to the parameter
        +
        targetType - the targetType to match to the returnType
        +
        Returns:
        +
        true when match
        +
        +
      • +
      + + + +
        +
      • +

        getDeclaringMapper

        +
        public Type getDeclaringMapper()
        +
        Description copied from interface: Method
        +
        Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users().
        +
        +
        Specified by:
        +
        getDeclaringMapper in interface Method
        +
        Returns:
        +
        The declaring mapper type
        +
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
        Description copied from interface: Method
        +
        Returns then name of the method.
        +
        +
        Specified by:
        +
        getName in interface Method
        +
        Returns:
        +
        method name
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceParameters

        +
        public List<Parameter> getSourceParameters()
        +
        Description copied from interface: Method
        +
        returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target + type or context parameter.
        +
        +
        Specified by:
        +
        getSourceParameters in interface Method
        +
        Returns:
        +
        list of 'true' source parameters
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameters

        +
        public List<Parameter> getContextParameters()
        +
        Description copied from interface: Method
        +
        returns the list of mapping context parameters, i.e. those parameters that are annotated with + Context.
        +
        +
        Specified by:
        +
        getContextParameters in interface Method
        +
        Returns:
        +
        list of context parameters
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getMappingTargetParameter

        +
        public Parameter getMappingTargetParameter()
        +
        Description copied from interface: Method
        +
        Returns the parameter designated as mapping target (if present) MappingTarget
        +
        +
        Specified by:
        +
        getMappingTargetParameter in interface Method
        +
        Returns:
        +
        mapping target parameter (when present) null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getTargetTypeParameter

        +
        public Parameter getTargetTypeParameter()
        +
        Description copied from interface: Method
        +
        Returns the parameter designated as target type (if present) TargetType
        +
        +
        Specified by:
        +
        getTargetTypeParameter in interface Method
        +
        Returns:
        +
        target type parameter (when present) null otherwise.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Specified by:
        +
        getReturnType in interface Method
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Method
        +
        Returns all exceptions thrown by this method
        +
        +
        Specified by:
        +
        getThrownTypes in interface Method
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isForgedNamedBased

        +
        public boolean isForgedNamedBased()
        +
      • +
      + + + +
        +
      • +

        addThrownTypes

        +
        public void addThrownTypes​(List<Type> thrownTypesToAdd)
        +
      • +
      + + + +
        +
      • +

        getResultType

        +
        public Type getResultType()
        +
        Description copied from interface: Method
        +
        Returns the type of the result. The result is defined as the type of the parameter designated with + MappingTarget, or in absence the return type.
        +
        +
        Specified by:
        +
        getResultType in interface Method
        +
        Returns:
        +
        result type
        +
        +
      • +
      + + + +
        +
      • +

        getParameterNames

        +
        public List<String> getParameterNames()
        +
        +
        Specified by:
        +
        getParameterNames in interface Method
        +
        Returns:
        +
        the names of the parameters of this mapping method
        +
        +
      • +
      + + + +
        +
      • +

        overridesMethod

        +
        public boolean overridesMethod()
        +
        Description copied from interface: Method
        +
        Whether this method overrides an abstract method.
        +
        +
        Specified by:
        +
        overridesMethod in interface Method
        +
        Returns:
        +
        true when an abstract method is overridden.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isLifecycleCallbackMethod

        +
        public boolean isLifecycleCallbackMethod()
        +
        +
        Specified by:
        +
        isLifecycleCallbackMethod in interface Method
        +
        Returns:
        +
        true, if the method represents a mapping lifecycle callback (Before/After mapping method)
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isStatic

        +
        public boolean isStatic()
        +
        Description copied from interface: Method
        +
        Whether this method is static or an instance method
        +
        +
        Specified by:
        +
        isStatic in interface Method
        +
        Returns:
        +
        true when static.
        +
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        public boolean isDefault()
        +
        Description copied from interface: Method
        +
        Whether this method is Java 8 default method
        +
        +
        Specified by:
        +
        isDefault in interface Method
        +
        Returns:
        +
        true when Java 8 default method
        +
        +
      • +
      + + + +
        +
      • +

        getDefiningType

        +
        public Type getDefiningType()
        +
        +
        Specified by:
        +
        getDefiningType in interface Method
        +
        Returns:
        +
        the Type (class or interface) that defines this method.
        +
        +
      • +
      + + + +
        +
      • +

        isUpdateMethod

        +
        public boolean isUpdateMethod()
        +
        +
        Specified by:
        +
        isUpdateMethod in interface Method
        +
        Returns:
        +
        true, if the method is an update method, i.e. it has a parameter annotated with + @MappingTarget.
        +
        +
      • +
      + + + +
        +
      • +

        isObjectFactory

        +
        public boolean isObjectFactory()
        +
        object factory mechanism not supported for forged methods
        +
        +
        Specified by:
        +
        isObjectFactory in interface Method
        +
        Returns:
        +
        false
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getTypeParameters

        +
        public List<Type> getTypeParameters()
        +
        Description copied from interface: Method
        +
        Returns the formal type parameters of this method in declaration order.
        +
        +
        Specified by:
        +
        getTypeParameters in interface Method
        +
        Returns:
        +
        the formal type parameters, or an empty list if there are none
        +
        +
      • +
      + + + +
        +
      • +

        describe

        +
        public String describe()
        +
        +
        Specified by:
        +
        describe in interface Method
        +
        Returns:
        +
        the short name for error messages when verbose, full name when not
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ForgedMethodHistory.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ForgedMethodHistory.html new file mode 100644 index 000000000..5f2711cf0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ForgedMethodHistory.html @@ -0,0 +1,372 @@ + + + + + +ForgedMethodHistory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ForgedMethodHistory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.ForgedMethodHistory
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ForgedMethodHistory
    +extends Object
    +
    Keeps the context where the ForgedMethod is generated, especially handy with nested forged methods
    +
    +
    Author:
    +
    Dmytro Polovinkin
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ForgedMethodHistory

        +
        public ForgedMethodHistory​(ForgedMethodHistory history,
        +                           String sourceElement,
        +                           String targetPropertyName,
        +                           Type sourceType,
        +                           Type targetType,
        +                           boolean usePropertyNames,
        +                           String elementType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTargetType

        +
        public Type getTargetType()
        +
      • +
      + + + +
        +
      • +

        getSourceType

        +
        public Type getSourceType()
        +
      • +
      + + + +
        +
      • +

        createSourcePropertyErrorMessage

        +
        public String createSourcePropertyErrorMessage()
        +
      • +
      + + + +
        +
      • +

        createTargetPropertyName

        +
        public String createTargetPropertyName()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedType.GeneratedTypeBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedType.GeneratedTypeBuilder.html new file mode 100644 index 000000000..6de8b4871 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedType.GeneratedTypeBuilder.html @@ -0,0 +1,471 @@ + + + + + +GeneratedType.GeneratedTypeBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GeneratedType.GeneratedTypeBuilder<T extends GeneratedType.GeneratedTypeBuilder>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder<T>
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedType.html new file mode 100644 index 000000000..d153a15be --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedType.html @@ -0,0 +1,708 @@ + + + + + +GeneratedType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GeneratedType

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    Direct Known Subclasses:
    +
    Decorator, Mapper
    +
    +
    +
    public abstract class GeneratedType
    +extends ModelElement
    +
    A type generated by MapStruct, e.g. representing a mapper type.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPackageName

        +
        public String getPackageName()
        +
      • +
      + + + +
        +
      • +

        hasPackageName

        +
        public boolean hasPackageName()
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getMapperDefinitionType

        +
        public Type getMapperDefinitionType()
        +
      • +
      + + + + + + + +
        +
      • +

        addAnnotation

        +
        public void addAnnotation​(Annotation annotation)
        +
      • +
      + + + + + + + +
        +
      • +

        getFields

        +
        public List<Field> getFields()
        +
      • +
      + + + +
        +
      • +

        setFields

        +
        public void setFields​(List<Field> fields)
        +
      • +
      + + + +
        +
      • +

        isSuppressGeneratorTimestamp

        +
        public boolean isSuppressGeneratorTimestamp()
        +
      • +
      + + + +
        +
      • +

        isSuppressGeneratorVersionComment

        +
        public boolean isSuppressGeneratorVersionComment()
        +
      • +
      + + + +
        +
      • +

        isGeneratedTypeAvailable

        +
        public boolean isGeneratedTypeAvailable()
        +
      • +
      + + + + + + + +
        +
      • +

        getAccessibility

        +
        public Accessibility getAccessibility()
        +
      • +
      + + + +
        +
      • +

        setConstructor

        +
        public void setConstructor​(Constructor constructor)
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public SortedSet<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypeNames

        +
        public SortedSet<String> getImportTypeNames()
        +
      • +
      + + + +
        +
      • +

        getConstructor

        +
        public Constructor getConstructor()
        +
      • +
      + + + +
        +
      • +

        removeConstructor

        +
        public void removeConstructor()
        +
      • +
      + + + +
        +
      • +

        getJavadoc

        +
        public Javadoc getJavadoc()
        +
      • +
      + + + +
        +
      • +

        addIfImportRequired

        +
        protected void addIfImportRequired​(Collection<Type> collection,
        +                                   Type typeToAdd)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedTypeMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedTypeMethod.html new file mode 100644 index 000000000..e1925248a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/GeneratedTypeMethod.html @@ -0,0 +1,324 @@ + + + + + +GeneratedTypeMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GeneratedTypeMethod

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GeneratedTypeMethod

        +
        public GeneratedTypeMethod()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/HelperMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/HelperMethod.html new file mode 100644 index 000000000..46be357f5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/HelperMethod.html @@ -0,0 +1,1013 @@ + + + + + +HelperMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class HelperMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    Direct Known Subclasses:
    +
    CreateDecimalFormat
    +
    +
    +
    public abstract class HelperMethod
    +extends Object
    +implements Method
    +
    A non mapping method to be generated. + + Can be called from for instance conversions or built-in methods as shared helper method. + + One example of such method is the creation of a decimal formatter + CreateDecimalFormat, which is used in 2 conversions + (BigInteger to String and BigDecimal to String)
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HelperMethod

        +
        public HelperMethod()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
        Returns then name of the method.
        +
        +
        Specified by:
        +
        getName in interface Method
        +
        Returns:
        +
        default method name is equal to class name of build in method name
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        matches

        +
        public boolean matches​(List<Type> sourceTypes,
        +                       Type targetType)
        +
        Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method. The check also should incorporate wild card and generic type variables +

        + Default the targetType should be assignable to the returnType and the sourceType to the parameter, + excluding generic type variables. When the implementor sees a need for this, this method can be overridden.

        +
        +
        Specified by:
        +
        matches in interface Method
        +
        Parameters:
        +
        sourceTypes - the sourceTypes to match to the parameter
        +
        targetType - the targetType to match to the returnType
        +
        Returns:
        +
        true when match
        +
        +
      • +
      + + + +
        +
      • +

        getSourceParameters

        +
        public List<Parameter> getSourceParameters()
        +
        Description copied from interface: Method
        +
        returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target + type or context parameter.
        +
        +
        Specified by:
        +
        getSourceParameters in interface Method
        +
        Returns:
        +
        list of 'true' source parameters
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameters

        +
        public List<Parameter> getContextParameters()
        +
        Description copied from interface: Method
        +
        returns the list of mapping context parameters, i.e. those parameters that are annotated with + Context.
        +
        +
        Specified by:
        +
        getContextParameters in interface Method
        +
        Returns:
        +
        list of context parameters
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getDeclaringMapper

        +
        public final Type getDeclaringMapper()
        +
        Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users(). +

        + For built-in methods, the declaring mapper is always null as they will be added as private methods to the + generated mapper.

        +
        +
        Specified by:
        +
        getDeclaringMapper in interface Method
        +
        Returns:
        +
        null
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getMappingTargetParameter

        +
        public Parameter getMappingTargetParameter()
        +
        mapping target parameter mechanism not supported for built-in methods
        +
        +
        Specified by:
        +
        getMappingTargetParameter in interface Method
        +
        Returns:
        +
        null
        +
        +
      • +
      + + + +
        +
      • +

        getTargetTypeParameter

        +
        public Parameter getTargetTypeParameter()
        +
        target type parameter mechanism not supported for built-in methods
        +
        +
        Specified by:
        +
        getTargetTypeParameter in interface Method
        +
        Returns:
        +
        null
        +
        +
      • +
      + + + +
        +
      • +

        isObjectFactory

        +
        public boolean isObjectFactory()
        +
        object factory mechanism not supported for built-in methods
        +
        +
        Specified by:
        +
        isObjectFactory in interface Method
        +
        Returns:
        +
        false
        +
        +
      • +
      + + + +
        +
      • +

        getTypeParameters

        +
        public List<Type> getTypeParameters()
        +
        Description copied from interface: Method
        +
        Returns the formal type parameters of this method in declaration order.
        +
        +
        Specified by:
        +
        getTypeParameters in interface Method
        +
        Returns:
        +
        the formal type parameters, or an empty list if there are none
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameter

        +
        public String getContextParameter​(ConversionContext conversionContext)
        +
        the conversion context is used to format an auxiliary parameter in the method call with context specific + information such as a date format.
        +
        +
        Parameters:
        +
        conversionContext - context
        +
        Returns:
        +
        null if no context parameter should be included "null" if there should be an explicit null call + "'dateFormat'" for instance, to indicate how the build-in method should format the date
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        hashCode based on class
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        Returns:
        +
        hashCode
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        equals based on class
        +
        +
        Overrides:
        +
        equals in class Object
        +
        Parameters:
        +
        obj - other class
        +
        Returns:
        +
        true when classes are the same
        +
        +
      • +
      + + + +
        +
      • +

        doTypeVarsMatch

        +
        public boolean doTypeVarsMatch​(Type parameter,
        +                               Type returnType)
        +
        Analyzes the Java Generic type variables in the parameter do match the type variables in the build in method same + goes for the returnType.
        +
        +
        Parameters:
        +
        parameter - source
        +
        returnType - target
        +
        Returns:
        +
        true, iff the type variables match
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public abstract Parameter getParameter()
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Method
        +
        Returns all exceptions thrown by this method
        +
        +
        Specified by:
        +
        getThrownTypes in interface Method
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + +
        +
      • +

        getResultType

        +
        public Type getResultType()
        +
        Description copied from interface: Method
        +
        Returns the type of the result. The result is defined as the type of the parameter designated with + MappingTarget, or in absence the return type.
        +
        +
        Specified by:
        +
        getResultType in interface Method
        +
        Returns:
        +
        result type
        +
        +
      • +
      + + + +
        +
      • +

        getParameterNames

        +
        public List<String> getParameterNames()
        +
        +
        Specified by:
        +
        getParameterNames in interface Method
        +
        Returns:
        +
        the names of the parameters of this mapping method
        +
        +
      • +
      + + + +
        +
      • +

        overridesMethod

        +
        public boolean overridesMethod()
        +
        Description copied from interface: Method
        +
        Whether this method overrides an abstract method.
        +
        +
        Specified by:
        +
        overridesMethod in interface Method
        +
        Returns:
        +
        true when an abstract method is overridden.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isStatic

        +
        public boolean isStatic()
        +
        Description copied from interface: Method
        +
        Whether this method is static or an instance method
        +
        +
        Specified by:
        +
        isStatic in interface Method
        +
        Returns:
        +
        true when static.
        +
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        public boolean isDefault()
        +
        Description copied from interface: Method
        +
        Whether this method is Java 8 default method
        +
        +
        Specified by:
        +
        isDefault in interface Method
        +
        Returns:
        +
        true when Java 8 default method
        +
        +
      • +
      + + + +
        +
      • +

        getDefiningType

        +
        public Type getDefiningType()
        +
        +
        Specified by:
        +
        getDefiningType in interface Method
        +
        Returns:
        +
        the Type (class or interface) that defines this method.
        +
        +
      • +
      + + + +
        +
      • +

        isLifecycleCallbackMethod

        +
        public boolean isLifecycleCallbackMethod()
        +
        +
        Specified by:
        +
        isLifecycleCallbackMethod in interface Method
        +
        Returns:
        +
        true, if the method represents a mapping lifecycle callback (Before/After mapping method)
        +
        +
      • +
      + + + +
        +
      • +

        isUpdateMethod

        +
        public boolean isUpdateMethod()
        +
        +
        Specified by:
        +
        isUpdateMethod in interface Method
        +
        Returns:
        +
        true, if the method is an update method, i.e. it has a parameter annotated with + @MappingTarget.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableCreation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableCreation.html new file mode 100644 index 000000000..daa5a9485 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableCreation.html @@ -0,0 +1,450 @@ + + + + + +IterableCreation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class IterableCreation

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class IterableCreation
    +extends ModelElement
    +
    Model element that can be used to create a type of Iterable or Map. If an implementation + type is used and the target type has a constructor with int as parameter and the source parameter is of + Collection, Map or Array type then MapStruct will use that constructor + with the size / length from the source parameter.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getResultType

        +
        public Type getResultType()
        +
      • +
      + + + +
        +
      • +

        getSourceParameter

        +
        public Parameter getSourceParameter()
        +
      • +
      + + + + + + + +
        +
      • +

        isCanUseSize

        +
        public boolean isCanUseSize()
        +
      • +
      + + + +
        +
      • +

        isLoadFactorAdjustment

        +
        public boolean isLoadFactorAdjustment()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getEnumSetElementType

        +
        public Type getEnumSetElementType()
        +
      • +
      + + + +
        +
      • +

        isEnumSet

        +
        public boolean isEnumSet()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableMappingMethod.Builder.html new file mode 100644 index 000000000..a59506022 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableMappingMethod.Builder.html @@ -0,0 +1,496 @@ + + + + + +IterableMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class IterableMappingMethod.Builder

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableMappingMethod.html new file mode 100644 index 000000000..8bc6768e9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/IterableMappingMethod.html @@ -0,0 +1,414 @@ + + + + + +IterableMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class IterableMappingMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class IterableMappingMethod
    +extends ContainerMappingMethod
    +
    A MappingMethod implemented by a Mapper class which maps one iterable type to another. The collection + elements are mapped either by a TypeConversion or another mapping method.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class ContainerMappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getSourceElementType

        +
        public Type getSourceElementType()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Javadoc.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Javadoc.Builder.html new file mode 100644 index 000000000..c87fa7035 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Javadoc.Builder.html @@ -0,0 +1,374 @@ + + + + + +Javadoc.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Javadoc.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    Javadoc
    +
    +
    +
    public static class Javadoc.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Javadoc.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Javadoc.html new file mode 100644 index 000000000..a0ec797aa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Javadoc.html @@ -0,0 +1,398 @@ + + + + + +Javadoc (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Javadoc

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class Javadoc
    +extends ModelElement
    +
    Represents the javadoc information that should be generated for a Mapper.
    +
    +
    Author:
    +
    Jose Carlos Campanero Ortiz
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + +
        +
      • +

        getAuthors

        +
        public List<String> getAuthors()
        +
      • +
      + + + +
        +
      • +

        getDeprecated

        +
        public String getDeprecated()
        +
      • +
      + + + +
        +
      • +

        getSince

        +
        public String getSince()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/LifecycleCallbackMethodReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/LifecycleCallbackMethodReference.html new file mode 100644 index 000000000..afe34243b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/LifecycleCallbackMethodReference.html @@ -0,0 +1,500 @@ + + + + + +LifecycleCallbackMethodReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LifecycleCallbackMethodReference

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class LifecycleCallbackMethodReference
    +extends MethodReference
    +
    Represents a reference to a method that is annotated with @BeforeMapping or @AfterMapping.
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDeclaringType

        +
        public Type getDeclaringType()
        +
      • +
      + + + +
        +
      • +

        getMethodReturnType

        +
        public Type getMethodReturnType()
        +
        Returns the return type of the mapping method in which this callback method is called
        +
        +
        Returns:
        +
        return type
        +
        See Also:
        +
        Method.getReturnType()
        +
        +
      • +
      + + + +
        +
      • +

        getMethodResultType

        +
        public Type getMethodResultType()
        +
        Returns the result type of the mapping method in which this callback method is called
        +
        +
        Returns:
        +
        result type
        +
        See Also:
        +
        Method.getResultType()
        +
        +
      • +
      + + + +
        +
      • +

        getTargetVariableName

        +
        public String getTargetVariableName()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class MethodReference
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        hasMappingTargetParameter

        +
        public boolean hasMappingTargetParameter()
        +
      • +
      + + + +
        +
      • +

        hasReturnType

        +
        public boolean hasReturnType()
        +
        +
        Returns:
        +
        true if this callback method has a return type that is not void
        +
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/LifecycleMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/LifecycleMethodResolver.html new file mode 100644 index 000000000..dcd0b2522 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/LifecycleMethodResolver.html @@ -0,0 +1,384 @@ + + + + + +LifecycleMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LifecycleMethodResolver

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.LifecycleMethodResolver
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        beforeMappingMethods

        +
        public static List<LifecycleCallbackMethodReference> beforeMappingMethods​(Method method,
        +                                                                          Type alternativeTarget,
        +                                                                          SelectionParameters selectionParameters,
        +                                                                          MappingBuilderContext ctx,
        +                                                                          Set<String> existingVariableNames)
        +
        +
        Parameters:
        +
        method - the method to obtain the beforeMapping methods for
        +
        alternativeTarget - alternative to Method.getResultType() e.g. when target is abstract
        +
        selectionParameters - method selectionParameters
        +
        ctx - the builder context
        +
        existingVariableNames - the existing variable names in the mapping method
        +
        Returns:
        +
        all applicable @BeforeMapping methods for the given method
        +
        +
      • +
      + + + +
        +
      • +

        afterMappingMethods

        +
        public static List<LifecycleCallbackMethodReference> afterMappingMethods​(Method method,
        +                                                                         Type alternativeTarget,
        +                                                                         SelectionParameters selectionParameters,
        +                                                                         MappingBuilderContext ctx,
        +                                                                         Set<String> existingVariableNames)
        +
        +
        Parameters:
        +
        method - the method to obtain the afterMapping methods for
        +
        alternativeTarget - alternative to Method.getResultType() e.g. when target is abstract
        +
        selectionParameters - method selectionParameters
        +
        ctx - the builder context
        +
        existingVariableNames - list of already used variable names
        +
        Returns:
        +
        all applicable @AfterMapping methods for the given method
        +
        +
      • +
      + + + +
        +
      • +

        beforeMappingMethods

        +
        public static List<LifecycleCallbackMethodReference> beforeMappingMethods​(Method method,
        +                                                                          SelectionParameters selectionParameters,
        +                                                                          MappingBuilderContext ctx,
        +                                                                          Set<String> existingVariableNames)
        +
        +
        Parameters:
        +
        method - the method to obtain the beforeMapping methods for
        +
        selectionParameters - method selectionParameters
        +
        ctx - the builder context
        +
        existingVariableNames - the existing variable names in the mapping method
        +
        Returns:
        +
        all applicable @BeforeMapping methods for the given method
        +
        +
      • +
      + + + +
        +
      • +

        afterMappingMethods

        +
        public static List<LifecycleCallbackMethodReference> afterMappingMethods​(Method method,
        +                                                                         SelectionParameters selectionParameters,
        +                                                                         MappingBuilderContext ctx,
        +                                                                         Set<String> existingVariableNames)
        +
        +
        Parameters:
        +
        method - the method to obtain the afterMapping methods for
        +
        selectionParameters - method selectionParameters
        +
        ctx - the builder context
        +
        existingVariableNames - list of already used variable names
        +
        Returns:
        +
        all applicable @AfterMapping methods for the given method
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapMappingMethod.Builder.html new file mode 100644 index 000000000..e015a04d5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapMappingMethod.Builder.html @@ -0,0 +1,509 @@ + + + + + +MapMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapMappingMethod.Builder

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapMappingMethod.html new file mode 100644 index 000000000..c5fa8fc8c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapMappingMethod.html @@ -0,0 +1,518 @@ + + + + + +MapMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapMappingMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class MapMappingMethod
    +extends NormalTypeMappingMethod
    +
    A MappingMethod implemented by a Mapper class which maps one Map type to another. Keys and + values are mapped either by a TypeConversion or another mapping method if required.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSourceParameter

        +
        public Parameter getSourceParameter()
        +
      • +
      + + + +
        +
      • +

        getSourceParameterPresenceCheck

        +
        public PresenceCheck getSourceParameterPresenceCheck()
        +
      • +
      + + + +
        +
      • +

        getSourceElementTypes

        +
        public List<Type> getSourceElementTypes()
        +
      • +
      + + + +
        +
      • +

        getResultElementTypes

        +
        public List<Type> getResultElementTypes()
        +
      • +
      + + + +
        +
      • +

        getKeyAssignment

        +
        public Assignment getKeyAssignment()
        +
      • +
      + + + +
        +
      • +

        getValueAssignment

        +
        public Assignment getValueAssignment()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class NormalTypeMappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getKeyVariableName

        +
        public String getKeyVariableName()
        +
      • +
      + + + +
        +
      • +

        getValueVariableName

        +
        public String getValueVariableName()
        +
      • +
      + + + +
        +
      • +

        getEntryVariableName

        +
        public String getEntryVariableName()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Mapper.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Mapper.Builder.html new file mode 100644 index 000000000..5a2f4b7d8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Mapper.Builder.html @@ -0,0 +1,478 @@ + + + + + +Mapper.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Mapper.Builder

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Mapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Mapper.html new file mode 100644 index 000000000..26ab0eafb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/Mapper.html @@ -0,0 +1,446 @@ + + + + + +Mapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Mapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class Mapper
    +extends GeneratedType
    +
    Represents a type implementing a mapper interface (annotated with @Mapper). This is the root object of the + mapper model.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDecorator

        +
        public Decorator getDecorator()
        +
      • +
      + + + +
        +
      • +

        removeDecorator

        +
        public void removeDecorator()
        +
      • +
      + + + +
        +
      • +

        hasCustomImplementation

        +
        public boolean hasCustomImplementation()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getFlatName

        +
        public static String getFlatName​(TypeElement element)
        +
        Returns the same as Class.getName() but without the package declaration.
        +
        +
        Parameters:
        +
        element - the element that should be flattened
        +
        Returns:
        +
        the flat name for the type element
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapperReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapperReference.html new file mode 100644 index 000000000..3e3412467 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MapperReference.html @@ -0,0 +1,390 @@ + + + + + +MapperReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapperReference

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    Direct Known Subclasses:
    +
    AnnotationMapperReference, DefaultMapperReference
    +
    +
    +
    public abstract class MapperReference
    +extends Field
    +
    A reference to another mapper class, which itself may be generated or hand-written.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MapperReference

        +
        public MapperReference​(Type type,
        +                       String variableName)
        +
      • +
      + + + +
        +
      • +

        MapperReference

        +
        public MapperReference​(Type type,
        +                       String variableName,
        +                       boolean isUsed)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingBuilderContext.MappingResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingBuilderContext.MappingResolver.html new file mode 100644 index 000000000..1ad5b2a5a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingBuilderContext.MappingResolver.html @@ -0,0 +1,346 @@ + + + + + +MappingBuilderContext.MappingResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MappingBuilderContext.MappingResolver

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    MappingResolverImpl
    +
    +
    +
    Enclosing class:
    +
    MappingBuilderContext
    +
    +
    +
    public static interface MappingBuilderContext.MappingResolver
    +
    Resolves the most suitable way for mapping an element (property, iterable element etc.) from source to target. + There are 2 basic types of mappings: +
      +
    • conversions
    • +
    • methods
    • +
    + conversions are essentially one line mappings, such as String to Integer and Integer to Long methods come in some + varieties: +
      +
    • referenced mapping methods, these are methods implemented (or referenced) by the user. Sometimes indicated + with the 'uses' in the mapping annotations or part of the abstract mapper class
    • +
    • generated mapping methods (by means of MapStruct)
    • +
    • built in methods
    • +
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTargetAssignment

        +
        Assignment getTargetAssignment​(Method mappingMethod,
        +                               ForgedMethodHistory description,
        +                               Type targetType,
        +                               FormattingParameters formattingParameters,
        +                               SelectionCriteria criteria,
        +                               SourceRHS sourceRHS,
        +                               AnnotationMirror positionHint,
        +                               Supplier<Assignment> forger)
        +
        returns a parameter assignment
        +
        +
        Parameters:
        +
        mappingMethod - target mapping method
        +
        description - the description source
        +
        targetType - return type to match
        +
        formattingParameters - used for formatting dates and numbers
        +
        criteria - parameters criteria in the selection process
        +
        sourceRHS - source information
        +
        positionHint - the mirror for reporting problems
        +
        forger - the supplier of the callback method to forge a method
        +
        Returns:
        +
        an assignment to a method parameter, which can either be: +
          +
        1. MethodReference
        2. +
        3. TypeConversion
        4. +
        5. SourceRHS Assignment (empty TargetAssignment)
        6. +
        7. null, no assignment found
        8. +
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getUsedSupportedFields

        +
        Set<Field> getUsedSupportedFields()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingBuilderContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingBuilderContext.html new file mode 100644 index 000000000..ec82b6a1a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingBuilderContext.html @@ -0,0 +1,676 @@ + + + + + +MappingBuilderContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingBuilderContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.MappingBuilderContext
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MappingBuilderContext
    +extends Object
    +
    This class provides the context for the builders. +

    + The context provides: +

      +
    • Input for the building process, such as the source model (mapping methods found) and mapper references.
    • +
    • Required factory, utility, reporting methods for building the mappings.
    • +
    • Means to harbor results produced by the builders, such as forged- and supported mapping methods that should be + generated in a later stage.
    • +
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingMethod.html new file mode 100644 index 000000000..7fa3c34ae --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MappingMethod.html @@ -0,0 +1,747 @@ + + + + + +MappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingMethod

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MethodReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MethodReference.html new file mode 100644 index 000000000..8ceed8e9a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MethodReference.html @@ -0,0 +1,1187 @@ + + + + + +MethodReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MethodReference

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    Direct Known Subclasses:
    +
    LifecycleCallbackMethodReference
    +
    +
    +
    public class MethodReference
    +extends ModelElement
    +implements Assignment
    +
    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 the new operator).
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MethodReference

        +
        protected MethodReference​(Method method,
        +                          MapperReference declaringMapper,
        +                          Parameter providingParameter,
        +                          List<ParameterBinding> parameterBindings)
        +
        Creates a new reference to the given method.
        +
        +
        Parameters:
        +
        method - the target method of the reference
        +
        declaringMapper - the method declaring the mapper; null if the current mapper itself
        +
        providingParameter - The parameter providing the mapper, or null if the method is defined by the + mapper itself or by declaringMapper.
        +
        parameterBindings - the parameter bindings of this method reference
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getProvidingParameter

        +
        public Parameter getProvidingParameter()
        +
      • +
      + + + +
        +
      • +

        getMapperVariableName

        +
        public String getMapperVariableName()
        +
      • +
      + + + +
        +
      • +

        getContextParam

        +
        public String getContextParam()
        +
      • +
      + + + +
        +
      • +

        getAssignment

        +
        public Assignment getAssignment()
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getSourceParameters

        +
        public List<Parameter> getSourceParameters()
        +
      • +
      + + + +
        +
      • +

        setAssignment

        +
        public void setAssignment​(Assignment assignment)
        +
        Description copied from interface: Assignment
        +
        An assignment in itself can wrap another assignment. E.g.: +
          +
        • a MethodReference can wrap a TypeConversion, another MethodReference and ultimately a Simple
        • +
        • a TypeConversion can wrap a MethodReference, and ultimately a Simple
        • +
        +
        +
        Specified by:
        +
        setAssignment in interface Assignment
        +
        Parameters:
        +
        assignment - the assignment to set
        +
        +
      • +
      + + + +
        +
      • +

        getSourceReference

        +
        public String getSourceReference()
        +
        Description copied from interface: Assignment
        +
        the source reference being a source-getter, a constant, nested method call, etc.
        +
        +
        Specified by:
        +
        getSourceReference in interface Assignment
        +
        Returns:
        +
        source reference
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceType

        +
        public Type getSourceType()
        +
        Description copied from interface: Assignment
        +
        the source type used in the matching process
        +
        +
        Specified by:
        +
        getSourceType in interface Assignment
        +
        Returns:
        +
        source type (can be null)
        +
        +
      • +
      + + + +
        +
      • +

        createUniqueVarName

        +
        public String createUniqueVarName​(String desiredName)
        +
        Description copied from interface: Assignment
        +
        Creates an unique safe (local) variable name.
        +
        +
        Specified by:
        +
        createUniqueVarName in interface Assignment
        +
        Parameters:
        +
        desiredName - the desired name
        +
        Returns:
        +
        the desired name, made unique in the scope of the bean mapping.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLocalVarName

        +
        public void setSourceLocalVarName​(String sourceLocalVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceReference at the call site in the assignment in the template with this sourceLocalVarName. + The sourceLocalVarName can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLocalVarName in interface Assignment
        +
        Parameters:
        +
        sourceLocalVarName - source local variable name
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLoopVarName

        +
        public void setSourceLoopVarName​(String sourceLoopVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceLocalVar or sourceReference at the call site in the assignment in the template with this + sourceLoopVarName. + The sourceLocalVar can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLoopVarName in interface Assignment
        +
        Parameters:
        +
        sourceLoopVarName - loop variable
        +
        +
      • +
      + + + +
        +
      • +

        getSourceParameterName

        +
        public String getSourceParameterName()
        +
        Description copied from interface: Assignment
        +
        Returns the source parameter name, to which this assignment applies. Note: the source parameter itself might + be mapped by this assignment, or one of its properties
        +
        +
        Specified by:
        +
        getSourceParameterName in interface Assignment
        +
        Returns:
        +
        the source parameter name
        +
        +
      • +
      + + + +
        +
      • +

        isSourceReferenceParameter

        +
        public boolean isSourceReferenceParameter()
        +
        +
        Specified by:
        +
        isSourceReferenceParameter in interface Assignment
        +
        Returns:
        +
        true when the source reference is the source parameter (and not a property of the source parameter type)
        +
        +
      • +
      + + + +
        +
      • +

        getSingleSourceParameterType

        +
        public Type getSingleSourceParameterType()
        +
        +
        Returns:
        +
        the type of the single source parameter that is not the @TargetType parameter
        +
        +
      • +
      + + + +
        +
      • +

        getDefiningType

        +
        public Type getDefiningType()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Assignment
        +
        returns all types exception types thrown by this assignment.
        +
        +
        Specified by:
        +
        getThrownTypes in interface Assignment
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
      • +
      + + + + + + + +
        +
      • +

        isStatic

        +
        public boolean isStatic()
        +
      • +
      + + + +
        +
      • +

        isConstructor

        +
        public boolean isConstructor()
        +
      • +
      + + + +
        +
      • +

        isMethodChaining

        +
        public boolean isMethodChaining()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        inferTypeWhenEnum

        +
        public Type inferTypeWhenEnum​(Type type)
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        forStaticBuilder

        +
        public static MethodReference forStaticBuilder​(String builderCreationMethod,
        +                                               Type definingType)
        +
      • +
      + + + + + + + + + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MethodReferencePresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MethodReferencePresenceCheck.html new file mode 100644 index 000000000..1613cbd71 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/MethodReferencePresenceCheck.html @@ -0,0 +1,527 @@ + + + + + +MethodReferencePresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MethodReferencePresenceCheck

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        negate

        +
        protected final boolean negate
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MethodReferencePresenceCheck

        +
        public MethodReferencePresenceCheck​(MethodReference methodReference)
        +
      • +
      + + + +
        +
      • +

        MethodReferencePresenceCheck

        +
        public MethodReferencePresenceCheck​(MethodReference methodReference,
        +                                    boolean negate)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.Builder.html new file mode 100644 index 000000000..6d80bf89a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.Builder.html @@ -0,0 +1,359 @@ + + + + + +NestedPropertyMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NestedPropertyMappingMethod.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.SafePropertyEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.SafePropertyEntry.html new file mode 100644 index 000000000..a9c28e0a0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.SafePropertyEntry.html @@ -0,0 +1,416 @@ + + + + + +NestedPropertyMappingMethod.SafePropertyEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NestedPropertyMappingMethod.SafePropertyEntry

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SafePropertyEntry

        +
        public SafePropertyEntry​(PropertyEntry entry,
        +                         String safeName,
        +                         String previousPropertyName)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getAccessorName

        +
        public String getAccessorName()
        +
      • +
      + + + +
        +
      • +

        getPresenceChecker

        +
        public PresenceCheck getPresenceChecker()
        +
      • +
      + + + +
        +
      • +

        getPreviousPropertyName

        +
        public String getPreviousPropertyName()
        +
      • +
      + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.html new file mode 100644 index 000000000..01398afbd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedPropertyMappingMethod.html @@ -0,0 +1,432 @@ + + + + + +NestedPropertyMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NestedPropertyMappingMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class NestedPropertyMappingMethod
    +extends MappingMethod
    +
    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
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedTargetPropertyMappingHolder.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedTargetPropertyMappingHolder.Builder.html new file mode 100644 index 000000000..db1e9e7f2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedTargetPropertyMappingHolder.Builder.html @@ -0,0 +1,404 @@ + + + + + +NestedTargetPropertyMappingHolder.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NestedTargetPropertyMappingHolder.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedTargetPropertyMappingHolder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedTargetPropertyMappingHolder.html new file mode 100644 index 000000000..833d0a4fe --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NestedTargetPropertyMappingHolder.html @@ -0,0 +1,427 @@ + + + + + +NestedTargetPropertyMappingHolder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NestedTargetPropertyMappingHolder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
    • +
    +
  • +
+
+
    +
  • +
    +
    public class NestedTargetPropertyMappingHolder
    +extends Object
    +
    This is a helper class that holds the generated PropertyMapping(s) and all the information associated with + it for nested target properties.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getProcessedSourceParameters

        +
        public List<Parameter> getProcessedSourceParameters()
        +
        +
        Returns:
        +
        The source parameters that were processed during the generation of the property mappings
        +
        +
      • +
      + + + +
        +
      • +

        getHandledTargets

        +
        public Set<String> getHandledTargets()
        +
        +
        Returns:
        +
        all the targets that were hanled
        +
        +
      • +
      + + + +
        +
      • +

        getPropertyMappings

        +
        public List<PropertyMapping> getPropertyMappings()
        +
        +
        Returns:
        +
        the generated property mappings
        +
        +
      • +
      + + + +
        +
      • +

        getUnprocessedDefinedTarget

        +
        public Map<String,​Set<MappingReference>> getUnprocessedDefinedTarget()
        +
        +
        Returns:
        +
        a map of all the unprocessed defined targets that can be applied to name forged base methods
        +
        +
      • +
      + + + +
        +
      • +

        hasErrorOccurred

        +
        public boolean hasErrorOccurred()
        +
        +
        Returns:
        +
        true if an error occurred during the creation of the nested mappings
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NoArgumentConstructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NoArgumentConstructor.html new file mode 100644 index 000000000..702780f90 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NoArgumentConstructor.html @@ -0,0 +1,404 @@ + + + + + +NoArgumentConstructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NoArgumentConstructor

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Constructor, Writable
    +
    +
    +
    public class NoArgumentConstructor
    +extends ModelElement
    +implements Constructor
    +
    Represents a constructor that is used for constructor injection.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NormalTypeMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NormalTypeMappingMethod.html new file mode 100644 index 000000000..45e0bc316 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/NormalTypeMappingMethod.html @@ -0,0 +1,446 @@ + + + + + +NormalTypeMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NormalTypeMappingMethod

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class MappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isMapNullToDefault

        +
        public boolean isMapNullToDefault()
        +
      • +
      + + + +
        +
      • +

        isOverridden

        +
        public boolean isOverridden()
        +
      • +
      + + + + + + + + + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ObjectFactoryMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ObjectFactoryMethodResolver.html new file mode 100644 index 000000000..6a269b4b8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ObjectFactoryMethodResolver.html @@ -0,0 +1,394 @@ + + + + + +ObjectFactoryMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ObjectFactoryMethodResolver

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ObjectFactoryMethodResolver
    +extends Object
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PresenceCheckMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PresenceCheckMethodResolver.html new file mode 100644 index 000000000..55da9b895 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PresenceCheckMethodResolver.html @@ -0,0 +1,278 @@ + + + + + +PresenceCheckMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PresenceCheckMethodResolver

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.PresenceCheckMethodResolver
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class PresenceCheckMethodResolver
    +extends Object
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.ConstantMappingBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.ConstantMappingBuilder.html new file mode 100644 index 000000000..debf948cf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.ConstantMappingBuilder.html @@ -0,0 +1,432 @@ + + + + + +PropertyMapping.ConstantMappingBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PropertyMapping.ConstantMappingBuilder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PropertyMapping
    +
    +
    +
    public static class PropertyMapping.ConstantMappingBuilder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.JavaExpressionMappingBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.JavaExpressionMappingBuilder.html new file mode 100644 index 000000000..b8a03bfaf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.JavaExpressionMappingBuilder.html @@ -0,0 +1,387 @@ + + + + + +PropertyMapping.JavaExpressionMappingBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PropertyMapping.JavaExpressionMappingBuilder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.PropertyMapping.JavaExpressionMappingBuilder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PropertyMapping
    +
    +
    +
    public static class PropertyMapping.JavaExpressionMappingBuilder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.PropertyMappingBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.PropertyMappingBuilder.html new file mode 100644 index 000000000..97dbe3dda --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.PropertyMappingBuilder.html @@ -0,0 +1,537 @@ + + + + + +PropertyMapping.PropertyMappingBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PropertyMapping.PropertyMappingBuilder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PropertyMapping
    +
    +
    +
    public static class PropertyMapping.PropertyMappingBuilder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.html new file mode 100644 index 000000000..31e2850d4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/PropertyMapping.html @@ -0,0 +1,546 @@ + + + + + +PropertyMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PropertyMapping

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class PropertyMapping
    +extends ModelElement
    +
    Represents the mapping between a source and target property, e.g. from String Source#foo to + int Target#bar. Name and type of source and target property can differ. If they have different types, the + mapping must either refer to a mapping method or a conversion.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
        +
        Returns:
        +
        the name of this mapping (property name on the target side)
        +
        +
      • +
      + + + +
        +
      • +

        getSourceBeanName

        +
        public String getSourceBeanName()
        +
      • +
      + + + +
        +
      • +

        getTargetWriteAccessorName

        +
        public String getTargetWriteAccessorName()
        +
      • +
      + + + +
        +
      • +

        getTargetReadAccessorName

        +
        public String getTargetReadAccessorName()
        +
      • +
      + + + +
        +
      • +

        getTargetType

        +
        public Type getTargetType()
        +
      • +
      + + + +
        +
      • +

        getAssignment

        +
        public Assignment getAssignment()
        +
      • +
      + + + +
        +
      • +

        getDefaultValueAssignment

        +
        public Assignment getDefaultValueAssignment()
        +
      • +
      + + + +
        +
      • +

        isConstructorMapping

        +
        public boolean isConstructorMapping()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getDependsOn

        +
        public Set<String> getDependsOn()
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ServicesEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ServicesEntry.html new file mode 100644 index 000000000..0ed3c189f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ServicesEntry.html @@ -0,0 +1,430 @@ + + + + + +ServicesEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServicesEntry

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class ServicesEntry
    +extends ModelElement
    +
    +
    Author:
    +
    Christophe Labouisse on 14/07/2015.
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ServicesEntry

        +
        public ServicesEntry​(String packageName,
        +                     String name,
        +                     String implementationPackage,
        +                     String implementationName)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getPackageName

        +
        public String getPackageName()
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getImplementationPackage

        +
        public String getImplementationPackage()
        +
      • +
      + + + +
        +
      • +

        getImplementationName

        +
        public String getImplementationName()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/StreamMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/StreamMappingMethod.Builder.html new file mode 100644 index 000000000..f3ae3c81e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/StreamMappingMethod.Builder.html @@ -0,0 +1,496 @@ + + + + + +StreamMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StreamMappingMethod.Builder

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/StreamMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/StreamMappingMethod.html new file mode 100644 index 000000000..cffe052ac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/StreamMappingMethod.html @@ -0,0 +1,414 @@ + + + + + +StreamMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StreamMappingMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class StreamMappingMethod
    +extends ContainerMappingMethod
    +
    A MappingMethod implemented by a Mapper class which maps one iterable or array type to Stream. + The collection elements are mapped either by a TypeConversion or another mapping method.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class ContainerMappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getSourceElementType

        +
        public Type getSourceElementType()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SubclassMapping.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SubclassMapping.html new file mode 100644 index 000000000..6070a5882 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SubclassMapping.html @@ -0,0 +1,456 @@ + + + + + +SubclassMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SubclassMapping

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class SubclassMapping
    +extends ModelElement
    +
    Represents the mapping between a Subclass and its mapping target. This will be used by a BeanMappingMethod + that has SubclassMapping annotations applied to it. Before doing the normal mapping for that + method it will first check if the source object is of the sourceType if so it will use the assignment instead.
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SubclassMapping

        +
        public SubclassMapping​(Type sourceType,
        +                       String sourceArgument,
        +                       Type targetType,
        +                       Assignment assignment)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSourceType

        +
        public Type getSourceType()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceArgument

        +
        public String getSourceArgument()
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object other)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingConstructorFragment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingConstructorFragment.html new file mode 100644 index 000000000..a79d9a73f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingConstructorFragment.html @@ -0,0 +1,500 @@ + + + + + +SupportingConstructorFragment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SupportingConstructorFragment

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class SupportingConstructorFragment
    +extends ModelElement
    +
    A mapper instance field, initialized as null
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingField.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingField.html new file mode 100644 index 000000000..8f60598aa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingField.html @@ -0,0 +1,447 @@ + + + + + +SupportingField (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SupportingField

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class SupportingField
    +extends Field
    +
    supports the
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingMappingMethod.html new file mode 100644 index 000000000..adc7f3676 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/SupportingMappingMethod.html @@ -0,0 +1,541 @@ + + + + + +SupportingMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SupportingMappingMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class SupportingMappingMethod
    +extends MappingMethod
    +
    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. Based on a BuiltInMethod. + + Specific templates all point to this class, for instance: + XmlGregorianCalendarToCalendar, + but also used fields and constructor elements, e.g. + FinalField and + NewDatatypeFactoryConstructorFragment
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SupportingMappingMethod

        +
        public SupportingMappingMethod​(BuiltInMethod method,
        +                               Set<Field> existingFields)
        +
      • +
      + + + +
        +
      • +

        SupportingMappingMethod

        +
        public SupportingMappingMethod​(HelperMethod method)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class MappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        findType

        +
        public Type findType​(String name)
        +
        Finds a Type by a given name. The name will be compared to the fully-qualified and also simple + names of the importTypes.
        +
        +
        Parameters:
        +
        name - Fully-qualified or simple name of the type.
        +
        Returns:
        +
        Found type, never null.
        +
        Throws:
        +
        IllegalArgumentException - In case no Type was found for given name.
        +
        +
      • +
      + + + +
        +
      • +

        getSupportingField

        +
        public Field getSupportingField()
        +
      • +
      + + + + + + + +
        +
      • +

        getTemplateParameter

        +
        public Map<String,​Object> getTemplateParameter()
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/TypeConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/TypeConversion.html new file mode 100644 index 000000000..d4a578c83 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/TypeConversion.html @@ -0,0 +1,794 @@ + + + + + +TypeConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TypeConversion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class TypeConversion
    +extends ModelElement
    +implements Assignment
    +
    An inline conversion between source and target type of a mapping.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TypeConversion

        +
        public TypeConversion​(Set<Type> importTypes,
        +                      List<Type> exceptionTypes,
        +                      String expression)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Assignment
        +
        returns all types exception types thrown by this assignment.
        +
        +
        Specified by:
        +
        getThrownTypes in interface Assignment
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + +
        +
      • +

        getOpenExpression

        +
        public String getOpenExpression()
        +
      • +
      + + + +
        +
      • +

        getCloseExpression

        +
        public String getCloseExpression()
        +
      • +
      + + + +
        +
      • +

        getAssignment

        +
        public Assignment getAssignment()
        +
      • +
      + + + +
        +
      • +

        getSourceReference

        +
        public String getSourceReference()
        +
        Description copied from interface: Assignment
        +
        the source reference being a source-getter, a constant, nested method call, etc.
        +
        +
        Specified by:
        +
        getSourceReference in interface Assignment
        +
        Returns:
        +
        source reference
        +
        +
      • +
      + + + +
        +
      • +

        isSourceReferenceParameter

        +
        public boolean isSourceReferenceParameter()
        +
        +
        Specified by:
        +
        isSourceReferenceParameter in interface Assignment
        +
        Returns:
        +
        true when the source reference is the source parameter (and not a property of the source parameter type)
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceType

        +
        public Type getSourceType()
        +
        Description copied from interface: Assignment
        +
        the source type used in the matching process
        +
        +
        Specified by:
        +
        getSourceType in interface Assignment
        +
        Returns:
        +
        source type (can be null)
        +
        +
      • +
      + + + +
        +
      • +

        createUniqueVarName

        +
        public String createUniqueVarName​(String desiredName)
        +
        Description copied from interface: Assignment
        +
        Creates an unique safe (local) variable name.
        +
        +
        Specified by:
        +
        createUniqueVarName in interface Assignment
        +
        Parameters:
        +
        desiredName - the desired name
        +
        Returns:
        +
        the desired name, made unique in the scope of the bean mapping.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLocalVarName

        +
        public void setSourceLocalVarName​(String sourceLocalVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceReference at the call site in the assignment in the template with this sourceLocalVarName. + The sourceLocalVarName can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLocalVarName in interface Assignment
        +
        Parameters:
        +
        sourceLocalVarName - source local variable name
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLoopVarName

        +
        public void setSourceLoopVarName​(String sourceLoopVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceLocalVar or sourceReference at the call site in the assignment in the template with this + sourceLoopVarName. + The sourceLocalVar can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLoopVarName in interface Assignment
        +
        Parameters:
        +
        sourceLoopVarName - loop variable
        +
        +
      • +
      + + + +
        +
      • +

        getSourceParameterName

        +
        public String getSourceParameterName()
        +
        Description copied from interface: Assignment
        +
        Returns the source parameter name, to which this assignment applies. Note: the source parameter itself might + be mapped by this assignment, or one of its properties
        +
        +
        Specified by:
        +
        getSourceParameterName in interface Assignment
        +
        Returns:
        +
        the source parameter name
        +
        +
      • +
      + + + +
        +
      • +

        setAssignment

        +
        public void setAssignment​(Assignment assignment)
        +
        Description copied from interface: Assignment
        +
        An assignment in itself can wrap another assignment. E.g.: +
          +
        • a MethodReference can wrap a TypeConversion, another MethodReference and ultimately a Simple
        • +
        • a TypeConversion can wrap a MethodReference, and ultimately a Simple
        • +
        +
        +
        Specified by:
        +
        setAssignment in interface Assignment
        +
        Parameters:
        +
        assignment - the assignment to set
        +
        +
      • +
      + + + + + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.Builder.html new file mode 100644 index 000000000..2c923dd95 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.Builder.html @@ -0,0 +1,374 @@ + + + + + +ValueMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ValueMappingMethod.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.ValueMappingMethod.Builder
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.MappingEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.MappingEntry.html new file mode 100644 index 000000000..6fad62680 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.MappingEntry.html @@ -0,0 +1,304 @@ + + + + + +ValueMappingMethod.MappingEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ValueMappingMethod.MappingEntry

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.ValueMappingMethod.MappingEntry
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isTargetAsException

        +
        public boolean isTargetAsException()
        +
      • +
      + + + +
        +
      • +

        getSource

        +
        public String getSource()
        +
      • +
      + + + +
        +
      • +

        getTarget

        +
        public String getTarget()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.html new file mode 100644 index 000000000..197254333 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/ValueMappingMethod.html @@ -0,0 +1,481 @@ + + + + + +ValueMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ValueMappingMethod

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class ValueMappingMethod
    +extends MappingMethod
    +
    A ValueMappingMethod which maps one value type to another, optionally configured by one or more + ValueMappingOptionss. For now, only enum-to-enum mapping is supported.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Overrides:
        +
        getImportTypes in class MappingMethod
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        hasMappingWithTargetAsException

        +
        protected boolean hasMappingWithTargetAsException()
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        getUnexpectedValueMappingException

        +
        public Type getUnexpectedValueMappingException()
        +
      • +
      + + + +
        +
      • +

        getSourceParameter

        +
        public Parameter getSourceParameter()
        +
      • +
      + + + +
        +
      • +

        isOverridden

        +
        public boolean isOverridden()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/AnnotationElement.AnnotationElementType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/AnnotationElement.AnnotationElementType.html new file mode 100644 index 000000000..574ec8363 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/AnnotationElement.AnnotationElementType.html @@ -0,0 +1,504 @@ + + + + + +AnnotationElement.AnnotationElementType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum AnnotationElement.AnnotationElementType

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/AnnotationElement.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/AnnotationElement.html new file mode 100644 index 000000000..b7fd80ff9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/AnnotationElement.html @@ -0,0 +1,629 @@ + + + + + +AnnotationElement (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotationElement

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class AnnotationElement
    +extends ModelElement
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getElementName

        +
        public String getElementName()
        +
      • +
      + + + +
        +
      • +

        getValues

        +
        public List<? extends Object> getValues()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isBoolean

        +
        public boolean isBoolean()
        +
      • +
      + + + +
        +
      • +

        isByte

        +
        public boolean isByte()
        +
      • +
      + + + +
        +
      • +

        isCharacter

        +
        public boolean isCharacter()
        +
      • +
      + + + +
        +
      • +

        isClass

        +
        public boolean isClass()
        +
      • +
      + + + +
        +
      • +

        isDouble

        +
        public boolean isDouble()
        +
      • +
      + + + +
        +
      • +

        isEnum

        +
        public boolean isEnum()
        +
      • +
      + + + +
        +
      • +

        isFloat

        +
        public boolean isFloat()
        +
      • +
      + + + +
        +
      • +

        isInteger

        +
        public boolean isInteger()
        +
      • +
      + + + +
        +
      • +

        isLong

        +
        public boolean isLong()
        +
      • +
      + + + +
        +
      • +

        isShort

        +
        public boolean isShort()
        +
      • +
      + + + +
        +
      • +

        isString

        +
        public boolean isString()
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/EnumAnnotationElementHolder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/EnumAnnotationElementHolder.html new file mode 100644 index 000000000..ff0f742a2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/EnumAnnotationElementHolder.html @@ -0,0 +1,392 @@ + + + + + +EnumAnnotationElementHolder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EnumAnnotationElementHolder

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class EnumAnnotationElementHolder
    +extends ModelElement
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EnumAnnotationElementHolder

        +
        public EnumAnnotationElementHolder​(Type enumClass,
        +                                   String name)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getEnumClass

        +
        public Type getEnumClass()
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/AnnotationElement.AnnotationElementType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/AnnotationElement.AnnotationElementType.html new file mode 100644 index 000000000..eadb3ca56 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/AnnotationElement.AnnotationElementType.html @@ -0,0 +1,224 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.annotation.AnnotationElement.AnnotationElementType

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/AnnotationElement.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/AnnotationElement.html new file mode 100644 index 000000000..c4bfa7c5d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/AnnotationElement.html @@ -0,0 +1,211 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.annotation.AnnotationElement (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.annotation.AnnotationElement

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/EnumAnnotationElementHolder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/EnumAnnotationElementHolder.html new file mode 100644 index 000000000..da5315985 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/class-use/EnumAnnotationElementHolder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.annotation.EnumAnnotationElementHolder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.annotation.EnumAnnotationElementHolder

+
+
No usage of org.mapstruct.ap.internal.model.annotation.EnumAnnotationElementHolder
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-summary.html new file mode 100644 index 000000000..257283cbf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-summary.html @@ -0,0 +1,188 @@ + + + + + +org.mapstruct.ap.internal.model.annotation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.annotation

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-tree.html new file mode 100644 index 000000000..55b9e32ac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-tree.html @@ -0,0 +1,188 @@ + + + + + +org.mapstruct.ap.internal.model.annotation Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.annotation

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-use.html new file mode 100644 index 000000000..3289da766 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/annotation/package-use.html @@ -0,0 +1,209 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.annotation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.annotation

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/AdderWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/AdderWrapper.html new file mode 100644 index 000000000..f722b5919 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/AdderWrapper.html @@ -0,0 +1,496 @@ + + + + + +AdderWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AdderWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class AdderWrapper
    +extends AssignmentWrapper
    +
    Wraps the assignment in a target setter.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AdderWrapper

        +
        public AdderWrapper​(Assignment rhs,
        +                    List<Type> thrownTypesToExclude,
        +                    boolean fieldAssignment,
        +                    String adderIteratorName)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getAdderType

        +
        public Type getAdderType()
        +
      • +
      + + + +
        +
      • +

        isIncludeSourceNullCheck

        +
        public boolean isIncludeSourceNullCheck()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToNull

        +
        public boolean isSetExplicitlyToNull()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToDefault

        +
        public boolean isSetExplicitlyToDefault()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ArrayCopyWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ArrayCopyWrapper.html new file mode 100644 index 000000000..810a95a20 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ArrayCopyWrapper.html @@ -0,0 +1,460 @@ + + + + + +ArrayCopyWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ArrayCopyWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class ArrayCopyWrapper
    +extends AssignmentWrapper
    +
    Decorates the assignment as a Map or Collection constructor
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ArrayCopyWrapper

        +
        public ArrayCopyWrapper​(Assignment rhs,
        +                        String targetPropertyName,
        +                        Type arraysType,
        +                        Type targetType,
        +                        boolean fieldAssignment,
        +                        boolean setExplicitlyToNull,
        +                        boolean setExplicitlyToDefault)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isIncludeSourceNullCheck

        +
        public boolean isIncludeSourceNullCheck()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToNull

        +
        public boolean isSetExplicitlyToNull()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToDefault

        +
        public boolean isSetExplicitlyToDefault()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/AssignmentWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/AssignmentWrapper.html new file mode 100644 index 000000000..32b8215ee --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/AssignmentWrapper.html @@ -0,0 +1,809 @@ + + + + + +AssignmentWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AssignmentWrapper

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        fieldAssignment

        +
        protected final boolean fieldAssignment
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AssignmentWrapper

        +
        public AssignmentWrapper​(Assignment decoratedAssignment,
        +                         boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Assignment
        +
        returns all types exception types thrown by this assignment.
        +
        +
        Specified by:
        +
        getThrownTypes in interface Assignment
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + +
        +
      • +

        setAssignment

        +
        public void setAssignment​(Assignment assignment)
        +
        Description copied from interface: Assignment
        +
        An assignment in itself can wrap another assignment. E.g.: +
          +
        • a MethodReference can wrap a TypeConversion, another MethodReference and ultimately a Simple
        • +
        • a TypeConversion can wrap a MethodReference, and ultimately a Simple
        • +
        +
        +
        Specified by:
        +
        setAssignment in interface Assignment
        +
        Parameters:
        +
        assignment - the assignment to set
        +
        +
      • +
      + + + +
        +
      • +

        getAssignment

        +
        public Assignment getAssignment()
        +
      • +
      + + + +
        +
      • +

        getSourceReference

        +
        public String getSourceReference()
        +
        Description copied from interface: Assignment
        +
        the source reference being a source-getter, a constant, nested method call, etc.
        +
        +
        Specified by:
        +
        getSourceReference in interface Assignment
        +
        Returns:
        +
        source reference
        +
        +
      • +
      + + + +
        +
      • +

        isSourceReferenceParameter

        +
        public boolean isSourceReferenceParameter()
        +
        +
        Specified by:
        +
        isSourceReferenceParameter in interface Assignment
        +
        Returns:
        +
        true when the source reference is the source parameter (and not a property of the source parameter type)
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceType

        +
        public Type getSourceType()
        +
        Description copied from interface: Assignment
        +
        the source type used in the matching process
        +
        +
        Specified by:
        +
        getSourceType in interface Assignment
        +
        Returns:
        +
        source type (can be null)
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLocalVarName

        +
        public void setSourceLocalVarName​(String sourceLocalVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceReference at the call site in the assignment in the template with this sourceLocalVarName. + The sourceLocalVarName can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLocalVarName in interface Assignment
        +
        Parameters:
        +
        sourceLocalVarName - source local variable name
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLoopVarName

        +
        public void setSourceLoopVarName​(String sourceLoopVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceLocalVar or sourceReference at the call site in the assignment in the template with this + sourceLoopVarName. + The sourceLocalVar can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLoopVarName in interface Assignment
        +
        Parameters:
        +
        sourceLoopVarName - loop variable
        +
        +
      • +
      + + + +
        +
      • +

        getSourceParameterName

        +
        public String getSourceParameterName()
        +
        Description copied from interface: Assignment
        +
        Returns the source parameter name, to which this assignment applies. Note: the source parameter itself might + be mapped by this assignment, or one of its properties
        +
        +
        Specified by:
        +
        getSourceParameterName in interface Assignment
        +
        Returns:
        +
        the source parameter name
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        createUniqueVarName

        +
        public String createUniqueVarName​(String desiredName)
        +
        Description copied from interface: Assignment
        +
        Creates an unique safe (local) variable name.
        +
        +
        Specified by:
        +
        createUniqueVarName in interface Assignment
        +
        Parameters:
        +
        desiredName - the desired name
        +
        Returns:
        +
        the desired name, made unique in the scope of the bean mapping.
        +
        +
      • +
      + + + +
        +
      • +

        isFieldAssignment

        +
        public boolean isFieldAssignment()
        +
        +
        Returns:
        +
        true if the wrapper is for field assignment
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/EnumConstantWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/EnumConstantWrapper.html new file mode 100644 index 000000000..5092a2110 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/EnumConstantWrapper.html @@ -0,0 +1,423 @@ + + + + + +EnumConstantWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EnumConstantWrapper

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EnumConstantWrapper

        +
        public EnumConstantWrapper​(Assignment decoratedAssignment,
        +                           Type enumType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ExistingInstanceSetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ExistingInstanceSetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..826141441 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ExistingInstanceSetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,476 @@ + + + + + +ExistingInstanceSetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ExistingInstanceSetterWrapperForCollectionsAndMaps

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class ExistingInstanceSetterWrapperForCollectionsAndMaps
    +extends SetterWrapperForCollectionsAndMapsWithNullCheck
    +
    This wrapper handles the situation where an assignment is done for an update method. + + In case of a pre-existing target the wrapper checks if there is a collection or map initialized on the target bean + (not null). If so it uses the addAll (for collections) or putAll (for maps). The collection / map is cleared in case + of a pre-existing target MappingTargetbefore adding the source entries. + + If there is no pre-existing target, or the target Collection / Map is not initialized (null) the setter is used to + create a new Collection / Map with the copy constructor.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExistingInstanceSetterWrapperForCollectionsAndMaps

        +
        public ExistingInstanceSetterWrapperForCollectionsAndMaps​(Assignment decoratedAssignment,
        +                                                          List<Type> thrownTypesToExclude,
        +                                                          Type targetType,
        +                                                          org.mapstruct.ap.internal.gem.NullValueCheckStrategyGem nvcs,
        +                                                          org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem nvpms,
        +                                                          TypeFactory typeFactory,
        +                                                          boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        isIncludeElseBranch

        +
        public boolean isIncludeElseBranch()
        +
      • +
      + + + +
        +
      • +

        isMapNullToDefault

        +
        public boolean isMapNullToDefault()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/GetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/GetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..668c27878 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/GetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,436 @@ + + + + + +GetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GetterWrapperForCollectionsAndMaps

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class GetterWrapperForCollectionsAndMaps
    +extends WrapperForCollectionsAndMaps
    +
    This wrapper handles the situation were an assignment must be done via a target getter method because there + is no setter available. + + The wrapper checks if there is a collection or map initialized on the target bean (not null). If so it uses the + addAll (for collections) or putAll (for maps). The collection / map is cleared in case of a pre-existing target + MappingTargetbefore adding the source entries. The goal is that the same collection / map + is used as target. + + Nothing can be added if the getter on the target returns null.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GetterWrapperForCollectionsAndMaps

        +
        public GetterWrapperForCollectionsAndMaps​(Assignment decoratedAssignment,
        +                                          List<Type> thrownTypesToExclude,
        +                                          Type targetType,
        +                                          boolean fieldAssignment)
        +
        +
        Parameters:
        +
        decoratedAssignment - source RHS
        +
        thrownTypesToExclude - set of types to exclude from re-throwing
        +
        targetType - the target type
        +
        fieldAssignment - true when this the assignment is to a field rather than via accessors
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/Java8FunctionWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/Java8FunctionWrapper.html new file mode 100644 index 000000000..8d8cf9fc9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/Java8FunctionWrapper.html @@ -0,0 +1,438 @@ + + + + + +Java8FunctionWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Java8FunctionWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class Java8FunctionWrapper
    +extends AssignmentWrapper
    +
    Wraps the assignment in a Function to be used in Java 8 map methods
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Java8FunctionWrapper

        +
        public Java8FunctionWrapper​(Assignment decoratedAssignment)
        +
      • +
      + + + +
        +
      • +

        Java8FunctionWrapper

        +
        public Java8FunctionWrapper​(Assignment decoratedAssignment,
        +                            Type functionType)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isDirectAssignment

        +
        public boolean isDirectAssignment()
        +
        +
        Returns:
        +
        true if the wrapped assignment is + Assignment.AssignmentType.DIRECT, false otherwise
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/LocalVarWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/LocalVarWrapper.html new file mode 100644 index 000000000..6544be923 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/LocalVarWrapper.html @@ -0,0 +1,436 @@ + + + + + +LocalVarWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LocalVarWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class LocalVarWrapper
    +extends AssignmentWrapper
    +
    Decorates an assignment as local variable.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocalVarWrapper

        +
        public LocalVarWrapper​(Assignment decoratedAssignment,
        +                       List<Type> thrownTypesToExclude,
        +                       Type targetType,
        +                       boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/NewInstanceSetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/NewInstanceSetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..3cf25853a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/NewInstanceSetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,422 @@ + + + + + +NewInstanceSetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NewInstanceSetterWrapperForCollectionsAndMaps

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class NewInstanceSetterWrapperForCollectionsAndMaps
    +extends SetterWrapperForCollectionsAndMapsWithNullCheck
    +
    This wrapper handles the situation where an assignment is done via the setter, while creating the collection or map + using a no-args constructor.
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NewInstanceSetterWrapperForCollectionsAndMaps

        +
        public NewInstanceSetterWrapperForCollectionsAndMaps​(Assignment decoratedAssignment,
        +                                                     List<Type> thrownTypesToExclude,
        +                                                     Type targetType,
        +                                                     TypeFactory typeFactory,
        +                                                     boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInstanceVar

        +
        public String getInstanceVar()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ReturnWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ReturnWrapper.html new file mode 100644 index 000000000..91416c85c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/ReturnWrapper.html @@ -0,0 +1,350 @@ + + + + + +ReturnWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReturnWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class ReturnWrapper
    +extends AssignmentWrapper
    +
    Decorates an assignment as a return variable.
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ReturnWrapper

        +
        public ReturnWrapper​(Assignment decoratedAssignment)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapper.html new file mode 100644 index 000000000..47fba0bf6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapper.html @@ -0,0 +1,473 @@ + + + + + +SetterWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SetterWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class SetterWrapper
    +extends AssignmentWrapper
    +
    Wraps the assignment in a target setter.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SetterWrapper

        +
        public SetterWrapper​(Assignment rhs,
        +                     List<Type> thrownTypesToExclude,
        +                     boolean fieldAssignment,
        +                     boolean includeSourceNullCheck,
        +                     boolean setExplicitlyToNull,
        +                     boolean setExplicitlyToDefault)
        +
      • +
      + + + +
        +
      • +

        SetterWrapper

        +
        public SetterWrapper​(Assignment rhs,
        +                     List<Type> thrownTypesToExclude,
        +                     boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        isSetExplicitlyToNull

        +
        public boolean isSetExplicitlyToNull()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToDefault

        +
        public boolean isSetExplicitlyToDefault()
        +
      • +
      + + + +
        +
      • +

        isIncludeSourceNullCheck

        +
        public boolean isIncludeSourceNullCheck()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..e58383913 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,368 @@ + + + + + +SetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SetterWrapperForCollectionsAndMaps

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class SetterWrapperForCollectionsAndMaps
    +extends WrapperForCollectionsAndMaps
    +
    This wrapper handles the situation where an assignment is done via the setter, without doing anything special.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SetterWrapperForCollectionsAndMaps

        +
        public SetterWrapperForCollectionsAndMaps​(Assignment decoratedAssignment,
        +                                          List<Type> thrownTypesToExclude,
        +                                          Type targetType,
        +                                          boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapperForCollectionsAndMapsWithNullCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapperForCollectionsAndMapsWithNullCheck.html new file mode 100644 index 000000000..c6411ff37 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/SetterWrapperForCollectionsAndMapsWithNullCheck.html @@ -0,0 +1,458 @@ + + + + + +SetterWrapperForCollectionsAndMapsWithNullCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SetterWrapperForCollectionsAndMapsWithNullCheck

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SetterWrapperForCollectionsAndMapsWithNullCheck

        +
        public SetterWrapperForCollectionsAndMapsWithNullCheck​(Assignment decoratedAssignment,
        +                                                       List<Type> thrownTypesToExclude,
        +                                                       Type targetType,
        +                                                       TypeFactory typeFactory,
        +                                                       boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isDirectAssignment

        +
        public boolean isDirectAssignment()
        +
      • +
      + + + +
        +
      • +

        isEnumSet

        +
        public boolean isEnumSet()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/StreamAdderWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/StreamAdderWrapper.html new file mode 100644 index 000000000..0e8c86681 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/StreamAdderWrapper.html @@ -0,0 +1,496 @@ + + + + + +StreamAdderWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StreamAdderWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class StreamAdderWrapper
    +extends AssignmentWrapper
    +
    Wraps the assignment in a target setter.
    +
    +
    Author:
    +
    Sebastian Haberey
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StreamAdderWrapper

        +
        public StreamAdderWrapper​(Assignment rhs,
        +                          List<Type> thrownTypesToExclude,
        +                          boolean fieldAssignment,
        +                          String targetPropertyName)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getAdderType

        +
        public Type getAdderType()
        +
      • +
      + + + +
        +
      • +

        isIncludeSourceNullCheck

        +
        public boolean isIncludeSourceNullCheck()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToNull

        +
        public boolean isSetExplicitlyToNull()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToDefault

        +
        public boolean isSetExplicitlyToDefault()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/UpdateWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/UpdateWrapper.html new file mode 100644 index 000000000..f1dbbddcd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/UpdateWrapper.html @@ -0,0 +1,504 @@ + + + + + +UpdateWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class UpdateWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class UpdateWrapper
    +extends AssignmentWrapper
    +
    Wraps the assignment in a target setter.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpdateWrapper

        +
        public UpdateWrapper​(Assignment decoratedAssignment,
        +                     List<Type> thrownTypesToExclude,
        +                     Assignment factoryMethod,
        +                     boolean fieldAssignment,
        +                     Type targetType,
        +                     boolean includeSourceNullCheck,
        +                     boolean setExplicitlyToNull,
        +                     boolean setExplicitlyToDefault)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Overrides:
        +
        getImportTypes in class AssignmentWrapper
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getFactoryMethod

        +
        public Assignment getFactoryMethod()
        +
      • +
      + + + +
        +
      • +

        isIncludeSourceNullCheck

        +
        public boolean isIncludeSourceNullCheck()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToNull

        +
        public boolean isSetExplicitlyToNull()
        +
      • +
      + + + +
        +
      • +

        isSetExplicitlyToDefault

        +
        public boolean isSetExplicitlyToDefault()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/WrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/WrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..41b59b954 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/WrapperForCollectionsAndMaps.html @@ -0,0 +1,442 @@ + + + + + +WrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class WrapperForCollectionsAndMaps

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WrapperForCollectionsAndMaps

        +
        public WrapperForCollectionsAndMaps​(Assignment rhs,
        +                                    List<Type> thrownTypesToExclude,
        +                                    Type targetType,
        +                                    boolean fieldAssignment)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getNullCheckLocalVarName

        +
        public String getNullCheckLocalVarName()
        +
      • +
      + + + +
        +
      • +

        getNullCheckLocalVarType

        +
        public Type getNullCheckLocalVarType()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/AdderWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/AdderWrapper.html new file mode 100644 index 000000000..d4be38de4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/AdderWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.AdderWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.AdderWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.AdderWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ArrayCopyWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ArrayCopyWrapper.html new file mode 100644 index 000000000..7095568f3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ArrayCopyWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.ArrayCopyWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/AssignmentWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/AssignmentWrapper.html new file mode 100644 index 000000000..fa512cbfb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/AssignmentWrapper.html @@ -0,0 +1,326 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.AssignmentWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.AssignmentWrapper

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/EnumConstantWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/EnumConstantWrapper.html new file mode 100644 index 000000000..ed1c50f73 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/EnumConstantWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.EnumConstantWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.EnumConstantWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.EnumConstantWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ExistingInstanceSetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ExistingInstanceSetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..f12eb34c6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ExistingInstanceSetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.ExistingInstanceSetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.ExistingInstanceSetterWrapperForCollectionsAndMaps

+
+
No usage of org.mapstruct.ap.internal.model.assignment.ExistingInstanceSetterWrapperForCollectionsAndMaps
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/GetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/GetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..35e15dae0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/GetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.GetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.GetterWrapperForCollectionsAndMaps

+
+
No usage of org.mapstruct.ap.internal.model.assignment.GetterWrapperForCollectionsAndMaps
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/Java8FunctionWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/Java8FunctionWrapper.html new file mode 100644 index 000000000..db4715411 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/Java8FunctionWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.Java8FunctionWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.Java8FunctionWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.Java8FunctionWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/LocalVarWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/LocalVarWrapper.html new file mode 100644 index 000000000..225be8a7c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/LocalVarWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.LocalVarWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.LocalVarWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.LocalVarWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/NewInstanceSetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/NewInstanceSetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..bc891b507 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/NewInstanceSetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.NewInstanceSetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.NewInstanceSetterWrapperForCollectionsAndMaps

+
+
No usage of org.mapstruct.ap.internal.model.assignment.NewInstanceSetterWrapperForCollectionsAndMaps
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ReturnWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ReturnWrapper.html new file mode 100644 index 000000000..8c02e5ae8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/ReturnWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.ReturnWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.ReturnWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.ReturnWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapper.html new file mode 100644 index 000000000..2863f5c83 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.SetterWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.SetterWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.SetterWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..9e3ed1e9f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapperForCollectionsAndMaps.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMaps

+
+
No usage of org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMaps
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapperForCollectionsAndMapsWithNullCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapperForCollectionsAndMapsWithNullCheck.html new file mode 100644 index 000000000..563b3cc89 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/SetterWrapperForCollectionsAndMapsWithNullCheck.html @@ -0,0 +1,206 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMapsWithNullCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.SetterWrapperForCollectionsAndMapsWithNullCheck

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/StreamAdderWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/StreamAdderWrapper.html new file mode 100644 index 000000000..3690bbb3a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/StreamAdderWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.StreamAdderWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/UpdateWrapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/UpdateWrapper.html new file mode 100644 index 000000000..ce02c4388 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/UpdateWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.UpdateWrapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.UpdateWrapper

+
+
No usage of org.mapstruct.ap.internal.model.assignment.UpdateWrapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/WrapperForCollectionsAndMaps.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/WrapperForCollectionsAndMaps.html new file mode 100644 index 000000000..5c1f28e0b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/class-use/WrapperForCollectionsAndMaps.html @@ -0,0 +1,228 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.assignment.WrapperForCollectionsAndMaps (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.assignment.WrapperForCollectionsAndMaps

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-summary.html new file mode 100644 index 000000000..b66564a26 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-summary.html @@ -0,0 +1,273 @@ + + + + + +org.mapstruct.ap.internal.model.assignment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.assignment

+
+
+
+ + +
Meta-model of assignments. There are currently three types of assignment: +
    +
  • Simple
  • +
  • TypeConversion
  • +
  • MethodReference
  • +
+ The assignments can be wrapped. E.g. in a collection or map constructor, a null check, a try-catch, etc.
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-tree.html new file mode 100644 index 000000000..ae073720f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-tree.html @@ -0,0 +1,197 @@ + + + + + +org.mapstruct.ap.internal.model.assignment Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.assignment

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-use.html new file mode 100644 index 000000000..dbc56f024 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/assignment/package-use.html @@ -0,0 +1,228 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.assignment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.assignment

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/AbstractReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/AbstractReference.html new file mode 100644 index 000000000..5bf334544 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/AbstractReference.html @@ -0,0 +1,480 @@ + + + + + +AbstractReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractReference

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.AbstractReference
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractReference

        +
        protected AbstractReference​(Parameter sourceParameter,
        +                            List<PropertyEntry> sourcePropertyEntries,
        +                            boolean isValid)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
      • +
      + + + + + + + +
        +
      • +

        isValid

        +
        public boolean isValid()
        +
      • +
      + + + +
        +
      • +

        getElementNames

        +
        public List<String> getElementNames()
        +
      • +
      + + + +
        +
      • +

        getShallowestProperty

        +
        public PropertyEntry getShallowestProperty()
        +
        +
        Returns:
        +
        the property name on the shallowest nesting level
        +
        +
      • +
      + + + +
        +
      • +

        getShallowestPropertyName

        +
        public String getShallowestPropertyName()
        +
        +
        Returns:
        +
        the property name on the shallowest nesting level
        +
        +
      • +
      + + + +
        +
      • +

        getDeepestProperty

        +
        public PropertyEntry getDeepestProperty()
        +
        +
        Returns:
        +
        the property name on the deepest nesting level
        +
        +
      • +
      + + + +
        +
      • +

        getDeepestPropertyName

        +
        public String getDeepestPropertyName()
        +
        +
        Returns:
        +
        the property name on the deepest nesting level
        +
        +
      • +
      + + + +
        +
      • +

        isNested

        +
        public boolean isNested()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/MappingReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/MappingReference.html new file mode 100644 index 000000000..53b3c9b17 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/MappingReference.html @@ -0,0 +1,462 @@ + + + + + +MappingReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingReference

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.MappingReference
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MappingReference
    +extends Object
    +
    Represents the intermediate (nesting) state of the MappingOptions in this class.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/MappingReferences.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/MappingReferences.html new file mode 100644 index 000000000..af1d20776 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/MappingReferences.html @@ -0,0 +1,476 @@ + + + + + +MappingReferences (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingReferences

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.MappingReferences
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MappingReferences
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MappingReferences

        +
        public MappingReferences​(Set<MappingReference> mappingReferences,
        +                         boolean restrictToDefinedMappings)
        +
      • +
      + + + +
        +
      • +

        MappingReferences

        +
        public MappingReferences​(Set<MappingReference> mappingReferences,
        +                         boolean restrictToDefinedMappings,
        +                         boolean forForgedMethods)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + +
        +
      • +

        isRestrictToDefinedMappings

        +
        public boolean isRestrictToDefinedMappings()
        +
      • +
      + + + +
        +
      • +

        isForForgedMethods

        +
        public boolean isForForgedMethods()
        +
      • +
      + + + +
        +
      • +

        collectNestedDependsOn

        +
        public Set<String> collectNestedDependsOn()
        +
        +
        Returns:
        +
        all dependencies to other properties the contained mappings are dependent on
        +
        +
      • +
      + + + +
        +
      • +

        hasNestedTargetReferences

        +
        public boolean hasNestedTargetReferences()
        +
        Check there are nested target references for this mapping options.
        +
        +
        Returns:
        +
        boolean, true if there are nested target references
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/PropertyEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/PropertyEntry.html new file mode 100644 index 000000000..6182d15bb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/PropertyEntry.html @@ -0,0 +1,422 @@ + + + + + +PropertyEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PropertyEntry

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
    • +
    +
  • +
+
+
    +
  • +
    +
    public class PropertyEntry
    +extends Object
    +
    A PropertyEntry contains information on the name, readAccessor and presenceCheck (for source) + and return type of property.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        forSourceReference

        +
        public static PropertyEntry forSourceReference​(String[] name,
        +                                               ReadAccessor readAccessor,
        +                                               PresenceCheckAccessor presenceChecker,
        +                                               Type type)
        +
        Constructor used to create SourceReference property entries from a mapping
        +
        +
        Parameters:
        +
        name - name of the property (dot separated)
        +
        readAccessor - its read accessor
        +
        presenceChecker - its presence Checker
        +
        type - type of the property
        +
        Returns:
        +
        the property entry for given parameters.
        +
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getReadAccessor

        +
        public ReadAccessor getReadAccessor()
        +
      • +
      + + + + + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
      • +
      + + + +
        +
      • +

        getFullName

        +
        public String getFullName()
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromMapping.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromMapping.html new file mode 100644 index 000000000..c9d1d844b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromMapping.html @@ -0,0 +1,390 @@ + + + + + +SourceReference.BuilderFromMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceReference.BuilderFromMapping

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromProperty.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromProperty.html new file mode 100644 index 000000000..603c9ef5b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromProperty.html @@ -0,0 +1,390 @@ + + + + + +SourceReference.BuilderFromProperty (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceReference.BuilderFromProperty

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromSourceReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromSourceReference.html new file mode 100644 index 000000000..346198946 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.BuilderFromSourceReference.html @@ -0,0 +1,345 @@ + + + + + +SourceReference.BuilderFromSourceReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceReference.BuilderFromSourceReference

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromSourceReference
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.html new file mode 100644 index 000000000..536f01397 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/SourceReference.html @@ -0,0 +1,362 @@ + + + + + +SourceReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceReference

+
+
+ +
+
    +
  • +
    +
    public class SourceReference
    +extends AbstractReference
    +
    This class describes the source side of a property mapping. +

    + It contains the source parameter, and all individual (nested) property entries. So consider the following + mapping method: + +

    + @Mapping(target = "propC", source = "in.propA.propB")
    + TypeB mappingMethod(TypeA in);
    + 
    + + Then: +
      +
    • parameter will describe in
    • +
    • propertyEntries[0] will describe propA
    • +
    • propertyEntries[1] will describe propB
    • +
    + + After building, AbstractReference.isValid() will return true when no problems are detected during building.
    +
    +
    Author:
    +
    Sjaak Derksen, Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/TargetReference.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/TargetReference.Builder.html new file mode 100644 index 000000000..a69687193 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/TargetReference.Builder.html @@ -0,0 +1,405 @@ + + + + + +TargetReference.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TargetReference.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/TargetReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/TargetReference.html new file mode 100644 index 000000000..4c8336a51 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/TargetReference.html @@ -0,0 +1,472 @@ + + + + + +TargetReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TargetReference

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.beanmapping.TargetReference
    • +
    +
  • +
+
+
    +
  • +
    +
    public class TargetReference
    +extends Object
    +
    This class describes the target side of a property mapping. +

    + It contains the target parameter, and all individual (nested) property entries. So consider the following mapping + method: + +

    + @Mapping(target = "propC", source = "in.propA.propB")
    + TypeB mappingMethod(TypeA in);
    + 
    + + Then: +
      +
    • parameter will describe in
    • +
    • propertyEntries[0] will describe propA
    • +
    • propertyEntries[1] will describe propB
    • +
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPathProperties

        +
        public List<String> getPathProperties()
        +
      • +
      + + + +
        +
      • +

        getPropertyEntries

        +
        public List<String> getPropertyEntries()
        +
      • +
      + + + +
        +
      • +

        getElementNames

        +
        public List<String> getElementNames()
        +
      • +
      + + + +
        +
      • +

        getShallowestPropertyName

        +
        public String getShallowestPropertyName()
        +
        +
        Returns:
        +
        the property name on the shallowest nesting level
        +
        +
      • +
      + + + +
        +
      • +

        isNested

        +
        public boolean isNested()
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/AbstractReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/AbstractReference.html new file mode 100644 index 000000000..54aa2f3ed --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/AbstractReference.html @@ -0,0 +1,199 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.AbstractReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.AbstractReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/MappingReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/MappingReference.html new file mode 100644 index 000000000..da593954c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/MappingReference.html @@ -0,0 +1,283 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.MappingReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.MappingReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/MappingReferences.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/MappingReferences.html new file mode 100644 index 000000000..632e12f84 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/MappingReferences.html @@ -0,0 +1,282 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.MappingReferences (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.MappingReferences

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/PropertyEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/PropertyEntry.html new file mode 100644 index 000000000..f5c00acff --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/PropertyEntry.html @@ -0,0 +1,286 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.PropertyEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.PropertyEntry

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromMapping.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromMapping.html new file mode 100644 index 000000000..5e3366433 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromMapping.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromMapping

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromProperty.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromProperty.html new file mode 100644 index 000000000..a73b89603 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromProperty.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromProperty

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromSourceReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromSourceReference.html new file mode 100644 index 000000000..91774a41a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.BuilderFromSourceReference.html @@ -0,0 +1,202 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromSourceReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.SourceReference.BuilderFromSourceReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.html new file mode 100644 index 000000000..9e6521a38 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/SourceReference.html @@ -0,0 +1,298 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.SourceReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.SourceReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/TargetReference.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/TargetReference.Builder.html new file mode 100644 index 000000000..3d5875d0e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/TargetReference.Builder.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.TargetReference.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/TargetReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/TargetReference.html new file mode 100644 index 000000000..a920e06c8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/class-use/TargetReference.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.beanmapping.TargetReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.beanmapping.TargetReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-summary.html new file mode 100644 index 000000000..a3edaeb7f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-summary.html @@ -0,0 +1,231 @@ + + + + + +org.mapstruct.ap.internal.model.beanmapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.beanmapping

+
+
+
+ + +

+ helper classes used in BeanMappingMethod +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-tree.html new file mode 100644 index 000000000..d9ae621af --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-tree.html @@ -0,0 +1,177 @@ + + + + + +org.mapstruct.ap.internal.model.beanmapping Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.beanmapping

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-use.html new file mode 100644 index 000000000..64835d435 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/beanmapping/package-use.html @@ -0,0 +1,286 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.beanmapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.beanmapping

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AbstractMappingMethodBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AbstractMappingMethodBuilder.html new file mode 100644 index 000000000..9d214f7f3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AbstractMappingMethodBuilder.html @@ -0,0 +1,236 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AdditionalAnnotationsBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AdditionalAnnotationsBuilder.html new file mode 100644 index 000000000..11b6c37ab --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AdditionalAnnotationsBuilder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder

+
+
No usage of org.mapstruct.ap.internal.model.AdditionalAnnotationsBuilder
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotatedConstructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotatedConstructor.html new file mode 100644 index 000000000..90bcae6aa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotatedConstructor.html @@ -0,0 +1,201 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.AnnotatedConstructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.AnnotatedConstructor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotatedSetter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotatedSetter.html new file mode 100644 index 000000000..d43d2e496 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotatedSetter.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.AnnotatedSetter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.AnnotatedSetter

+
+
No usage of org.mapstruct.ap.internal.model.AnnotatedSetter
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Annotation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Annotation.html new file mode 100644 index 000000000..8c4edf9c1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Annotation.html @@ -0,0 +1,452 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Annotation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Annotation

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotationMapperReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotationMapperReference.html new file mode 100644 index 000000000..2dc6b1f24 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/AnnotationMapperReference.html @@ -0,0 +1,231 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.AnnotationMapperReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.AnnotationMapperReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BeanMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BeanMappingMethod.Builder.html new file mode 100644 index 000000000..a6b8f1f4f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BeanMappingMethod.Builder.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.BeanMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.BeanMappingMethod.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BeanMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BeanMappingMethod.html new file mode 100644 index 000000000..8eea5e0b1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BeanMappingMethod.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.BeanMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.BeanMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BuilderFinisherMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BuilderFinisherMethodResolver.html new file mode 100644 index 000000000..42e82bdc0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/BuilderFinisherMethodResolver.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.BuilderFinisherMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.BuilderFinisherMethodResolver

+
+
No usage of org.mapstruct.ap.internal.model.BuilderFinisherMethodResolver
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/CollectionAssignmentBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/CollectionAssignmentBuilder.html new file mode 100644 index 000000000..c46b6d3fd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/CollectionAssignmentBuilder.html @@ -0,0 +1,242 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.CollectionAssignmentBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.CollectionAssignmentBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Constructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Constructor.html new file mode 100644 index 000000000..17eee7835 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Constructor.html @@ -0,0 +1,276 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.Constructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.Constructor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ContainerMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ContainerMappingMethod.html new file mode 100644 index 000000000..ef6d5aa79 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ContainerMappingMethod.html @@ -0,0 +1,223 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ContainerMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ContainerMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ContainerMappingMethodBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ContainerMappingMethodBuilder.html new file mode 100644 index 000000000..9457d295e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ContainerMappingMethodBuilder.html @@ -0,0 +1,219 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Decorator.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Decorator.Builder.html new file mode 100644 index 000000000..e7ee2ef74 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Decorator.Builder.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Decorator.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Decorator.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Decorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Decorator.html new file mode 100644 index 000000000..3195dcdf3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Decorator.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Decorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Decorator

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DecoratorConstructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DecoratorConstructor.html new file mode 100644 index 000000000..45208bd94 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DecoratorConstructor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.DecoratorConstructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.DecoratorConstructor

+
+
No usage of org.mapstruct.ap.internal.model.DecoratorConstructor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DefaultMapperReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DefaultMapperReference.html new file mode 100644 index 000000000..aa8fb2d8e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DefaultMapperReference.html @@ -0,0 +1,201 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.DefaultMapperReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.DefaultMapperReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DelegatingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DelegatingMethod.html new file mode 100644 index 000000000..24fff4953 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/DelegatingMethod.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.DelegatingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.DelegatingMethod

+
+
No usage of org.mapstruct.ap.internal.model.DelegatingMethod
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Field.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Field.html new file mode 100644 index 000000000..96b2693a2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Field.html @@ -0,0 +1,424 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Field (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Field

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ForgedMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ForgedMethod.html new file mode 100644 index 000000000..ade1c9503 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ForgedMethod.html @@ -0,0 +1,301 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ForgedMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ForgedMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ForgedMethodHistory.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ForgedMethodHistory.html new file mode 100644 index 000000000..eec1673f4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ForgedMethodHistory.html @@ -0,0 +1,320 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ForgedMethodHistory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ForgedMethodHistory

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedType.GeneratedTypeBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedType.GeneratedTypeBuilder.html new file mode 100644 index 000000000..6b0331f25 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedType.GeneratedTypeBuilder.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.GeneratedType.GeneratedTypeBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedType.html new file mode 100644 index 000000000..793d45918 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedType.html @@ -0,0 +1,206 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.GeneratedType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.GeneratedType

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedTypeMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedTypeMethod.html new file mode 100644 index 000000000..91cc45441 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/GeneratedTypeMethod.html @@ -0,0 +1,295 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.GeneratedTypeMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.GeneratedTypeMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/HelperMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/HelperMethod.html new file mode 100644 index 000000000..ec64ec688 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/HelperMethod.html @@ -0,0 +1,269 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.HelperMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.HelperMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableCreation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableCreation.html new file mode 100644 index 000000000..2731b0a0a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableCreation.html @@ -0,0 +1,208 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.IterableCreation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.IterableCreation

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableMappingMethod.Builder.html new file mode 100644 index 000000000..4a1e6d6b0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableMappingMethod.Builder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.IterableMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.IterableMappingMethod.Builder

+
+
No usage of org.mapstruct.ap.internal.model.IterableMappingMethod.Builder
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableMappingMethod.html new file mode 100644 index 000000000..eb7711a37 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/IterableMappingMethod.html @@ -0,0 +1,205 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.IterableMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.IterableMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Javadoc.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Javadoc.Builder.html new file mode 100644 index 000000000..ac042658a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Javadoc.Builder.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Javadoc.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Javadoc.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Javadoc.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Javadoc.html new file mode 100644 index 000000000..c60882c23 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Javadoc.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Javadoc (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Javadoc

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/LifecycleCallbackMethodReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/LifecycleCallbackMethodReference.html new file mode 100644 index 000000000..e51b919a1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/LifecycleCallbackMethodReference.html @@ -0,0 +1,362 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.LifecycleCallbackMethodReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/LifecycleMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/LifecycleMethodResolver.html new file mode 100644 index 000000000..f8ddad135 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/LifecycleMethodResolver.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.LifecycleMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.LifecycleMethodResolver

+
+
No usage of org.mapstruct.ap.internal.model.LifecycleMethodResolver
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapMappingMethod.Builder.html new file mode 100644 index 000000000..e2e03b502 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapMappingMethod.Builder.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.MapMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.MapMappingMethod.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapMappingMethod.html new file mode 100644 index 000000000..f99e9bd1d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapMappingMethod.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.MapMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.MapMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Mapper.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Mapper.Builder.html new file mode 100644 index 000000000..1d56f6e92 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Mapper.Builder.html @@ -0,0 +1,237 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Mapper.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Mapper.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Mapper.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Mapper.html new file mode 100644 index 000000000..42cbda15d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/Mapper.html @@ -0,0 +1,330 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.Mapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.Mapper

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapperReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapperReference.html new file mode 100644 index 000000000..088747ccc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MapperReference.html @@ -0,0 +1,302 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.MapperReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.MapperReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingBuilderContext.MappingResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingBuilderContext.MappingResolver.html new file mode 100644 index 000000000..888b5807d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingBuilderContext.MappingResolver.html @@ -0,0 +1,252 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.MappingBuilderContext.MappingResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.MappingBuilderContext.MappingResolver

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingBuilderContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingBuilderContext.html new file mode 100644 index 000000000..9727bcbc1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingBuilderContext.html @@ -0,0 +1,349 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.MappingBuilderContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.MappingBuilderContext

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingMethod.html new file mode 100644 index 000000000..d7cc840cb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MappingMethod.html @@ -0,0 +1,384 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.MappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.MappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MethodReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MethodReference.html new file mode 100644 index 000000000..397ebde7b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MethodReference.html @@ -0,0 +1,424 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.MethodReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.MethodReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MethodReferencePresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MethodReferencePresenceCheck.html new file mode 100644 index 000000000..5ba831511 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/MethodReferencePresenceCheck.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.MethodReferencePresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.MethodReferencePresenceCheck

+
+
No usage of org.mapstruct.ap.internal.model.MethodReferencePresenceCheck
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.Builder.html new file mode 100644 index 000000000..c9b09dd0a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.Builder.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.SafePropertyEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.SafePropertyEntry.html new file mode 100644 index 000000000..98b5d636f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.SafePropertyEntry.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.NestedPropertyMappingMethod.SafePropertyEntry

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.html new file mode 100644 index 000000000..3872929d2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedPropertyMappingMethod.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.NestedPropertyMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.NestedPropertyMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedTargetPropertyMappingHolder.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedTargetPropertyMappingHolder.Builder.html new file mode 100644 index 000000000..2e2c9c5ff --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedTargetPropertyMappingHolder.Builder.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedTargetPropertyMappingHolder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedTargetPropertyMappingHolder.html new file mode 100644 index 000000000..a4aedc595 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NestedTargetPropertyMappingHolder.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NoArgumentConstructor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NoArgumentConstructor.html new file mode 100644 index 000000000..76cf47b56 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NoArgumentConstructor.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.NoArgumentConstructor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.NoArgumentConstructor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NormalTypeMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NormalTypeMappingMethod.html new file mode 100644 index 000000000..b42ecf01d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/NormalTypeMappingMethod.html @@ -0,0 +1,244 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.NormalTypeMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.NormalTypeMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ObjectFactoryMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ObjectFactoryMethodResolver.html new file mode 100644 index 000000000..07225f7d1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ObjectFactoryMethodResolver.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver

+
+
No usage of org.mapstruct.ap.internal.model.ObjectFactoryMethodResolver
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PresenceCheckMethodResolver.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PresenceCheckMethodResolver.html new file mode 100644 index 000000000..3456f89e6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PresenceCheckMethodResolver.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.PresenceCheckMethodResolver (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.PresenceCheckMethodResolver

+
+
No usage of org.mapstruct.ap.internal.model.PresenceCheckMethodResolver
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.ConstantMappingBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.ConstantMappingBuilder.html new file mode 100644 index 000000000..15f209a86 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.ConstantMappingBuilder.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.PropertyMapping.ConstantMappingBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.JavaExpressionMappingBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.JavaExpressionMappingBuilder.html new file mode 100644 index 000000000..ecc44a228 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.JavaExpressionMappingBuilder.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.PropertyMapping.JavaExpressionMappingBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.PropertyMapping.JavaExpressionMappingBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.PropertyMappingBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.PropertyMappingBuilder.html new file mode 100644 index 000000000..679558770 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.PropertyMappingBuilder.html @@ -0,0 +1,244 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.PropertyMapping.PropertyMappingBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.html new file mode 100644 index 000000000..b0c6e9457 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/PropertyMapping.html @@ -0,0 +1,242 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.PropertyMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.PropertyMapping

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ServicesEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ServicesEntry.html new file mode 100644 index 000000000..cdc87dad4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ServicesEntry.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ServicesEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ServicesEntry

+
+
No usage of org.mapstruct.ap.internal.model.ServicesEntry
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/StreamMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/StreamMappingMethod.Builder.html new file mode 100644 index 000000000..3cb0defb4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/StreamMappingMethod.Builder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.StreamMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.StreamMappingMethod.Builder

+
+
No usage of org.mapstruct.ap.internal.model.StreamMappingMethod.Builder
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/StreamMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/StreamMappingMethod.html new file mode 100644 index 000000000..a41ed1bbf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/StreamMappingMethod.html @@ -0,0 +1,205 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.StreamMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.StreamMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SubclassMapping.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SubclassMapping.html new file mode 100644 index 000000000..0d641e904 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SubclassMapping.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.SubclassMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.SubclassMapping

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingConstructorFragment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingConstructorFragment.html new file mode 100644 index 000000000..851aeb032 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingConstructorFragment.html @@ -0,0 +1,253 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.SupportingConstructorFragment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.SupportingConstructorFragment

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingField.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingField.html new file mode 100644 index 000000000..417d56729 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingField.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.SupportingField (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.SupportingField

+
+
No usage of org.mapstruct.ap.internal.model.SupportingField
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingMappingMethod.html new file mode 100644 index 000000000..abe2c2242 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/SupportingMappingMethod.html @@ -0,0 +1,318 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.SupportingMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.SupportingMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/TypeConversion.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/TypeConversion.html new file mode 100644 index 000000000..ea2e63722 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/TypeConversion.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.TypeConversion (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.TypeConversion

+
+
No usage of org.mapstruct.ap.internal.model.TypeConversion
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.Builder.html new file mode 100644 index 000000000..2eeb8887e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.Builder.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ValueMappingMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ValueMappingMethod.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.MappingEntry.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.MappingEntry.html new file mode 100644 index 000000000..19ddc86a9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.MappingEntry.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ValueMappingMethod.MappingEntry (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ValueMappingMethod.MappingEntry

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.html new file mode 100644 index 000000000..1594bf8c8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/class-use/ValueMappingMethod.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.ValueMappingMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.ValueMappingMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Accessibility.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Accessibility.html new file mode 100644 index 000000000..d04dd7f5b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Accessibility.html @@ -0,0 +1,444 @@ + + + + + +Accessibility (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum Accessibility

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Accessibility[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Accessibility c : Accessibility.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Accessibility valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getKeyword

        +
        public String getKeyword()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Assignment.AssignmentType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Assignment.AssignmentType.html new file mode 100644 index 000000000..3a3832da6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Assignment.AssignmentType.html @@ -0,0 +1,487 @@ + + + + + +Assignment.AssignmentType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum Assignment.AssignmentType

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Assignment.AssignmentType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Assignment.AssignmentType c : Assignment.AssignmentType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Assignment.AssignmentType valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        isDirect

        +
        public boolean isDirect()
        +
      • +
      + + + +
        +
      • +

        isConverted

        +
        public boolean isConverted()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Assignment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Assignment.html new file mode 100644 index 000000000..994dc0fa5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Assignment.html @@ -0,0 +1,602 @@ + + + + + +Assignment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Assignment

+
+
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        Set<Type> getImportTypes()
        +
        returns all types required as import by the assignment statement.
        +
        +
        Returns:
        +
        imported types
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        List<Type> getThrownTypes()
        +
        returns all types exception types thrown by this assignment.
        +
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + +
        +
      • +

        setAssignment

        +
        void setAssignment​(Assignment assignment)
        +
        An assignment in itself can wrap another assignment. E.g.: +
          +
        • a MethodReference can wrap a TypeConversion, another MethodReference and ultimately a Simple
        • +
        • a TypeConversion can wrap a MethodReference, and ultimately a Simple
        • +
        +
        +
        Parameters:
        +
        assignment - the assignment to set
        +
        +
      • +
      + + + +
        +
      • +

        getSourceReference

        +
        String getSourceReference()
        +
        the source reference being a source-getter, a constant, nested method call, etc.
        +
        +
        Returns:
        +
        source reference
        +
        +
      • +
      + + + +
        +
      • +

        isSourceReferenceParameter

        +
        boolean isSourceReferenceParameter()
        +
        +
        Returns:
        +
        true when the source reference is the source parameter (and not a property of the source parameter type)
        +
        +
      • +
      + + + +
        +
      • +

        getSourcePresenceCheckerReference

        +
        PresenceCheck getSourcePresenceCheckerReference()
        +
        the source presence checker reference
        +
        +
        Returns:
        +
        source reference
        +
        +
      • +
      + + + +
        +
      • +

        getSourceType

        +
        Type getSourceType()
        +
        the source type used in the matching process
        +
        +
        Returns:
        +
        source type (can be null)
        +
        +
      • +
      + + + +
        +
      • +

        createUniqueVarName

        +
        String createUniqueVarName​(String desiredName)
        +
        Creates an unique safe (local) variable name.
        +
        +
        Parameters:
        +
        desiredName - the desired name
        +
        Returns:
        +
        the desired name, made unique in the scope of the bean mapping.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceParameterName

        +
        String getSourceParameterName()
        +
        Returns the source parameter name, to which this assignment applies. Note: the source parameter itself might + be mapped by this assignment, or one of its properties
        +
        +
        Returns:
        +
        the source parameter name
        +
        +
      • +
      + + + +
        +
      • +

        setSourceLocalVarName

        +
        void setSourceLocalVarName​(String sourceLocalVarName)
        +
        Replaces the sourceReference at the call site in the assignment in the template with this sourceLocalVarName. + The sourceLocalVarName can subsequently be used for e.g. null checking.
        +
        +
        Parameters:
        +
        sourceLocalVarName - source local variable name
        +
        +
      • +
      + + + +
        +
      • +

        getSourceLoopVarName

        +
        String getSourceLoopVarName()
        +
        See getSourceLoopVarName() (java.lang.String) }
        +
        +
        Returns:
        +
        loop variable (can be null if not set)
        +
        +
      • +
      + + + +
        +
      • +

        setSourceLoopVarName

        +
        void setSourceLoopVarName​(String sourceLoopVarName)
        +
        Replaces the sourceLocalVar or sourceReference at the call site in the assignment in the template with this + sourceLoopVarName. + The sourceLocalVar can subsequently be used for e.g. null checking.
        +
        +
        Parameters:
        +
        sourceLoopVarName - loop variable
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isCallingUpdateMethod

        +
        boolean isCallingUpdateMethod()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/BuilderType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/BuilderType.html new file mode 100644 index 000000000..9934b59fe --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/BuilderType.html @@ -0,0 +1,392 @@ + + + + + +BuilderType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BuilderType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.common.BuilderType
    • +
    +
  • +
+
+
    +
  • +
    +
    public class BuilderType
    +extends Object
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getBuilder

        +
        public Type getBuilder()
        +
        The type of the builder itself.
        +
        +
        Returns:
        +
        the type for the builder
        +
        +
      • +
      + + + +
        +
      • +

        getOwningType

        +
        public Type getOwningType()
        +
        The owning type of the builder, this can be the builder itself, the type that is build by the builder or some + other type.
        +
        +
        Returns:
        +
        the owning type
        +
        +
      • +
      + + + +
        +
      • +

        getBuildingType

        +
        public Type getBuildingType()
        +
        The type that is being built by the builder.
        +
        +
        Returns:
        +
        the type that is being built
        +
        +
      • +
      + + + +
        +
      • +

        getBuilderCreationMethod

        +
        public ExecutableElement getBuilderCreationMethod()
        +
        The creation method for the builder.
        +
        +
        Returns:
        +
        the creation method for the builder
        +
        +
      • +
      + + + +
        +
      • +

        getBuildMethods

        +
        public Collection<ExecutableElement> getBuildMethods()
        +
        The build methods that can be invoked to create the type being built.
        +
        +
        Returns:
        +
        the build methods that can be invoked to create the type being built
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ConstructorFragment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ConstructorFragment.html new file mode 100644 index 000000000..7aa044037 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ConstructorFragment.html @@ -0,0 +1,199 @@ + + + + + +ConstructorFragment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ConstructorFragment

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    NewDatatypeFactoryConstructorFragment
    +
    +
    +
    public interface ConstructorFragment
    +
    ConstructorFragments are 'code snippets' added to the constructor to initialize fields used by + BuiltInMethod/HelperMethod
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ConversionContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ConversionContext.html new file mode 100644 index 000000000..3def3ce92 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ConversionContext.html @@ -0,0 +1,324 @@ + + + + + +ConversionContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ConversionContext

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    DefaultConversionContext
    +
    +
    +
    public interface ConversionContext
    +
    Context object passed to conversion providers and built-in methods.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTargetType

        +
        Type getTargetType()
        +
        Returns the target type of this conversion.
        +
        +
        Returns:
        +
        The target type of this conversion.
        +
        +
      • +
      + + + +
        +
      • +

        getDateFormat

        +
        String getDateFormat()
        +
        Returns the date format if this conversion or built-in method is from String to a date type (e.g. Date) + or vice versa.
        +
        +
        Returns:
        +
        The date format if this conversion or built-in method is from String to a date type. null is + returned for other types or if not given.
        +
        +
      • +
      + + + +
        +
      • +

        getNumberFormat

        +
        String getNumberFormat()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/DefaultConversionContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/DefaultConversionContext.html new file mode 100644 index 000000000..d375acb0a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/DefaultConversionContext.html @@ -0,0 +1,418 @@ + + + + + +DefaultConversionContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultConversionContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.common.DefaultConversionContext
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FieldReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FieldReference.html new file mode 100644 index 000000000..d8a9f2ee8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FieldReference.html @@ -0,0 +1,301 @@ + + + + + +FieldReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface FieldReference

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    FinalField, GetDateTimeFormatterField
    +
    +
    +
    public interface FieldReference
    +
    reference used by BuiltInMethod/HelperMethod to create an additional field in the mapper.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getVariableName

        +
        String getVariableName()
        +
        +
        Returns:
        +
        variable name of the field
        +
        +
      • +
      + + + +
        +
      • +

        getType

        +
        Type getType()
        +
        +
        Returns:
        +
        type of the field
        +
        +
      • +
      + + + +
        +
      • +

        getTemplateParameter

        +
        default Map<String,​Object> getTemplateParameter()
        +
        +
        Returns:
        +
        additional template parameters
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FinalField.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FinalField.html new file mode 100644 index 000000000..1543242ef --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FinalField.html @@ -0,0 +1,360 @@ + + + + + +FinalField (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FinalField

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FinalField

        +
        public FinalField​(Type type,
        +                  String variableName)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FormattingParameters.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FormattingParameters.html new file mode 100644 index 000000000..2d4033705 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/FormattingParameters.html @@ -0,0 +1,425 @@ + + + + + +FormattingParameters (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FormattingParameters

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.common.FormattingParameters
    • +
    +
  • +
+
+
    +
  • +
    +
    public class FormattingParameters
    +extends Object
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ImplementationType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ImplementationType.html new file mode 100644 index 000000000..aa72ccb6d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ImplementationType.html @@ -0,0 +1,394 @@ + + + + + +ImplementationType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ImplementationType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.common.ImplementationType
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ImplementationType
    +extends Object
    +
    This is a wrapper class for the Implementation types that are used within MapStruct. It contains all the + information needed for an Iterable creation
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
        +
        Returns:
        +
        the underlying Type
        +
        +
      • +
      + + + +
        +
      • +

        hasInitialCapacityConstructor

        +
        public boolean hasInitialCapacityConstructor()
        +
        +
        Returns:
        +
        true if the underlying type has a constructor for int initialCapacity, + false otherwise
        +
        +
      • +
      + + + +
        +
      • +

        isLoadFactorAdjustment

        +
        public boolean isLoadFactorAdjustment()
        +
        If this method returns true then hasInitialCapacityConstructor() also returns true
        +
        +
        Returns:
        +
        true if the underlying type needs adjustment for the initial capacity constructor, + false otherwise
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ModelElement.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ModelElement.html new file mode 100644 index 000000000..fe4de07ee --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ModelElement.html @@ -0,0 +1,362 @@ + + + + + +ModelElement (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ModelElement

+
+
+ + +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ModelElement

        +
        public ModelElement()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public abstract Set<Type> getImportTypes()
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/NegatePresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/NegatePresenceCheck.html new file mode 100644 index 000000000..4529d41f9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/NegatePresenceCheck.html @@ -0,0 +1,439 @@ + + + + + +NegatePresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NegatePresenceCheck

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NegatePresenceCheck

        +
        public NegatePresenceCheck​(PresenceCheck presenceCheck)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Parameter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Parameter.html new file mode 100644 index 000000000..ad788be44 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Parameter.html @@ -0,0 +1,719 @@ + + + + + +Parameter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Parameter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    public class Parameter
    +extends ModelElement
    +
    A parameter of a mapping method.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Parameter

        +
        public Parameter​(String name,
        +                 Type type)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getElement

        +
        public Element getElement()
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getOriginalName

        +
        public String getOriginalName()
        +
      • +
      + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
      • +
      + + + +
        +
      • +

        isMappingTarget

        +
        public boolean isMappingTarget()
        +
      • +
      + + + + + + + +
        +
      • +

        describe

        +
        public String describe()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isTargetType

        +
        public boolean isTargetType()
        +
      • +
      + + + +
        +
      • +

        isMappingContext

        +
        public boolean isMappingContext()
        +
      • +
      + + + +
        +
      • +

        isTargetPropertyName

        +
        public boolean isTargetPropertyName()
        +
      • +
      + + + +
        +
      • +

        isVarArgs

        +
        public boolean isVarArgs()
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        forElementAndType

        +
        public static Parameter forElementAndType​(VariableElement element,
        +                                          Type parameterType,
        +                                          boolean isVarArgs)
        +
      • +
      + + + +
        +
      • +

        forForgedMappingTarget

        +
        public static Parameter forForgedMappingTarget​(Type parameterType)
        +
      • +
      + + + +
        +
      • +

        getSourceParameters

        +
        public static List<Parameter> getSourceParameters​(List<Parameter> parameters)
        +
        +
        Parameters:
        +
        parameters - the parameters to filter
        +
        Returns:
        +
        the parameters from the given list that are considered 'source parameters'
        +
        +
      • +
      + + + +
        +
      • +

        getSourceParameter

        +
        public static Parameter getSourceParameter​(List<Parameter> parameters,
        +                                           String sourceParameterName)
        +
        +
        Parameters:
        +
        parameters - the parameters to scan
        +
        sourceParameterName - the source parameter name to match
        +
        Returns:
        +
        the parameters from the given list that are considered 'source parameters'
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameters

        +
        public static List<Parameter> getContextParameters​(List<Parameter> parameters)
        +
        +
        Parameters:
        +
        parameters - the parameters to filter
        +
        Returns:
        +
        the parameters from the given list that are marked as 'mapping context parameters'
        +
        +
      • +
      + + + +
        +
      • +

        getMappingTargetParameter

        +
        public static Parameter getMappingTargetParameter​(List<Parameter> parameters)
        +
      • +
      + + + +
        +
      • +

        getTargetTypeParameter

        +
        public static Parameter getTargetTypeParameter​(List<Parameter> parameters)
        +
      • +
      + + + +
        +
      • +

        getTargetPropertyNameParameter

        +
        public static Parameter getTargetPropertyNameParameter​(List<Parameter> parameters)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ParameterBinding.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ParameterBinding.html new file mode 100644 index 000000000..3d655f899 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/ParameterBinding.html @@ -0,0 +1,558 @@ + + + + + +ParameterBinding (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ParameterBinding

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.common.ParameterBinding
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ParameterBinding
    +extends Object
    +
    Represents how one parameter of a method to be called is populated.
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getVariableName

        +
        public String getVariableName()
        +
        +
        Returns:
        +
        the name of the variable (or parameter) that is being used as argument for the parameter being bound.
        +
        +
      • +
      + + + +
        +
      • +

        isTargetType

        +
        public boolean isTargetType()
        +
        +
        Returns:
        +
        true, if the parameter being bound is a @TargetType parameter.
        +
        +
      • +
      + + + +
        +
      • +

        isMappingTarget

        +
        public boolean isMappingTarget()
        +
        +
        Returns:
        +
        true, if the parameter being bound is a @MappingTarget parameter.
        +
        +
      • +
      + + + +
        +
      • +

        isMappingContext

        +
        public boolean isMappingContext()
        +
        +
        Returns:
        +
        true, if the parameter being bound is a @MappingContext parameter.
        +
        +
      • +
      + + + +
        +
      • +

        isTargetPropertyName

        +
        public boolean isTargetPropertyName()
        +
        +
        Returns:
        +
        true, if the parameter being bound is a @TargetPropertyName parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getType

        +
        public Type getType()
        +
        +
        Returns:
        +
        the type of the parameter that is bound
        +
        +
      • +
      + + + +
        +
      • +

        getSourceRHS

        +
        public SourceRHS getSourceRHS()
        +
        +
        Returns:
        +
        the sourceRHS that this parameter is bound to
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
      • +
      + + + +
        +
      • +

        fromParameter

        +
        public static ParameterBinding fromParameter​(Parameter parameter)
        +
        +
        Parameters:
        +
        parameter - parameter
        +
        Returns:
        +
        a parameter binding reflecting the given parameter as being used as argument for a method call
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        forTargetTypeBinding

        +
        public static ParameterBinding forTargetTypeBinding​(Type classTypeOf)
        +
        +
        Parameters:
        +
        classTypeOf - the type representing Class<X> for the target type X
        +
        Returns:
        +
        a parameter binding representing a target type parameter
        +
        +
      • +
      + + + +
        +
      • +

        forTargetPropertyNameBinding

        +
        public static ParameterBinding forTargetPropertyNameBinding​(Type classTypeOf)
        +
        +
        Returns:
        +
        a parameter binding representing a target property name parameter
        +
        +
      • +
      + + + +
        +
      • +

        forMappingTargetBinding

        +
        public static ParameterBinding forMappingTargetBinding​(Type resultType)
        +
        +
        Parameters:
        +
        resultType - type of the mapping target
        +
        Returns:
        +
        a parameter binding representing a mapping target parameter
        +
        +
      • +
      + + + +
        +
      • +

        forSourceTypeBinding

        +
        public static ParameterBinding forSourceTypeBinding​(Type sourceType)
        +
        +
        Parameters:
        +
        sourceType - type of the parameter
        +
        Returns:
        +
        a parameter binding representing a mapping source type
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/PresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/PresenceCheck.html new file mode 100644 index 000000000..e9be8f0d4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/PresenceCheck.html @@ -0,0 +1,285 @@ + + + + + +PresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface PresenceCheck

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        Set<Type> getImportTypes()
        +
        returns all types required as import by the presence check.
        +
        +
        Returns:
        +
        imported types
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/SourceRHS.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/SourceRHS.html new file mode 100644 index 000000000..05c0048e8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/SourceRHS.html @@ -0,0 +1,850 @@ + + + + + +SourceRHS (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceRHS

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Assignment, Writable
    +
    +
    +
    public class SourceRHS
    +extends ModelElement
    +implements Assignment
    +
    SourceRHS Assignment. Right Hand Side (RHS), source part of the assignment. + + This class contains all information on the source side of an assignment needed for common use in the mapping.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SourceRHS

        +
        public SourceRHS​(String sourceReference,
        +                 Type sourceType,
        +                 Set<String> existingVariableNames,
        +                 String sourceErrorMessagePart)
        +
      • +
      + + + +
        +
      • +

        SourceRHS

        +
        public SourceRHS​(String sourceParameterName,
        +                 String sourceReference,
        +                 PresenceCheck sourcePresenceCheckerReference,
        +                 Type sourceType,
        +                 Set<String> existingVariableNames,
        +                 String sourceErrorMessagePart)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSourceReference

        +
        public String getSourceReference()
        +
        Description copied from interface: Assignment
        +
        the source reference being a source-getter, a constant, nested method call, etc.
        +
        +
        Specified by:
        +
        getSourceReference in interface Assignment
        +
        Returns:
        +
        source reference
        +
        +
      • +
      + + + +
        +
      • +

        isSourceReferenceParameter

        +
        public boolean isSourceReferenceParameter()
        +
        +
        Specified by:
        +
        isSourceReferenceParameter in interface Assignment
        +
        Returns:
        +
        true when the source reference is the source parameter (and not a property of the source parameter type)
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourcePresenceCheckerReference

        +
        public void setSourcePresenceCheckerReference​(PresenceCheck sourcePresenceCheckerReference)
        +
      • +
      + + + +
        +
      • +

        getSourceType

        +
        public Type getSourceType()
        +
        Description copied from interface: Assignment
        +
        the source type used in the matching process
        +
        +
        Specified by:
        +
        getSourceType in interface Assignment
        +
        Returns:
        +
        source type (can be null)
        +
        +
      • +
      + + + +
        +
      • +

        createUniqueVarName

        +
        public String createUniqueVarName​(String desiredName)
        +
        Description copied from interface: Assignment
        +
        Creates an unique safe (local) variable name.
        +
        +
        Specified by:
        +
        createUniqueVarName in interface Assignment
        +
        Parameters:
        +
        desiredName - the desired name
        +
        Returns:
        +
        the desired name, made unique in the scope of the bean mapping.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLocalVarName

        +
        public void setSourceLocalVarName​(String sourceLocalVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceReference at the call site in the assignment in the template with this sourceLocalVarName. + The sourceLocalVarName can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLocalVarName in interface Assignment
        +
        Parameters:
        +
        sourceLocalVarName - source local variable name
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSourceLoopVarName

        +
        public void setSourceLoopVarName​(String sourceLoopVarName)
        +
        Description copied from interface: Assignment
        +
        Replaces the sourceLocalVar or sourceReference at the call site in the assignment in the template with this + sourceLoopVarName. + The sourceLocalVar can subsequently be used for e.g. null checking.
        +
        +
        Specified by:
        +
        setSourceLoopVarName in interface Assignment
        +
        Parameters:
        +
        sourceLoopVarName - loop variable
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface Assignment
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Assignment
        +
        returns all types exception types thrown by this assignment.
        +
        +
        Specified by:
        +
        getThrownTypes in interface Assignment
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + +
        +
      • +

        setAssignment

        +
        public void setAssignment​(Assignment assignment)
        +
        Description copied from interface: Assignment
        +
        An assignment in itself can wrap another assignment. E.g.: +
          +
        • a MethodReference can wrap a TypeConversion, another MethodReference and ultimately a Simple
        • +
        • a TypeConversion can wrap a MethodReference, and ultimately a Simple
        • +
        +
        +
        Specified by:
        +
        setAssignment in interface Assignment
        +
        Parameters:
        +
        assignment - the assignment to set
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        getSourceErrorMessagePart

        +
        public String getSourceErrorMessagePart()
        +
      • +
      + + + +
        +
      • +

        getSourceTypeForMatching

        +
        public Type getSourceTypeForMatching()
        +
        The source type that is to be used when resolving the mapping from source to target.
        +
        +
        Returns:
        +
        the source type to be used in the matching process.
        +
        +
      • +
      + + + +
        +
      • +

        setUseElementAsSourceTypeForMatching

        +
        public void setUseElementAsSourceTypeForMatching​(boolean useElementAsSourceTypeForMatching)
        +
        For collection type, use element as source type to find a suitable mapping method.
        +
        +
        Parameters:
        +
        useElementAsSourceTypeForMatching - uses the element of a collection as source type for the matching process
        +
        +
      • +
      + + + +
        +
      • +

        getSourceParameterName

        +
        public String getSourceParameterName()
        +
        Description copied from interface: Assignment
        +
        Returns the source parameter name, to which this assignment applies. Note: the source parameter itself might + be mapped by this assignment, or one of its properties
        +
        +
        Specified by:
        +
        getSourceParameterName in interface Assignment
        +
        Returns:
        +
        the source parameter name
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Type.ResolvedPair.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Type.ResolvedPair.html new file mode 100644 index 000000000..d6186c903 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Type.ResolvedPair.html @@ -0,0 +1,373 @@ + + + + + +Type.ResolvedPair (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Type.ResolvedPair

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.common.Type.ResolvedPair
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    Type
    +
    +
    +
    public static class Type.ResolvedPair
    +extends Object
    +
    Reflects any Resolved Pair, examples are + T, String + ? extends T, BigDecimal + T[], Integer[]
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ResolvedPair

        +
        public ResolvedPair​(Type parameter,
        +                    Type match)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Type getParameter()
        +
      • +
      + + + +
        +
      • +

        getMatch

        +
        public Type getMatch()
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Type.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Type.html new file mode 100644 index 000000000..4c0ec532f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/Type.html @@ -0,0 +1,1871 @@ + + + + + +Type (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Comparable<Type>, Writable
    +
    +
    +
    public class Type
    +extends ModelElement
    +implements Comparable<Type>
    +
    Represents (a reference to) the type of a bean property, parameter etc. Types are managed per generated source file. + Each type corresponds to a TypeMirror, i.e. there are different instances for e.g. Set<String> and + Set<Integer>. +

    + Allows for a unified handling of declared and primitive types and usage within templates. Instances are obtained + through TypeFactory.

    +
    +
    Author:
    +
    Gunnar Morling, Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTypeMirror

        +
        public TypeMirror getTypeMirror()
        +
      • +
      + + + +
        +
      • +

        getTypeElement

        +
        public TypeElement getTypeElement()
        +
      • +
      + + + +
        +
      • +

        getPackageName

        +
        public String getPackageName()
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        createReferenceName

        +
        public String createReferenceName()
        +
        Returns a String that could be used in generated code to reference to this Type.
        +

        + The first time a name is referred-to it will be marked as to be imported. For instance + LocalDateTime can be one of java.time.LocalDateTime and org.joda.LocalDateTime) +

        + If the java.time variant is referred to first, the java.time.LocalDateTime will be imported + and the org.joda variant will be referred to with its FQN. +

        + If the type is nested and its top level type is to be imported + then the name including its top level type will be returned.

        +
        +
        Returns:
        +
        Just the name if this Type will be imported, the name up to the top level Type + (if the top level type is important, otherwise the fully-qualified name.
        +
        +
      • +
      + + + +
        +
      • +

        getTypeParameters

        +
        public List<Type> getTypeParameters()
        +
      • +
      + + + +
        +
      • +

        getComponentType

        +
        public Type getComponentType()
        +
      • +
      + + + +
        +
      • +

        isPrimitive

        +
        public boolean isPrimitive()
        +
      • +
      + + + +
        +
      • +

        isInterface

        +
        public boolean isInterface()
        +
      • +
      + + + +
        +
      • +

        isEnumType

        +
        public boolean isEnumType()
        +
      • +
      + + + +
        +
      • +

        isVoid

        +
        public boolean isVoid()
        +
      • +
      + + + +
        +
      • +

        isAbstract

        +
        public boolean isAbstract()
        +
      • +
      + + + +
        +
      • +

        isString

        +
        public boolean isString()
        +
      • +
      + + + +
        +
      • +

        getEnumConstants

        +
        public List<String> getEnumConstants()
        +
        +
        Returns:
        +
        this type's enum constants in case it is an enum, an empty list otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getImplementationType

        +
        public Type getImplementationType()
        +
        Returns the implementation type to be instantiated in case this type is an interface iterable, collection or map + type. The type will have the correct type arguments, so if this type e.g. represents Set<String>, the + implementation type is HashSet<String>.
        +
        +
        Returns:
        +
        The implementation type to be instantiated in case this type is an interface iterable, collection or map + type, null otherwise.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isIterableType

        +
        public boolean isIterableType()
        +
        Whether this type is a sub-type of Iterable or an array type.
        +
        +
        Returns:
        +
        true if this type is a sub-type of Iterable or an array type, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isIterableOrStreamType

        +
        public boolean isIterableOrStreamType()
        +
        Whether this type is a sub-type ofIterable, Stream or an array type
        +
        +
        Returns:
        +
        true if this type is a sub-type ofIterable, Stream or + an array type, false otherwise
        +
        +
      • +
      + + + +
        +
      • +

        isCollectionType

        +
        public boolean isCollectionType()
        +
      • +
      + + + +
        +
      • +

        isMapType

        +
        public boolean isMapType()
        +
      • +
      + + + +
        +
      • +

        isCollectionOrMapType

        +
        public boolean isCollectionOrMapType()
        +
      • +
      + + + +
        +
      • +

        isArrayType

        +
        public boolean isArrayType()
        +
      • +
      + + + +
        +
      • +

        isTypeVar

        +
        public boolean isTypeVar()
        +
      • +
      + + + +
        +
      • +

        isIntersection

        +
        public boolean isIntersection()
        +
      • +
      + + + +
        +
      • +

        isJavaLangType

        +
        public boolean isJavaLangType()
        +
      • +
      + + + +
        +
      • +

        isRecord

        +
        public boolean isRecord()
        +
      • +
      + + + +
        +
      • +

        isStreamType

        +
        public boolean isStreamType()
        +
        Whether this type is a sub-type of Stream.
        +
        +
        Returns:
        +
        true it this type is a sub-type of Stream, false otherwise
        +
        +
      • +
      + + + +
        +
      • +

        hasSuperBound

        +
        public boolean hasSuperBound()
        +
        A wild card type can have two types of bounds (mutual exclusive): extends and super.
        +
        +
        Returns:
        +
        true if the bound has a wild card super bound (e.g. ? super Number)
        +
        +
      • +
      + + + +
        +
      • +

        hasExtendsBound

        +
        public boolean hasExtendsBound()
        +
        A wild card type can have two types of bounds (mutual exclusive): extends and super.
        +
        +
        Returns:
        +
        true if the bound has a wild card super bound (e.g. ? extends Number)
        +
        +
      • +
      + + + +
        +
      • +

        hasLowerBound

        +
        public boolean hasLowerBound()
        +
        A type variable type can have two types of bounds (mutual exclusive): lower and upper. + + Note that its use is only permitted on a definition (not on the place where its used). For instance: + <T super Number> T map( T in)
        +
        +
        Returns:
        +
        true if the bound has a type variable lower bound (e.g. T super Number)
        +
        +
      • +
      + + + +
        +
      • +

        hasUpperBound

        +
        public boolean hasUpperBound()
        +
        A type variable type can have two types of bounds (mutual exclusive): lower and upper. + + Note that its use is only permitted on a definition (not on the place where its used). For instance: + ><T extends Number> T map( T in)
        +
        +
        Returns:
        +
        true if the bound has a type variable upper bound (e.g. T extends Number)
        +
        +
      • +
      + + + +
        +
      • +

        getFullyQualifiedName

        +
        public String getFullyQualifiedName()
        +
      • +
      + + + +
        +
      • +

        getImportName

        +
        public String getImportName()
        +
        +
        Returns:
        +
        The name of this type as to be used within import statements.
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        isTopLevelTypeToBeImported

        +
        protected boolean isTopLevelTypeToBeImported()
        +
      • +
      + + + +
        +
      • +

        isToBeImported

        +
        public boolean isToBeImported()
        +
        Whether this type is to be imported by means of an import statement in the currently generated source file + (it can be referenced in the generated source using its simple name) or not (referenced using the FQN).
        +
        +
        Returns:
        +
        true if the type is imported, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        erasure

        +
        public Type erasure()
        +
      • +
      + + + +
        +
      • +

        withoutBounds

        +
        public Type withoutBounds()
        +
      • +
      + + + +
        +
      • +

        isAssignableTo

        +
        public boolean isAssignableTo​(Type other)
        +
        Whether this type is assignable to the given other type, considering the "extends / upper bounds" + as well.
        +
        +
        Parameters:
        +
        other - The other type.
        +
        Returns:
        +
        true if and only if this type is assignable to the given other type.
        +
        +
      • +
      + + + +
        +
      • +

        isRawAssignableTo

        +
        public boolean isRawAssignableTo​(Type other)
        +
        Whether this type is raw assignable to the given other type. We can't make a verdict on typevars, + they need to be resolved first.
        +
        +
        Parameters:
        +
        other - The other type.
        +
        Returns:
        +
        true if and only if this type is assignable to the given other type.
        +
        +
      • +
      + + + +
        +
      • +

        asRawType

        +
        public Type asRawType()
        +
        removes any bounds from this type.
        +
        +
        Returns:
        +
        the raw type
        +
        +
      • +
      + + + +
        +
      • +

        getReadAccessor

        +
        public ReadAccessor getReadAccessor​(String propertyName,
        +                                    boolean allowedMapToBean)
        +
      • +
      + + + + + + + +
        +
      • +

        getPropertyReadAccessors

        +
        public Map<String,​ReadAccessor> getPropertyReadAccessors()
        +
        getPropertyReadAccessors
        +
        +
        Returns:
        +
        an unmodifiable map of all read accessors (including 'is' for booleans), indexed by property name
        +
        +
      • +
      + + + +
        +
      • +

        getPropertyPresenceCheckers

        +
        public Map<String,​PresenceCheckAccessor> getPropertyPresenceCheckers()
        +
        getPropertyPresenceCheckers
        +
        +
        Returns:
        +
        an unmodifiable map of all presence checkers, indexed by property name
        +
        +
      • +
      + + + +
        +
      • +

        getPropertyWriteAccessors

        +
        public Map<String,​Accessor> getPropertyWriteAccessors​(org.mapstruct.ap.internal.gem.CollectionMappingStrategyGem cmStrategy)
        +
        getPropertyWriteAccessors returns a map of the write accessors according to the CollectionMappingStrategy. These + accessors include: +
          +
        • setters, the obvious candidate :-), getSetters()
        • +
        • readAccessors, for collections that do not have a setter, e.g. for JAXB generated collection attributes + getPropertyReadAccessors()
        • +
        • adders, typically for from table generated entities, getAdders()
        • +
        +
        +
        Parameters:
        +
        cmStrategy - collection mapping strategy
        +
        Returns:
        +
        an unmodifiable map of all write accessors indexed by property name
        +
        +
      • +
      + + + +
        +
      • +

        getRecordComponents

        +
        public List<Element> getRecordComponents()
        +
      • +
      + + + +
        +
      • +

        distanceTo

        +
        public int distanceTo​(Type assignableOther)
        +
        Returns the length of the shortest path in the type hierarchy between this type and the specified other type. + Returns -1 if this type is not assignable to the other type. Returns 0 if this type is equal to + the other type. Returns 1, if the other type is a direct super type of this type, and so on.
        +
        +
        Parameters:
        +
        assignableOther - the other type
        +
        Returns:
        +
        the length of the shortest path in the type hierarchy between this type and the specified other type
        +
        +
      • +
      + + + +
        +
      • +

        canAccess

        +
        public boolean canAccess​(Type type,
        +                         ExecutableElement method)
        +
        +
        Parameters:
        +
        type - the type declaring the method
        +
        method - the method to check
        +
        Returns:
        +
        Whether this type can access the given method declared on the given type.
        +
        +
      • +
      + + + +
        +
      • +

        getNull

        +
        public String getNull()
        +
        +
        Returns:
        +
        A valid Java expression most suitable for representing null - useful for dealing with primitives from + FTL.
        +
        +
      • +
      + + + +
        +
      • +

        getSensibleDefault

        +
        public String getSensibleDefault()
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        describe

        +
        public String describe()
        +
        +
        Returns:
        +
        a string representation of the type for use in messages
        +
        +
      • +
      + + + +
        +
      • +

        getIdentification

        +
        public String getIdentification()
        +
        +
        Returns:
        +
        an identification that can be used as part in a forged method name.
        +
        +
      • +
      + + + +
        +
      • +

        getTypeBound

        +
        public Type getTypeBound()
        +
        Establishes the type bound: +
          +
        1. <? extends Number>, returns Number
        2. +
        3. <? super Number>, returns Number
        4. +
        5. <?>, returns Object
        6. +
        7. <T extends Number>, returns Number
        8. +
        +
        +
        Returns:
        +
        the bound for this parameter
        +
        +
      • +
      + + + +
        +
      • +

        getTypeBounds

        +
        public List<Type> getTypeBounds()
        +
      • +
      + + + +
        +
      • +

        hasAccessibleConstructor

        +
        public boolean hasAccessibleConstructor()
        +
      • +
      + + + +
        +
      • +

        getDirectSuperTypes

        +
        public List<Type> getDirectSuperTypes()
        +
        Returns the direct supertypes of a type. The interface types, if any, + will appear last in the list.
        +
        +
        Returns:
        +
        the direct supertypes, or an empty list if none
        +
        +
      • +
      + + + +
        +
      • +

        determineTypeArguments

        +
        public List<Type> determineTypeArguments​(Class<?> superclass)
        +
        Searches for the given superclass and collects all type arguments for the given class
        +
        +
        Parameters:
        +
        superclass - the superclass or interface the generic type arguments are searched for
        +
        Returns:
        +
        a list of type arguments or null, if superclass was not found
        +
        +
      • +
      + + + +
        +
      • +

        isNative

        +
        public boolean isNative()
        +
        All primitive types and their corresponding boxed types are considered native.
        +
        +
        Returns:
        +
        true when native.
        +
        +
      • +
      + + + +
        +
      • +

        isLiteral

        +
        public boolean isLiteral()
        +
      • +
      + + + +
        +
      • +

        resolveParameterToType

        +
        public Type.ResolvedPair resolveParameterToType​(Type declared,
        +                                                Type parameterized)
        +
        Steps through the declaredType in order to find a match for this typeVar Type. It aligns with + the provided parameterized type where this typeVar type is used.
        +
        + For example:
        + 
        + this: T
        + declaredType: JAXBElement<String>
        + parameterizedType: JAXBElement<T>
        + result: String
        +
        +
        + this: T, T[] or ? extends T,
        + declaredType: E.g. Callable<? extends T>
        + parameterizedType: Callable<BigDecimal>
        + return: BigDecimal
        + 
        + 
        +
        +
        Parameters:
        +
        declared - the type
        +
        parameterized - the parameterized type
        +
        Returns:
        +
        - the same type when this is not a type var in the broadest sense (T, T[], or ? extends T)
        + - the matching parameter in the parameterized type when this is a type var when found
        + - null in all other cases
        +
        +
      • +
      + + + +
        +
      • +

        resolveGenericTypeParameters

        +
        public Type resolveGenericTypeParameters​(Type declared,
        +                                         Type parameterized)
        +
        Resolves generic types using the declared and parameterized types as input.
        +
        + For example: +
        + 
        + this: T
        + declaredType: JAXBElement<T>
        + parameterizedType: JAXBElement<Integer>
        + result: Integer
        +
        + this: List<T>
        + declaredType: JAXBElement<T>
        + parameterizedType: JAXBElement<Integer>
        + result: List<Integer>
        +
        + this: List<? extends T>
        + declaredType: JAXBElement<? extends T>
        + parameterizedType: JAXBElement<BigDecimal>
        + result: List<BigDecimal>
        +
        + this: List<Optional<T>>
        + declaredType: JAXBElement<T>
        + parameterizedType: JAXBElement<BigDecimal>
        + result: List<Optional<BigDecimal>>
        + 
        + 
        + It also works for partial matching.
        +
        + For example: +
        + 
        + this: Map<K, V>
        + declaredType: JAXBElement<K>
        + parameterizedType: JAXBElement<BigDecimal>
        + result: Map<BigDecimal, V>
        + 
        + 
        + It also works with multiple parameters at both sides.
        +
        + For example when reversing Key/Value for a Map: +
        + 
        + this: Map<KEY, VALUE>
        + declaredType: HashMap<VALUE, KEY>
        + parameterizedType: HashMap<BigDecimal, String>
        + result: Map<String, BigDecimal>
        + 
        + 
        + + Mismatch result examples: +
        + 
        + this: T
        + declaredType: JAXBElement<Y>
        + parameterizedType: JAXBElement<Integer>
        + result: null
        +
        + this: List<T>
        + declaredType: JAXBElement<Y>
        + parameterizedType: JAXBElement<Integer>
        + result: List<T>
        + 
        + 
        +
        +
        Parameters:
        +
        declared - the type
        +
        parameterized - the parameterized type
        +
        Returns:
        +
        - the result of resolveParameterToType(Type, Type) when this type itself is a type var.
        + - the type but then with the matching type parameters replaced.
        + - the same type when this type does not contain matching type parameters.
        +
        +
      • +
      + + + +
        +
      • +

        isWildCardBoundByTypeVar

        +
        public boolean isWildCardBoundByTypeVar()
        +
      • +
      + + + +
        +
      • +

        isArrayTypeVar

        +
        public boolean isArrayTypeVar()
        +
      • +
      + + + +
        +
      • +

        getBoxedEquivalent

        +
        public Type getBoxedEquivalent()
        +
        Gets the boxed equivalent type if the type is primitive, int will return Integer
        +
        +
        Returns:
        +
        boxed equivalent
        +
        +
      • +
      + + + +
        +
      • +

        isEnumSet

        +
        public boolean isEnumSet()
        +
      • +
      + + + +
        +
      • +

        isSealed

        +
        public boolean isSealed()
        +
        return true if this type is a java 17+ sealed class
        +
      • +
      + + + +
        +
      • +

        getPermittedSubclasses

        +
        public List<? extends TypeMirror> getPermittedSubclasses()
        +
        return the list of permitted TypeMirrors for the java 17+ sealed class
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/TypeFactory.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/TypeFactory.html new file mode 100644 index 000000000..2b666e1ac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/TypeFactory.html @@ -0,0 +1,753 @@ + + + + + +TypeFactory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TypeFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.common.TypeFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    public class TypeFactory
    +extends Object
    +
    Factory creating Type instances.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTypeForLiteral

        +
        public Type getTypeForLiteral​(Class<?> type)
        +
      • +
      + + + +
        +
      • +

        getType

        +
        public Type getType​(Class<?> type)
        +
      • +
      + + + +
        +
      • +

        getType

        +
        public Type getType​(String canonicalName)
        +
      • +
      + + + +
        +
      • +

        isTypeAvailable

        +
        public boolean isTypeAvailable​(String canonicalName)
        +
        Determines if the type with the given full qualified name is part of the classpath
        +
        +
        Parameters:
        +
        canonicalName - Name of the type to be checked for availability
        +
        Returns:
        +
        true if the type with the given full qualified name is part of the classpath.
        +
        +
      • +
      + + + +
        +
      • +

        getWrappedType

        +
        public Type getWrappedType​(Type type)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getAlwaysImportedType

        +
        public Type getAlwaysImportedType​(TypeMirror mirror)
        +
        Return a type that is always going to be imported. + This is useful when using it in Mapper#imports + for types that should be used in expressions.
        +
        +
        Parameters:
        +
        mirror - the type mirror for which we need a type
        +
        Returns:
        +
        the type
        +
        +
      • +
      + + + +
        +
      • +

        classTypeOf

        +
        public Type classTypeOf​(Type type)
        +
        Returns the Type that represents the declared Class type of the given type. For primitive types, the boxed class + will be used. Examples: +
          +
        • If type represents java.lang.Integer, it will return the type that represents Class<Integer>. +
        • +
        • If type represents int, it will return the type that represents Class<Integer>.
        • +
        +
        +
        Parameters:
        +
        type - the type to return the declared class type for
        +
        Returns:
        +
        the type representing Class<type>.
        +
        +
      • +
      + + + +
        +
      • +

        getMethodType

        +
        public ExecutableType getMethodType​(DeclaredType includingType,
        +                                    ExecutableElement method)
        +
        Get the ExecutableType for given method as part of usedMapper. Possibly parameterized types in method declaration + will be evaluated to concrete types then. + + IMPORTANT: This should only be used from the Processors, as they are operating over executable elements. + The internals should not be using this function and should not be using the ExecutableElement directly.
        +
        +
        Parameters:
        +
        includingType - the type on which's scope the method type shall be evaluated
        +
        method - the method
        +
        Returns:
        +
        the ExecutableType representing the method as part of usedMapper
        +
        +
      • +
      + + + +
        +
      • +

        getMethodType

        +
        public TypeMirror getMethodType​(DeclaredType includingType,
        +                                Element method)
        +
        Get the Type for given method as part of usedMapper. Possibly parameterized types in method declaration will be + evaluated to concrete types then.
        +
        +
        Parameters:
        +
        includingType - the type on which's scope the method type shall be evaluated
        +
        method - the method
        +
        Returns:
        +
        the ExecutableType representing the method as part of usedMapper
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes​(Accessor accessor)
        +
      • +
      + + + +
        +
      • +

        createVoidType

        +
        public Type createVoidType()
        +
        creates a void return type
        +
        +
        Returns:
        +
        void type
        +
        +
      • +
      + + + +
        +
      • +

        getTypeBound

        +
        public TypeMirror getTypeBound​(TypeMirror typeMirror)
        +
        Establishes the type bound: +
          +
        1. <? extends Number>, returns Number
        2. +
        3. <? super Number>, returns Number
        4. +
        5. <?>, returns Object
        6. +
        7. <T extends Number>, returns Number
        8. +
        +
        +
        Parameters:
        +
        typeMirror - the type to return the bound for
        +
        Returns:
        +
        the bound for this parameter
        +
        +
      • +
      + + + +
        +
      • +

        builderTypeFor

        +
        public BuilderType builderTypeFor​(Type type,
        +                                  org.mapstruct.ap.internal.gem.BuilderGem builder)
        +
      • +
      + + + +
        +
      • +

        effectiveResultTypeFor

        +
        public Type effectiveResultTypeFor​(Type type,
        +                                   org.mapstruct.ap.internal.gem.BuilderGem builder)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Accessibility.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Accessibility.html new file mode 100644 index 000000000..261bd93bb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Accessibility.html @@ -0,0 +1,345 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.Accessibility (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.Accessibility

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Assignment.AssignmentType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Assignment.AssignmentType.html new file mode 100644 index 000000000..adffc8026 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Assignment.AssignmentType.html @@ -0,0 +1,281 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.Assignment.AssignmentType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.Assignment.AssignmentType

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Assignment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Assignment.html new file mode 100644 index 000000000..9b50ed27e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Assignment.html @@ -0,0 +1,904 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.common.Assignment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.common.Assignment

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/BuilderType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/BuilderType.html new file mode 100644 index 000000000..427f06278 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/BuilderType.html @@ -0,0 +1,254 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.BuilderType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.BuilderType

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ConstructorFragment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ConstructorFragment.html new file mode 100644 index 000000000..54ae1d9b4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ConstructorFragment.html @@ -0,0 +1,263 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.common.ConstructorFragment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.common.ConstructorFragment

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ConversionContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ConversionContext.html new file mode 100644 index 000000000..f156d9cab --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ConversionContext.html @@ -0,0 +1,1140 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.common.ConversionContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.common.ConversionContext

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/DefaultConversionContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/DefaultConversionContext.html new file mode 100644 index 000000000..8bf32ded8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/DefaultConversionContext.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.DefaultConversionContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.DefaultConversionContext

+
+
No usage of org.mapstruct.ap.internal.model.common.DefaultConversionContext
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FieldReference.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FieldReference.html new file mode 100644 index 000000000..615ba26c1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FieldReference.html @@ -0,0 +1,333 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.common.FieldReference (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.common.FieldReference

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FinalField.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FinalField.html new file mode 100644 index 000000000..f00b0d906 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FinalField.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.FinalField (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.FinalField

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FormattingParameters.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FormattingParameters.html new file mode 100644 index 000000000..a30b86b2a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/FormattingParameters.html @@ -0,0 +1,357 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.FormattingParameters (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.FormattingParameters

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ImplementationType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ImplementationType.html new file mode 100644 index 000000000..b4bc09168 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ImplementationType.html @@ -0,0 +1,255 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.ImplementationType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.ImplementationType

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ModelElement.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ModelElement.html new file mode 100644 index 000000000..8125a7830 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ModelElement.html @@ -0,0 +1,696 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.ModelElement (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.ModelElement

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/NegatePresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/NegatePresenceCheck.html new file mode 100644 index 000000000..fc7a002d5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/NegatePresenceCheck.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.NegatePresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.NegatePresenceCheck

+
+
No usage of org.mapstruct.ap.internal.model.common.NegatePresenceCheck
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Parameter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Parameter.html new file mode 100644 index 000000000..ec93653b2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Parameter.html @@ -0,0 +1,1055 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.Parameter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.Parameter

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ParameterBinding.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ParameterBinding.html new file mode 100644 index 000000000..970fb43e3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/ParameterBinding.html @@ -0,0 +1,376 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.ParameterBinding (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.ParameterBinding

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/PresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/PresenceCheck.html new file mode 100644 index 000000000..e0c4ee688 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/PresenceCheck.html @@ -0,0 +1,499 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.common.PresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.common.PresenceCheck

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/SourceRHS.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/SourceRHS.html new file mode 100644 index 000000000..667ea9375 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/SourceRHS.html @@ -0,0 +1,370 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.SourceRHS (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.SourceRHS

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Type.ResolvedPair.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Type.ResolvedPair.html new file mode 100644 index 000000000..6dc229c00 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Type.ResolvedPair.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.Type.ResolvedPair (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.Type.ResolvedPair

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Type.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Type.html new file mode 100644 index 000000000..33821885a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/Type.html @@ -0,0 +1,3022 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.Type (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.Type

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/TypeFactory.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/TypeFactory.html new file mode 100644 index 000000000..0437d570a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/class-use/TypeFactory.html @@ -0,0 +1,793 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.common.TypeFactory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.common.TypeFactory

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-summary.html new file mode 100644 index 000000000..859d05bcd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-summary.html @@ -0,0 +1,309 @@ + + + + + +org.mapstruct.ap.internal.model.common (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.common

+
+
+
+ + +

+ Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model. +

+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    Assignment +
    Assignment represents all kind of manners a source can be assigned to a target.
    +
    ConstructorFragment +
    ConstructorFragments are 'code snippets' added to the constructor to initialize fields used by + BuiltInMethod/HelperMethod
    +
    ConversionContext +
    Context object passed to conversion providers and built-in methods.
    +
    FieldReference +
    reference used by BuiltInMethod/HelperMethod to create an additional field in the mapper.
    +
    PresenceCheck +
    Marker interface for presence checks.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    BuilderType 
    DefaultConversionContext +
    Default implementation of the ConversionContext passed to conversion providers.
    +
    FinalField +
    A mapper instance field, initialized as null
    +
    FormattingParameters 
    ImplementationType +
    This is a wrapper class for the Implementation types that are used within MapStruct.
    +
    ModelElement +
    Base class of all model elements.
    +
    NegatePresenceCheck 
    Parameter +
    A parameter of a mapping method.
    +
    ParameterBinding +
    Represents how one parameter of a method to be called is populated.
    +
    SourceRHS +
    SourceRHS Assignment.
    +
    Type +
    Represents (a reference to) the type of a bean property, parameter etc.
    +
    Type.ResolvedPair +
    Reflects any Resolved Pair, examples are + T, String + ?
    +
    TypeFactory +
    Factory creating Type instances.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    Accessibility +
    Accessibility of an element
    +
    Assignment.AssignmentType 
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-tree.html new file mode 100644 index 000000000..9f1274e60 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-tree.html @@ -0,0 +1,209 @@ + + + + + +org.mapstruct.ap.internal.model.common Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.common

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-use.html new file mode 100644 index 000000000..6682e6861 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/common/package-use.html @@ -0,0 +1,835 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.common (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.common

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/GraphAnalyzer.GraphAnalyzerBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/GraphAnalyzer.GraphAnalyzerBuilder.html new file mode 100644 index 000000000..d0425f92f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/GraphAnalyzer.GraphAnalyzerBuilder.html @@ -0,0 +1,356 @@ + + + + + +GraphAnalyzer.GraphAnalyzerBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GraphAnalyzer.GraphAnalyzerBuilder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    GraphAnalyzer
    +
    +
    +
    public static class GraphAnalyzer.GraphAnalyzerBuilder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/GraphAnalyzer.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/GraphAnalyzer.html new file mode 100644 index 000000000..4758aa138 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/GraphAnalyzer.html @@ -0,0 +1,358 @@ + + + + + +GraphAnalyzer (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GraphAnalyzer

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.dependency.GraphAnalyzer
    • +
    +
  • +
+
+
    +
  • +
    +
    public class GraphAnalyzer
    +extends Object
    +
    Analyzes graphs: Discovers all descendants of given nodes and detects cyclic dependencies between nodes if present.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getTraversalSequence

        +
        public int getTraversalSequence​(String name)
        +
        Returns the traversal sequence number of the given node. The ascending order of the traversal sequence numbers of + multiple nodes represents the depth-first traversal order of those nodes. +

        + Note: The traversal sequence numbers will only be complete if the graph contains no cycles.

        +
        +
        Parameters:
        +
        name - the node name to get the traversal sequence number for
        +
        Returns:
        +
        the traversal sequence number, or -1 if the node doesn't exist or the node was not visited (in + case of cycles).
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/class-use/GraphAnalyzer.GraphAnalyzerBuilder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/class-use/GraphAnalyzer.GraphAnalyzerBuilder.html new file mode 100644 index 000000000..c12b2045b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/class-use/GraphAnalyzer.GraphAnalyzerBuilder.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/class-use/GraphAnalyzer.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/class-use/GraphAnalyzer.html new file mode 100644 index 000000000..0ff08e235 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/class-use/GraphAnalyzer.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.dependency.GraphAnalyzer (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.dependency.GraphAnalyzer

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-summary.html new file mode 100644 index 000000000..fcc3dfdd8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-summary.html @@ -0,0 +1,175 @@ + + + + + +org.mapstruct.ap.internal.model.dependency (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.dependency

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    GraphAnalyzer +
    Analyzes graphs: Discovers all descendants of given nodes and detects cyclic dependencies between nodes if present.
    +
    GraphAnalyzer.GraphAnalyzerBuilder 
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-tree.html new file mode 100644 index 000000000..7c09ba16e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.mapstruct.ap.internal.model.dependency Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.dependency

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-use.html new file mode 100644 index 000000000..e262193cd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/dependency/package-use.html @@ -0,0 +1,191 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.dependency (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.dependency

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-summary.html new file mode 100644 index 000000000..edb8e74ba --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-summary.html @@ -0,0 +1,542 @@ + + + + + +org.mapstruct.ap.internal.model (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

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. +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-tree.html new file mode 100644 index 000000000..edb6c0421 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-tree.html @@ -0,0 +1,280 @@ + + + + + +org.mapstruct.ap.internal.model Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-use.html new file mode 100644 index 000000000..21a0bbbad --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/package-use.html @@ -0,0 +1,586 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/AllPresenceChecksPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/AllPresenceChecksPresenceCheck.html new file mode 100644 index 000000000..5adb72ba8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/AllPresenceChecksPresenceCheck.html @@ -0,0 +1,439 @@ + + + + + +AllPresenceChecksPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AllPresenceChecksPresenceCheck

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/JavaExpressionPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/JavaExpressionPresenceCheck.html new file mode 100644 index 000000000..a2618f0c2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/JavaExpressionPresenceCheck.html @@ -0,0 +1,439 @@ + + + + + +JavaExpressionPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaExpressionPresenceCheck

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JavaExpressionPresenceCheck

        +
        public JavaExpressionPresenceCheck​(String javaExpression)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/NullPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/NullPresenceCheck.html new file mode 100644 index 000000000..3427be2d8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/NullPresenceCheck.html @@ -0,0 +1,469 @@ + + + + + +NullPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NullPresenceCheck

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NullPresenceCheck

        +
        public NullPresenceCheck​(String sourceReference)
        +
      • +
      + + + +
        +
      • +

        NullPresenceCheck

        +
        public NullPresenceCheck​(String sourceReference,
        +                         boolean negate)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSourceReference

        +
        public String getSourceReference()
        +
      • +
      + + + +
        +
      • +

        isNegate

        +
        public boolean isNegate()
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface PresenceCheck
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/SuffixPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/SuffixPresenceCheck.html new file mode 100644 index 000000000..5ac363d85 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/SuffixPresenceCheck.html @@ -0,0 +1,488 @@ + + + + + +SuffixPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SuffixPresenceCheck

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SuffixPresenceCheck

        +
        public SuffixPresenceCheck​(String sourceReference,
        +                           String suffix)
        +
      • +
      + + + +
        +
      • +

        SuffixPresenceCheck

        +
        public SuffixPresenceCheck​(String sourceReference,
        +                           String suffix,
        +                           boolean negate)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSourceReference

        +
        public String getSourceReference()
        +
      • +
      + + + +
        +
      • +

        getSuffix

        +
        public String getSuffix()
        +
      • +
      + + + +
        +
      • +

        isNegate

        +
        public boolean isNegate()
        +
      • +
      + + + + + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: ModelElement
        +
        Returns a set containing those Types referenced by this model element for which an import statement needs + to be declared.
        +
        +
        Specified by:
        +
        getImportTypes in interface PresenceCheck
        +
        Specified by:
        +
        getImportTypes in class ModelElement
        +
        Returns:
        +
        A set with type referenced by this model element. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/AllPresenceChecksPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/AllPresenceChecksPresenceCheck.html new file mode 100644 index 000000000..86e39df82 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/AllPresenceChecksPresenceCheck.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck

+
+
No usage of org.mapstruct.ap.internal.model.presence.AllPresenceChecksPresenceCheck
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/JavaExpressionPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/JavaExpressionPresenceCheck.html new file mode 100644 index 000000000..6ba34030a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/JavaExpressionPresenceCheck.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck

+
+
No usage of org.mapstruct.ap.internal.model.presence.JavaExpressionPresenceCheck
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/NullPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/NullPresenceCheck.html new file mode 100644 index 000000000..4d9630467 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/NullPresenceCheck.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.presence.NullPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.presence.NullPresenceCheck

+
+
No usage of org.mapstruct.ap.internal.model.presence.NullPresenceCheck
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/SuffixPresenceCheck.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/SuffixPresenceCheck.html new file mode 100644 index 000000000..0819c979e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/class-use/SuffixPresenceCheck.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck

+
+
No usage of org.mapstruct.ap.internal.model.presence.SuffixPresenceCheck
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-summary.html new file mode 100644 index 000000000..c266bcd80 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-summary.html @@ -0,0 +1,181 @@ + + + + + +org.mapstruct.ap.internal.model.presence (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.presence

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-tree.html new file mode 100644 index 000000000..3220ec0da --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-tree.html @@ -0,0 +1,176 @@ + + + + + +org.mapstruct.ap.internal.model.presence Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.presence

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-use.html new file mode 100644 index 000000000..34fc5cb44 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/presence/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.presence (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.presence

+
+
No usage of org.mapstruct.ap.internal.model.presence
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/BeanMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/BeanMappingOptions.html new file mode 100644 index 000000000..b371e7e10 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/BeanMappingOptions.html @@ -0,0 +1,585 @@ + + + + + +BeanMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BeanMappingOptions

+
+
+ +
+
    +
  • +
    +
    public class BeanMappingOptions
    +extends DelegatingOptions
    +
    Represents an bean mapping as configured via @BeanMapping.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/DefaultOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/DefaultOptions.html new file mode 100644 index 000000000..d8831d012 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/DefaultOptions.html @@ -0,0 +1,704 @@ + + + + + +DefaultOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultOptions

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/DelegatingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/DelegatingOptions.html new file mode 100644 index 000000000..e52442a55 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/DelegatingOptions.html @@ -0,0 +1,662 @@ + + + + + +DelegatingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DelegatingOptions

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.DelegatingOptions
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        implementationName

        +
        public String implementationName()
        +
      • +
      + + + +
        +
      • +

        implementationPackage

        +
        public String implementationPackage()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        unmappedTargetPolicy

        +
        public org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedTargetPolicy()
        +
      • +
      + + + +
        +
      • +

        unmappedSourcePolicy

        +
        public org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedSourcePolicy()
        +
      • +
      + + + +
        +
      • +

        typeConversionPolicy

        +
        public org.mapstruct.ap.internal.gem.ReportingPolicyGem typeConversionPolicy()
        +
      • +
      + + + +
        +
      • +

        componentModel

        +
        public String componentModel()
        +
      • +
      + + + +
        +
      • +

        suppressTimestampInGenerated

        +
        public boolean suppressTimestampInGenerated()
        +
      • +
      + + + +
        +
      • +

        getMappingInheritanceStrategy

        +
        public org.mapstruct.ap.internal.gem.MappingInheritanceStrategyGem getMappingInheritanceStrategy()
        +
      • +
      + + + +
        +
      • +

        getInjectionStrategy

        +
        public org.mapstruct.ap.internal.gem.InjectionStrategyGem getInjectionStrategy()
        +
      • +
      + + + +
        +
      • +

        isDisableSubMappingMethodsGeneration

        +
        public Boolean isDisableSubMappingMethodsGeneration()
        +
      • +
      + + + +
        +
      • +

        getCollectionMappingStrategy

        +
        public org.mapstruct.ap.internal.gem.CollectionMappingStrategyGem getCollectionMappingStrategy()
        +
      • +
      + + + +
        +
      • +

        getNullValueCheckStrategy

        +
        public org.mapstruct.ap.internal.gem.NullValueCheckStrategyGem getNullValueCheckStrategy()
        +
      • +
      + + + +
        +
      • +

        getNullValuePropertyMappingStrategy

        +
        public org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem getNullValuePropertyMappingStrategy()
        +
      • +
      + + + +
        +
      • +

        getNullValueMappingStrategy

        +
        public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueMappingStrategy()
        +
      • +
      + + + +
        +
      • +

        getSubclassExhaustiveStrategy

        +
        public org.mapstruct.ap.internal.gem.SubclassExhaustiveStrategyGem getSubclassExhaustiveStrategy()
        +
      • +
      + + + +
        +
      • +

        getNullValueIterableMappingStrategy

        +
        public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueIterableMappingStrategy()
        +
      • +
      + + + +
        +
      • +

        getNullValueMapMappingStrategy

        +
        public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueMapMappingStrategy()
        +
      • +
      + + + +
        +
      • +

        getBuilder

        +
        public org.mapstruct.ap.internal.gem.BuilderGem getBuilder()
        +
      • +
      + + + + + + + +
        +
      • +

        getUnexpectedValueMappingException

        +
        public TypeMirror getUnexpectedValueMappingException()
        +
      • +
      + + + + + + + +
        +
      • +

        hasAnnotation

        +
        public abstract boolean hasAnnotation()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/EnumMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/EnumMappingOptions.html new file mode 100644 index 000000000..e17488359 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/EnumMappingOptions.html @@ -0,0 +1,435 @@ + + + + + +EnumMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EnumMappingOptions

+
+
+ +
+
    +
  • +
    +
    public class EnumMappingOptions
    +extends DelegatingOptions
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/IterableMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/IterableMappingOptions.html new file mode 100644 index 000000000..fdae09ae0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/IterableMappingOptions.html @@ -0,0 +1,393 @@ + + + + + +IterableMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class IterableMappingOptions

+
+
+ +
+
    +
  • +
    +
    public class IterableMappingOptions
    +extends DelegatingOptions
    +
    Represents an iterable mapping as configured via @IterableMapping.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapMappingOptions.html new file mode 100644 index 000000000..bb8dd936a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapMappingOptions.html @@ -0,0 +1,438 @@ + + + + + +MapMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapMappingOptions

+
+
+ +
+
    +
  • +
    +
    public class MapMappingOptions
    +extends DelegatingOptions
    +
    Represents a map mapping as configured via @MapMapping.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapperConfigOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapperConfigOptions.html new file mode 100644 index 000000000..1f76a6f27 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapperConfigOptions.html @@ -0,0 +1,704 @@ + + + + + +MapperConfigOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapperConfigOptions

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapperOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapperOptions.html new file mode 100644 index 000000000..cf0cd06b1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MapperOptions.html @@ -0,0 +1,781 @@ + + + + + +MapperOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapperOptions

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingControl.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingControl.html new file mode 100644 index 000000000..de2ead44a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingControl.html @@ -0,0 +1,332 @@ + + + + + +MappingControl (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingControl

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.MappingControl
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MappingControl
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        allowDirect

        +
        public boolean allowDirect()
        +
      • +
      + + + +
        +
      • +

        allowTypeConversion

        +
        public boolean allowTypeConversion()
        +
      • +
      + + + +
        +
      • +

        allowMappingMethod

        +
        public boolean allowMappingMethod()
        +
      • +
      + + + +
        +
      • +

        allowBy2Steps

        +
        public boolean allowBy2Steps()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingMethodOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingMethodOptions.html new file mode 100644 index 000000000..13f95c89d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingMethodOptions.html @@ -0,0 +1,645 @@ + + + + + +MappingMethodOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingMethodOptions

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.MappingMethodOptions
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MappingMethodOptions
    +extends Object
    +
    Encapsulates all options specifiable on a mapping method
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingMethodUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingMethodUtils.html new file mode 100644 index 000000000..6bfb5bf9c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingMethodUtils.html @@ -0,0 +1,288 @@ + + + + + +MappingMethodUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingMethodUtils

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.MappingMethodUtils
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class MappingMethodUtils
    +extends Object
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isEnumMapping

        +
        public static boolean isEnumMapping​(Method method)
        +
        Checks if the provided method is for enum mapping. A Method is an Enum Mapping method when the +
          +
        1. source parameter type and result type are enum types
        2. +
        3. source parameter type is a String and result type is an enum type
        4. +
        5. source parameter type is a enum type and result type is a String
        6. +
        +
        +
        Parameters:
        +
        method - to check
        +
        Returns:
        +
        true if the method is for enum mapping, false otherwise
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingOptions.InheritContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingOptions.InheritContext.html new file mode 100644 index 000000000..a8ea02900 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingOptions.InheritContext.html @@ -0,0 +1,348 @@ + + + + + +MappingOptions.InheritContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingOptions.InheritContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.MappingOptions.InheritContext
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    MappingOptions
    +
    +
    +
    public static class MappingOptions.InheritContext
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InheritContext

        +
        public InheritContext​(boolean isReversed,
        +                      boolean isForwarded,
        +                      Method templateMethod)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isReversed

        +
        public boolean isReversed()
        +
      • +
      + + + +
        +
      • +

        isForwarded

        +
        public boolean isForwarded()
        +
      • +
      + + + +
        +
      • +

        getTemplateMethod

        +
        public Method getTemplateMethod()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingOptions.html new file mode 100644 index 000000000..a75eab9f6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MappingOptions.html @@ -0,0 +1,841 @@ + + + + + +MappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingOptions

+
+
+ +
+
    +
  • +
    +
    public class MappingOptions
    +extends DelegatingOptions
    +
    Represents a property mapping as configured via @Mapping (no intermediate state).
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/Method.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/Method.html new file mode 100644 index 000000000..3d71d9620 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/Method.html @@ -0,0 +1,849 @@ + + + + + +Method (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Method

+
+
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        matches

        +
        boolean matches​(List<Type> sourceTypes,
        +                Type targetType)
        +
        Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method. The check also should incorporate wild card and generic type variables
        +
        +
        Parameters:
        +
        sourceTypes - the sourceTypes to match to the parameter
        +
        targetType - the targetType to match to the returnType
        +
        Returns:
        +
        true when match
        +
        +
      • +
      + + + +
        +
      • +

        getDeclaringMapper

        +
        Type getDeclaringMapper()
        +
        Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users().
        +
        +
        Returns:
        +
        The declaring mapper type
        +
        +
      • +
      + + + +
        +
      • +

        getName

        +
        String getName()
        +
        Returns then name of the method.
        +
        +
        Returns:
        +
        method name
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceParameters

        +
        List<Parameter> getSourceParameters()
        +
        returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target + type or context parameter.
        +
        +
        Returns:
        +
        list of 'true' source parameters
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameters

        +
        List<Parameter> getContextParameters()
        +
        returns the list of mapping context parameters, i.e. those parameters that are annotated with + Context.
        +
        +
        Returns:
        +
        list of context parameters
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getMappingTargetParameter

        +
        Parameter getMappingTargetParameter()
        +
        Returns the parameter designated as mapping target (if present) MappingTarget
        +
        +
        Returns:
        +
        mapping target parameter (when present) null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isObjectFactory

        +
        boolean isObjectFactory()
        +
        Returns whether the meethod is designated as bean factory for + mapping target ObjectFactory
        +
        +
        Returns:
        +
        true if it is a target bean factory.
        +
        +
      • +
      + + + +
        +
      • +

        isPresenceCheck

        +
        default boolean isPresenceCheck()
        +
        Returns whether the method is designated as a presence check method
        +
        +
        Returns:
        +
        true if it is a presence check method
        +
        +
      • +
      + + + +
        +
      • +

        getTargetTypeParameter

        +
        Parameter getTargetTypeParameter()
        +
        Returns the parameter designated as target type (if present) TargetType
        +
        +
        Returns:
        +
        target type parameter (when present) null otherwise.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getReturnType

        +
        Type getReturnType()
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        List<Type> getThrownTypes()
        +
        Returns all exceptions thrown by this method
        +
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + +
        +
      • +

        getResultType

        +
        Type getResultType()
        +
        Returns the type of the result. The result is defined as the type of the parameter designated with + MappingTarget, or in absence the return type.
        +
        +
        Returns:
        +
        result type
        +
        +
      • +
      + + + +
        +
      • +

        getParameterNames

        +
        List<String> getParameterNames()
        +
        +
        Returns:
        +
        the names of the parameters of this mapping method
        +
        +
      • +
      + + + +
        +
      • +

        overridesMethod

        +
        boolean overridesMethod()
        +
        Whether this method overrides an abstract method.
        +
        +
        Returns:
        +
        true when an abstract method is overridden.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isStatic

        +
        boolean isStatic()
        +
        Whether this method is static or an instance method
        +
        +
        Returns:
        +
        true when static.
        +
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        boolean isDefault()
        +
        Whether this method is Java 8 default method
        +
        +
        Returns:
        +
        true when Java 8 default method
        +
        +
      • +
      + + + +
        +
      • +

        getDefiningType

        +
        Type getDefiningType()
        +
        +
        Returns:
        +
        the Type (class or interface) that defines this method.
        +
        +
      • +
      + + + +
        +
      • +

        isLifecycleCallbackMethod

        +
        boolean isLifecycleCallbackMethod()
        +
        +
        Returns:
        +
        true, if the method represents a mapping lifecycle callback (Before/After mapping method)
        +
        +
      • +
      + + + +
        +
      • +

        isUpdateMethod

        +
        boolean isUpdateMethod()
        +
        +
        Returns:
        +
        true, if the method is an update method, i.e. it has a parameter annotated with + @MappingTarget.
        +
        +
      • +
      + + + +
        +
      • +

        getOptions

        +
        MappingMethodOptions getOptions()
        +
        +
        Returns:
        +
        the mapping options for this method
        +
        +
      • +
      + + + +
        +
      • +

        isMappingTargetAssignableToReturnType

        +
        default boolean isMappingTargetAssignableToReturnType()
        +
        +
        Returns:
        +
        true when @MappingTarget annotated parameter is the same type as the return type. The method has + to be an update method in order for this to be true.
        +
        +
      • +
      + + + +
        +
      • +

        getMappingSourceType

        +
        default Type getMappingSourceType()
        +
        +
        Returns:
        +
        the first source type, intended for mapping methods from single source to target
        +
        +
      • +
      + + + +
        +
      • +

        describe

        +
        String describe()
        +
        +
        Returns:
        +
        the short name for error messages when verbose, full name when not
        +
        +
      • +
      + + + +
        +
      • +

        getTypeParameters

        +
        List<Type> getTypeParameters()
        +
        Returns the formal type parameters of this method in declaration order.
        +
        +
        Returns:
        +
        the formal type parameters, or an empty list if there are none
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MethodMatcher.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MethodMatcher.html new file mode 100644 index 000000000..4c78c994f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/MethodMatcher.html @@ -0,0 +1,250 @@ + + + + + +MethodMatcher (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MethodMatcher

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.MethodMatcher
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MethodMatcher
    +extends Object
    +
    SourceMethodMatcher $8.4 of the JavaLanguage specification describes a method body as such: + +
    + SourceMethodDeclaration: SourceMethodHeader SourceMethodBody
    + SourceMethodHeader: SourceMethodModifiers TypeParameters Result SourceMethodDeclarator Throws
    + SourceMethodDeclarator: Identifier ( FormalParameterList )
    +
    + example <T extends String & Serializable>  T   getResult(? extends T) throws Exception
    +         \-------------------------------/ \-/            \---------/
    +               TypeParameters             Result        ParameterList
    + 
    + + Matches a given method with given ParameterList and Result type obeying the constraints in the TypeParameters block. +

    + For more info on java-generics: http://www.javacodegeeks.com/2011/04/java-generics-quick-tutorial.html + http://www.angelikalanger.com/GenericsFAQ/FAQSections/ParameterizedTypes.html +

    + The following situations is not supported / tested: +

      +
    1. Multiple bounds were the bound itself is again a generic type.
    2. +
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ParameterProvidedMethods.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ParameterProvidedMethods.Builder.html new file mode 100644 index 000000000..ca6dcda56 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ParameterProvidedMethods.Builder.html @@ -0,0 +1,291 @@ + + + + + +ParameterProvidedMethods.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ParameterProvidedMethods.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.ParameterProvidedMethods.Builder
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ParameterProvidedMethods.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ParameterProvidedMethods.html new file mode 100644 index 000000000..540643fb0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ParameterProvidedMethods.html @@ -0,0 +1,377 @@ + + + + + +ParameterProvidedMethods (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ParameterProvidedMethods

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.ParameterProvidedMethods
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ParameterProvidedMethods
    +extends Object
    +
    Provides access to the SourceMethods that are provided by Context parameters of a + Method and maintains the relationship between those methods and their originating parameter.
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getAllProvidedMethodsInParameterOrder

        +
        public List<SourceMethod> getAllProvidedMethodsInParameterOrder​(List<Parameter> orderedParameters)
        +
        +
        Parameters:
        +
        orderedParameters - The parameters of which the provided methods are to be returned.
        +
        Returns:
        +
        The methods provided by the given parameters in the order as defined by the parameter list, with the + methods of each parameter ordered based on their definition in that parameter's type.
        +
        +
      • +
      + + + +
        +
      • +

        getParameterForProvidedMethod

        +
        public Parameter getParameterForProvidedMethod​(Method method)
        +
        +
        Parameters:
        +
        method - The method for which the defining parameter is to be returned.
        +
        Returns:
        +
        The Parameter on which's type the provided method is defined, or null if the method was not + defined on one of the tracked parameters.
        +
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public boolean isEmpty()
        +
        +
        Returns:
        +
        true, if no methods are provided by the tracked parameters or no parameters are tracked at all.
        +
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SelectionParameters.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SelectionParameters.html new file mode 100644 index 000000000..053fff7ca --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SelectionParameters.html @@ -0,0 +1,558 @@ + + + + + +SelectionParameters (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SelectionParameters

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.SelectionParameters
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SelectionParameters
    +extends Object
    +
    Holding parameters common to the selection process, common to IterableMapping, BeanMapping, PropertyMapping and + MapMapping
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        forInheritance

        +
        public static SelectionParameters forInheritance​(SelectionParameters selectionParameters)
        +
        Returns new selection parameters + + ResultType is not inherited.
        +
        +
        Parameters:
        +
        selectionParameters - the selection parameters that need to be copied
        +
        Returns:
        +
        the selection parameters based on the given ones
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getQualifiers

        +
        public List<TypeMirror> getQualifiers()
        +
        +
        Returns:
        +
        qualifiers used for further select the appropriate mapping method based on class and name
        +
        +
      • +
      + + + +
        +
      • +

        getQualifyingNames

        +
        public List<String> getQualifyingNames()
        +
        +
        Returns:
        +
        qualifyingNames see qualifiers, used in combination with with @Named
        +
        +
      • +
      + + + +
        +
      • +

        getConditionQualifiers

        +
        public List<TypeMirror> getConditionQualifiers()
        +
        +
        Returns:
        +
        qualifiers used for further select the appropriate presence check method based on class and name
        +
        +
      • +
      + + + +
        +
      • +

        getConditionQualifyingNames

        +
        public List<String> getConditionQualifyingNames()
        +
        +
        Returns:
        +
        qualifyingNames, used in combination with with @Named
        +
        See Also:
        +
        getConditionQualifiers()
        +
        +
      • +
      + + + +
        +
      • +

        getResultType

        +
        public TypeMirror getResultType()
        +
        +
        Returns:
        +
        resultType used for further select the appropriate mapping method based on resultType (bean mapping) + targetType (Iterable- and MapMapping)
        +
        +
      • +
      + + + +
        +
      • +

        getSourceRHS

        +
        public SourceRHS getSourceRHS()
        +
        +
        Returns:
        +
        sourceRHS used for further selection of an appropriate factory method
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SourceMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SourceMethod.Builder.html new file mode 100644 index 000000000..56ef4e2ba --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SourceMethod.Builder.html @@ -0,0 +1,614 @@ + + + + + +SourceMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceMethod.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.SourceMethod.Builder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    SourceMethod
    +
    +
    +
    public static class SourceMethod.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SourceMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SourceMethod.html new file mode 100644 index 000000000..f5c714a5a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SourceMethod.html @@ -0,0 +1,1202 @@ + + + + + +SourceMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceMethod

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.SourceMethod
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class SourceMethod
    +extends Object
    +implements Method
    +
    Represents a mapping method with source and target type and the mappings between the properties of source and target + type. +

    + A method can either be configured by itself or by another method for the inverse mapping direction (the appropriate + setter on MappingMethodOptions will be called in this case).

    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDeclaringMapper

        +
        public Type getDeclaringMapper()
        +
        Description copied from interface: Method
        +
        Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users().
        +
        +
        Specified by:
        +
        getDeclaringMapper in interface Method
        +
        Returns:
        +
        The declaring mapper type
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        public String getName()
        +
        Description copied from interface: Method
        +
        Returns then name of the method.
        +
        +
        Specified by:
        +
        getName in interface Method
        +
        Returns:
        +
        method name
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getSourceParameters

        +
        public List<Parameter> getSourceParameters()
        +
        Description copied from interface: Method
        +
        returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target + type or context parameter.
        +
        +
        Specified by:
        +
        getSourceParameters in interface Method
        +
        Returns:
        +
        list of 'true' source parameters
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameters

        +
        public List<Parameter> getContextParameters()
        +
        Description copied from interface: Method
        +
        returns the list of mapping context parameters, i.e. those parameters that are annotated with + Context.
        +
        +
        Specified by:
        +
        getContextParameters in interface Method
        +
        Returns:
        +
        list of context parameters
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getParameterNames

        +
        public List<String> getParameterNames()
        +
        +
        Specified by:
        +
        getParameterNames in interface Method
        +
        Returns:
        +
        the names of the parameters of this mapping method
        +
        +
      • +
      + + + +
        +
      • +

        getResultType

        +
        public Type getResultType()
        +
        Description copied from interface: Method
        +
        Returns the type of the result. The result is defined as the type of the parameter designated with + MappingTarget, or in absence the return type.
        +
        +
        Specified by:
        +
        getResultType in interface Method
        +
        Returns:
        +
        result type
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Specified by:
        +
        getReturnType in interface Method
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + + + + + +
        +
      • +

        inverses

        +
        public boolean inverses​(SourceMethod method)
        +
      • +
      + + + +
        +
      • +

        canInheritFrom

        +
        public boolean canInheritFrom​(SourceMethod method)
        +
      • +
      + + + +
        +
      • +

        getMappingTargetParameter

        +
        public Parameter getMappingTargetParameter()
        +
        Description copied from interface: Method
        +
        Returns the parameter designated as mapping target (if present) MappingTarget
        +
        +
        Specified by:
        +
        getMappingTargetParameter in interface Method
        +
        Returns:
        +
        mapping target parameter (when present) null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isObjectFactory

        +
        public boolean isObjectFactory()
        +
        Description copied from interface: Method
        +
        Returns whether the meethod is designated as bean factory for + mapping target ObjectFactory
        +
        +
        Specified by:
        +
        isObjectFactory in interface Method
        +
        Returns:
        +
        true if it is a target bean factory.
        +
        +
      • +
      + + + +
        +
      • +

        getTargetTypeParameter

        +
        public Parameter getTargetTypeParameter()
        +
        Description copied from interface: Method
        +
        Returns the parameter designated as target type (if present) TargetType
        +
        +
        Specified by:
        +
        getTargetTypeParameter in interface Method
        +
        Returns:
        +
        target type parameter (when present) null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getTargetPropertyNameParameter

        +
        public Parameter getTargetPropertyNameParameter()
        +
      • +
      + + + +
        +
      • +

        isIterableMapping

        +
        public boolean isIterableMapping()
        +
      • +
      + + + +
        +
      • +

        isStreamMapping

        +
        public boolean isStreamMapping()
        +
      • +
      + + + +
        +
      • +

        isMapMapping

        +
        public boolean isMapMapping()
        +
      • +
      + + + +
        +
      • +

        isRemovedEnumMapping

        +
        public boolean isRemovedEnumMapping()
        +
        Enum Mapping was realized with @Mapping in stead of @ValueMapping. @Mapping is no longer + supported.
        +
        +
        Returns:
        +
        true when @Mapping is used in stead of @ValueMapping
        +
        +
      • +
      + + + +
        +
      • +

        isValueMapping

        +
        public boolean isValueMapping()
        +
        The default enum mapping (no mappings specified) will from now on be handled as a value mapping. If there + are any @Mapping / @Mappings defined on the method, then the deprecated enum behavior should be executed.
        +
        +
        Returns:
        +
        whether (true) or not (false) to execute value mappings
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getApplicablePrototypeMethods

        +
        public List<SourceMethod> getApplicablePrototypeMethods()
        +
      • +
      + + + +
        +
      • +

        getApplicableReversePrototypeMethods

        +
        public List<SourceMethod> getApplicableReversePrototypeMethods()
        +
      • +
      + + + +
        +
      • +

        overridesMethod

        +
        public boolean overridesMethod()
        +
        Whether an implementation of this method must be generated or not.
        +
        +
        Specified by:
        +
        overridesMethod in interface Method
        +
        Returns:
        +
        true when an implementation is required
        +
        +
      • +
      + + + +
        +
      • +

        matches

        +
        public boolean matches​(List<Type> sourceTypes,
        +                       Type targetType)
        +
        Description copied from interface: Method
        +
        Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method. The check also should incorporate wild card and generic type variables
        +
        +
        Specified by:
        +
        matches in interface Method
        +
        Parameters:
        +
        sourceTypes - the sourceTypes to match to the parameter
        +
        targetType - the targetType to match to the returnType
        +
        Returns:
        +
        true when match
        +
        +
      • +
      + + + +
        +
      • +

        containsTargetTypeParameter

        +
        public static boolean containsTargetTypeParameter​(List<Parameter> parameters)
        +
        +
        Parameters:
        +
        parameters - the parameter list to check
        +
        Returns:
        +
        true if the parameter list contains a parameter annotated with @TargetType
        +
        +
      • +
      + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Method
        +
        Returns all exceptions thrown by this method
        +
        +
        Specified by:
        +
        getThrownTypes in interface Method
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isStatic

        +
        public boolean isStatic()
        +
        Description copied from interface: Method
        +
        Whether this method is static or an instance method
        +
        +
        Specified by:
        +
        isStatic in interface Method
        +
        Returns:
        +
        true when static.
        +
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        public boolean isDefault()
        +
        Description copied from interface: Method
        +
        Whether this method is Java 8 default method
        +
        +
        Specified by:
        +
        isDefault in interface Method
        +
        Returns:
        +
        true when Java 8 default method
        +
        +
      • +
      + + + +
        +
      • +

        getDefiningType

        +
        public Type getDefiningType()
        +
        +
        Specified by:
        +
        getDefiningType in interface Method
        +
        Returns:
        +
        the Type (class or interface) that defines this method.
        +
        +
      • +
      + + + +
        +
      • +

        isLifecycleCallbackMethod

        +
        public boolean isLifecycleCallbackMethod()
        +
        +
        Specified by:
        +
        isLifecycleCallbackMethod in interface Method
        +
        Returns:
        +
        true, if the method represents a mapping lifecycle callback (Before/After mapping method)
        +
        +
      • +
      + + + +
        +
      • +

        isPresenceCheck

        +
        public boolean isPresenceCheck()
        +
        Description copied from interface: Method
        +
        Returns whether the method is designated as a presence check method
        +
        +
        Specified by:
        +
        isPresenceCheck in interface Method
        +
        Returns:
        +
        true if it is a presence check method
        +
        +
      • +
      + + + +
        +
      • +

        isAfterMappingMethod

        +
        public boolean isAfterMappingMethod()
        +
      • +
      + + + +
        +
      • +

        isBeforeMappingMethod

        +
        public boolean isBeforeMappingMethod()
        +
      • +
      + + + +
        +
      • +

        isAbstract

        +
        public boolean isAbstract()
        +
        +
        Returns:
        +
        returns true for interface methods (see jls 9.4) lacking a default or static modifier and for abstract + methods
        +
        +
      • +
      + + + +
        +
      • +

        isUpdateMethod

        +
        public boolean isUpdateMethod()
        +
        +
        Specified by:
        +
        isUpdateMethod in interface Method
        +
        Returns:
        +
        true, if the method is an update method, i.e. it has a parameter annotated with + @MappingTarget.
        +
        +
      • +
      + + + +
        +
      • +

        hasObjectFactoryAnnotation

        +
        public boolean hasObjectFactoryAnnotation()
        +
      • +
      + + + +
        +
      • +

        getTypeParameters

        +
        public List<Type> getTypeParameters()
        +
        Description copied from interface: Method
        +
        Returns the formal type parameters of this method in declaration order.
        +
        +
        Specified by:
        +
        getTypeParameters in interface Method
        +
        Returns:
        +
        the formal type parameters, or an empty list if there are none
        +
        +
      • +
      + + + +
        +
      • +

        describe

        +
        public String describe()
        +
        +
        Specified by:
        +
        describe in interface Method
        +
        Returns:
        +
        the short name for error messages when verbose, full name when not
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SubclassMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SubclassMappingOptions.html new file mode 100644 index 000000000..9a71cff9b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SubclassMappingOptions.html @@ -0,0 +1,535 @@ + + + + + +SubclassMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SubclassMappingOptions

+
+
+ +
+
    +
  • +
    +
    public class SubclassMappingOptions
    +extends DelegatingOptions
    +
    Represents a subclass mapping as configured via @SubclassMapping.
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SubclassValidator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SubclassValidator.html new file mode 100644 index 000000000..058374123 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/SubclassValidator.html @@ -0,0 +1,321 @@ + + + + + +SubclassValidator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SubclassValidator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.SubclassValidator
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SubclassValidator
    +extends Object
    +
    Handles the validation of multiple @SubclassMapping annotations on the same method.
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ValueMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ValueMappingOptions.html new file mode 100644 index 000000000..832fe70a2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/ValueMappingOptions.html @@ -0,0 +1,432 @@ + + + + + +ValueMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ValueMappingOptions

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.ValueMappingOptions
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ValueMappingOptions
    +extends Object
    +
    Represents the mapping between one value constant and another.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/AbstractToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/AbstractToXmlGregorianCalendar.html new file mode 100644 index 000000000..8136c88fb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/AbstractToXmlGregorianCalendar.html @@ -0,0 +1,414 @@ + + + + + +AbstractToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractToXmlGregorianCalendar

+
+
+ + +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractToXmlGregorianCalendar

        +
        public AbstractToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/BuiltInMappingMethods.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/BuiltInMappingMethods.html new file mode 100644 index 000000000..8ab588b1c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/BuiltInMappingMethods.html @@ -0,0 +1,315 @@ + + + + + +BuiltInMappingMethods (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BuiltInMappingMethods

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.builtin.BuiltInMappingMethods
    • +
    +
  • +
+
+
    +
  • +
    +
    public class BuiltInMappingMethods
    +extends Object
    +
    Registry for all built-in methods.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BuiltInMappingMethods

        +
        public BuiltInMappingMethods​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/BuiltInMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/BuiltInMethod.html new file mode 100644 index 000000000..ebb48cf6f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/BuiltInMethod.html @@ -0,0 +1,1081 @@ + + + + + +BuiltInMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BuiltInMethod

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BuiltInMethod

        +
        public BuiltInMethod()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
        Returns then name of the method.
        +
        +
        Specified by:
        +
        getName in interface Method
        +
        Returns:
        +
        default method name is equal to class name of build in method name
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        matches

        +
        public boolean matches​(List<Type> sourceTypes,
        +                       Type targetType)
        +
        Checks whether the provided sourceType and provided targetType match with the parameter respectively return type + of the method. The check also should incorporate wild card and generic type variables +

        + Default the targetType should be assignable to the returnType and the sourceType to the parameter, + excluding generic type variables. When the implementor sees a need for this, this method can be overridden.

        +
        +
        Specified by:
        +
        matches in interface Method
        +
        Parameters:
        +
        sourceTypes - the sourceTypes to match to the parameter
        +
        targetType - the targetType to match to the returnType
        +
        Returns:
        +
        true when match
        +
        +
      • +
      + + + +
        +
      • +

        getSourceParameters

        +
        public List<Parameter> getSourceParameters()
        +
        Description copied from interface: Method
        +
        returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target + type or context parameter.
        +
        +
        Specified by:
        +
        getSourceParameters in interface Method
        +
        Returns:
        +
        list of 'true' source parameters
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameters

        +
        public List<Parameter> getContextParameters()
        +
        Description copied from interface: Method
        +
        returns the list of mapping context parameters, i.e. those parameters that are annotated with + Context.
        +
        +
        Specified by:
        +
        getContextParameters in interface Method
        +
        Returns:
        +
        list of context parameters
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getDeclaringMapper

        +
        public final Type getDeclaringMapper()
        +
        Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed + but by another mapper imported via Mapper#users(). +

        + For built-in methods, the declaring mapper is always null as they will be added as private methods to the + generated mapper.

        +
        +
        Specified by:
        +
        getDeclaringMapper in interface Method
        +
        Returns:
        +
        null
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getMappingTargetParameter

        +
        public Parameter getMappingTargetParameter()
        +
        mapping target parameter mechanism not supported for built-in methods
        +
        +
        Specified by:
        +
        getMappingTargetParameter in interface Method
        +
        Returns:
        +
        null
        +
        +
      • +
      + + + +
        +
      • +

        getTargetTypeParameter

        +
        public Parameter getTargetTypeParameter()
        +
        target type parameter mechanism not supported for built-in methods
        +
        +
        Specified by:
        +
        getTargetTypeParameter in interface Method
        +
        Returns:
        +
        null
        +
        +
      • +
      + + + +
        +
      • +

        isObjectFactory

        +
        public boolean isObjectFactory()
        +
        object factory mechanism not supported for built-in methods
        +
        +
        Specified by:
        +
        isObjectFactory in interface Method
        +
        Returns:
        +
        false
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameter

        +
        public String getContextParameter​(ConversionContext conversionContext)
        +
        the conversion context is used to format an auxiliary parameter in the method call with context specific + information such as a date format.
        +
        +
        Parameters:
        +
        conversionContext - context
        +
        Returns:
        +
        null if no context parameter should be included "null" if there should be an explicit null call + "'dateFormat'" for instance, to indicate how the build-in method should format the date
        +
        +
      • +
      + + + +
        +
      • +

        getTypeParameters

        +
        public List<Type> getTypeParameters()
        +
        Description copied from interface: Method
        +
        Returns the formal type parameters of this method in declaration order.
        +
        +
        Specified by:
        +
        getTypeParameters in interface Method
        +
        Returns:
        +
        the formal type parameters, or an empty list if there are none
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        hashCode based on class
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        Returns:
        +
        hashCode
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(Object obj)
        +
        equals based on class
        +
        +
        Overrides:
        +
        equals in class Object
        +
        Parameters:
        +
        obj - other class
        +
        Returns:
        +
        true when classes are the same
        +
        +
      • +
      + + + +
        +
      • +

        doTypeVarsMatch

        +
        public boolean doTypeVarsMatch​(Type parameter,
        +                               Type returnType)
        +
        Analyzes the Java Generic type variables in the parameter do match the type variables in the build in method same + goes for the returnType.
        +
        +
        Parameters:
        +
        parameter - source
        +
        returnType - target
        +
        Returns:
        +
        true, iff the type variables match
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public abstract Parameter getParameter()
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getThrownTypes

        +
        public List<Type> getThrownTypes()
        +
        Description copied from interface: Method
        +
        Returns all exceptions thrown by this method
        +
        +
        Specified by:
        +
        getThrownTypes in interface Method
        +
        Returns:
        +
        exceptions thrown
        +
        +
      • +
      + + + +
        +
      • +

        getResultType

        +
        public Type getResultType()
        +
        Description copied from interface: Method
        +
        Returns the type of the result. The result is defined as the type of the parameter designated with + MappingTarget, or in absence the return type.
        +
        +
        Specified by:
        +
        getResultType in interface Method
        +
        Returns:
        +
        result type
        +
        +
      • +
      + + + +
        +
      • +

        getParameterNames

        +
        public List<String> getParameterNames()
        +
        +
        Specified by:
        +
        getParameterNames in interface Method
        +
        Returns:
        +
        the names of the parameters of this mapping method
        +
        +
      • +
      + + + +
        +
      • +

        overridesMethod

        +
        public boolean overridesMethod()
        +
        Description copied from interface: Method
        +
        Whether this method overrides an abstract method.
        +
        +
        Specified by:
        +
        overridesMethod in interface Method
        +
        Returns:
        +
        true when an abstract method is overridden.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        isStatic

        +
        public boolean isStatic()
        +
        Description copied from interface: Method
        +
        Whether this method is static or an instance method
        +
        +
        Specified by:
        +
        isStatic in interface Method
        +
        Returns:
        +
        true when static.
        +
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        public boolean isDefault()
        +
        Description copied from interface: Method
        +
        Whether this method is Java 8 default method
        +
        +
        Specified by:
        +
        isDefault in interface Method
        +
        Returns:
        +
        true when Java 8 default method
        +
        +
      • +
      + + + +
        +
      • +

        getDefiningType

        +
        public Type getDefiningType()
        +
        +
        Specified by:
        +
        getDefiningType in interface Method
        +
        Returns:
        +
        the Type (class or interface) that defines this method.
        +
        +
      • +
      + + + +
        +
      • +

        isLifecycleCallbackMethod

        +
        public boolean isLifecycleCallbackMethod()
        +
        +
        Specified by:
        +
        isLifecycleCallbackMethod in interface Method
        +
        Returns:
        +
        true, if the method represents a mapping lifecycle callback (Before/After mapping method)
        +
        +
      • +
      + + + +
        +
      • +

        isUpdateMethod

        +
        public boolean isUpdateMethod()
        +
        +
        Specified by:
        +
        isUpdateMethod in interface Method
        +
        Returns:
        +
        true, if the method is an update method, i.e. it has a parameter annotated with + @MappingTarget.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getFieldReference

        +
        public FieldReference getFieldReference()
        +
      • +
      + + + + + + + +
        +
      • +

        describe

        +
        public String describe()
        +
        +
        Specified by:
        +
        describe in interface Method
        +
        Returns:
        +
        the short name for error messages when verbose, full name when not
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/CalendarToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/CalendarToXmlGregorianCalendar.html new file mode 100644 index 000000000..8945732e4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/CalendarToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +CalendarToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CalendarToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CalendarToXmlGregorianCalendar

        +
        public CalendarToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/CalendarToZonedDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/CalendarToZonedDateTime.html new file mode 100644 index 000000000..00b148159 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/CalendarToZonedDateTime.html @@ -0,0 +1,356 @@ + + + + + +CalendarToZonedDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CalendarToZonedDateTime

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/DateToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/DateToXmlGregorianCalendar.html new file mode 100644 index 000000000..054bf4964 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/DateToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +DateToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DateToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DateToXmlGregorianCalendar

        +
        public DateToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..90fa944e1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +JodaDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaDateTimeToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaDateTimeToXmlGregorianCalendar

        +
        public JodaDateTimeToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..a9ba72069 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +JodaLocalDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaLocalDateTimeToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaLocalDateTimeToXmlGregorianCalendar

        +
        public JodaLocalDateTimeToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalDateToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalDateToXmlGregorianCalendar.html new file mode 100644 index 000000000..5cfd2c2d5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalDateToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +JodaLocalDateToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaLocalDateToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaLocalDateToXmlGregorianCalendar

        +
        public JodaLocalDateToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..7582a3869 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/JodaLocalTimeToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +JodaLocalTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaLocalTimeToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JodaLocalTimeToXmlGregorianCalendar

        +
        public JodaLocalTimeToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/LocalDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/LocalDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..46f15768c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/LocalDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +LocalDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LocalDateTimeToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocalDateTimeToXmlGregorianCalendar

        +
        public LocalDateTimeToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/LocalDateToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/LocalDateToXmlGregorianCalendar.html new file mode 100644 index 000000000..a4d425824 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/LocalDateToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +LocalDateToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LocalDateToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocalDateToXmlGregorianCalendar

        +
        public LocalDateToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/NewDatatypeFactoryConstructorFragment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/NewDatatypeFactoryConstructorFragment.html new file mode 100644 index 000000000..30c730a5f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/NewDatatypeFactoryConstructorFragment.html @@ -0,0 +1,276 @@ + + + + + +NewDatatypeFactoryConstructorFragment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NewDatatypeFactoryConstructorFragment

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.builtin.NewDatatypeFactoryConstructorFragment
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NewDatatypeFactoryConstructorFragment

        +
        public NewDatatypeFactoryConstructorFragment()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/StringToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/StringToXmlGregorianCalendar.html new file mode 100644 index 000000000..cc3bf28a6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/StringToXmlGregorianCalendar.html @@ -0,0 +1,416 @@ + + + + + +StringToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StringToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StringToXmlGregorianCalendar

        +
        public StringToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameter

        +
        public String getContextParameter​(ConversionContext conversionContext)
        +
        Description copied from class: BuiltInMethod
        +
        the conversion context is used to format an auxiliary parameter in the method call with context specific + information such as a date format.
        +
        +
        Overrides:
        +
        getContextParameter in class BuiltInMethod
        +
        Parameters:
        +
        conversionContext - context
        +
        Returns:
        +
        null if no context parameter should be included "null" if there should be an explicit null call + "'dateFormat'" for instance, to indicate how the build-in method should format the date
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToCalendar.html new file mode 100644 index 000000000..2d425bfe3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToCalendar.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToCalendar

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToCalendar
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToCalendar

        +
        public XmlGregorianCalendarToCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToDate.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToDate.html new file mode 100644 index 000000000..d777c03cc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToDate.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToDate (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToDate

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToDate
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToDate

        +
        public XmlGregorianCalendarToDate​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaDateTime.html new file mode 100644 index 000000000..a69be46d4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaDateTime.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToJodaDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToJodaDateTime

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToJodaDateTime
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToJodaDateTime

        +
        public XmlGregorianCalendarToJodaDateTime​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalDate.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalDate.html new file mode 100644 index 000000000..3dd4613cc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalDate.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToJodaLocalDate (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToJodaLocalDate

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToJodaLocalDate
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToJodaLocalDate

        +
        public XmlGregorianCalendarToJodaLocalDate​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalDateTime.html new file mode 100644 index 000000000..866de1cea --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalDateTime.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToJodaLocalDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToJodaLocalDateTime

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToJodaLocalDateTime
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToJodaLocalDateTime

        +
        public XmlGregorianCalendarToJodaLocalDateTime​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalTime.html new file mode 100644 index 000000000..d5f7fc426 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToJodaLocalTime.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToJodaLocalTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToJodaLocalTime

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToJodaLocalTime
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToJodaLocalTime

        +
        public XmlGregorianCalendarToJodaLocalTime​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToLocalDate.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToLocalDate.html new file mode 100644 index 000000000..2ac5b6973 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToLocalDate.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToLocalDate (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToLocalDate

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToLocalDate
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToLocalDate

        +
        public XmlGregorianCalendarToLocalDate​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToLocalDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToLocalDateTime.html new file mode 100644 index 000000000..27f8ef32e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToLocalDateTime.html @@ -0,0 +1,397 @@ + + + + + +XmlGregorianCalendarToLocalDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToLocalDateTime

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToLocalDateTime
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Andrei Arlou
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToLocalDateTime

        +
        public XmlGregorianCalendarToLocalDateTime​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToString.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToString.html new file mode 100644 index 000000000..81e6380dc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/XmlGregorianCalendarToString.html @@ -0,0 +1,427 @@ + + + + + +XmlGregorianCalendarToString (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlGregorianCalendarToString

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Method
    +
    +
    +
    public class XmlGregorianCalendarToString
    +extends BuiltInMethod
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XmlGregorianCalendarToString

        +
        public XmlGregorianCalendarToString​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getContextParameter

        +
        public String getContextParameter​(ConversionContext conversionContext)
        +
        Description copied from class: BuiltInMethod
        +
        the conversion context is used to format an auxiliary parameter in the method call with context specific + information such as a date format.
        +
        +
        Overrides:
        +
        getContextParameter in class BuiltInMethod
        +
        Parameters:
        +
        conversionContext - context
        +
        Returns:
        +
        null if no context parameter should be included "null" if there should be an explicit null call + "'dateFormat'" for instance, to indicate how the build-in method should format the date
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/ZonedDateTimeToCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/ZonedDateTimeToCalendar.html new file mode 100644 index 000000000..845cbc108 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/ZonedDateTimeToCalendar.html @@ -0,0 +1,356 @@ + + + + + +ZonedDateTimeToCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ZonedDateTimeToCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        Description copied from interface: Method
        +
        Returns the return type of the method
        +
        +
        Returns:
        +
        return type
        +
        +
      • +
      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class BuiltInMethod
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/ZonedDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/ZonedDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..6574f23cd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/ZonedDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,386 @@ + + + + + +ZonedDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ZonedDateTimeToXmlGregorianCalendar

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ZonedDateTimeToXmlGregorianCalendar

        +
        public ZonedDateTimeToXmlGregorianCalendar​(TypeFactory typeFactory)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getImportTypes

        +
        public Set<Type> getImportTypes()
        +
        Description copied from class: BuiltInMethod
        +
        Returns the types used by this method for which import statements need to be generated. Defaults to the empty + set. To be overridden by implementations in case they make use of additional types (note that the parameter and + return type don't need to be added).
        +
        +
        Overrides:
        +
        getImportTypes in class AbstractToXmlGregorianCalendar
        +
        Returns:
        +
        the types used by this method for which import statements need to be generated
        +
        +
      • +
      + + + +
        +
      • +

        getParameter

        +
        public Parameter getParameter()
        +
        Description copied from class: BuiltInMethod
        +
        There's currently only one parameter foreseen instead of a list of parameter
        +
        +
        Specified by:
        +
        getParameter in class BuiltInMethod
        +
        Returns:
        +
        the parameter
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/AbstractToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/AbstractToXmlGregorianCalendar.html new file mode 100644 index 000000000..7404e8665 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/AbstractToXmlGregorianCalendar.html @@ -0,0 +1,242 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/BuiltInMappingMethods.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/BuiltInMappingMethods.html new file mode 100644 index 000000000..25abb6645 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/BuiltInMappingMethods.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.BuiltInMappingMethods (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.BuiltInMappingMethods

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.BuiltInMappingMethods
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/BuiltInMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/BuiltInMethod.html new file mode 100644 index 000000000..a14f47f87 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/BuiltInMethod.html @@ -0,0 +1,365 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/CalendarToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/CalendarToXmlGregorianCalendar.html new file mode 100644 index 000000000..22030e787 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/CalendarToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.CalendarToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.CalendarToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.CalendarToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/CalendarToZonedDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/CalendarToZonedDateTime.html new file mode 100644 index 000000000..6a0b12778 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/CalendarToZonedDateTime.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.CalendarToZonedDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.CalendarToZonedDateTime

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.CalendarToZonedDateTime
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/DateToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/DateToXmlGregorianCalendar.html new file mode 100644 index 000000000..74947eca2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/DateToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.DateToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.DateToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.DateToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..c3af580d2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.JodaDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.JodaDateTimeToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.JodaDateTimeToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..dc5e8bd4c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateTimeToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateTimeToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalDateToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalDateToXmlGregorianCalendar.html new file mode 100644 index 000000000..07ca9dd54 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalDateToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.JodaLocalDateToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..93faeabcd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/JodaLocalTimeToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.JodaLocalTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.JodaLocalTimeToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.JodaLocalTimeToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/LocalDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/LocalDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..bcedb217e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/LocalDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.LocalDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.LocalDateTimeToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.LocalDateTimeToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/LocalDateToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/LocalDateToXmlGregorianCalendar.html new file mode 100644 index 000000000..45fd88de2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/LocalDateToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.LocalDateToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.LocalDateToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.LocalDateToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/NewDatatypeFactoryConstructorFragment.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/NewDatatypeFactoryConstructorFragment.html new file mode 100644 index 000000000..28e9c643f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/NewDatatypeFactoryConstructorFragment.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.NewDatatypeFactoryConstructorFragment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.NewDatatypeFactoryConstructorFragment

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.NewDatatypeFactoryConstructorFragment
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/StringToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/StringToXmlGregorianCalendar.html new file mode 100644 index 000000000..9c56b38c3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/StringToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.StringToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.StringToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.StringToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToCalendar.html new file mode 100644 index 000000000..1ff3ca1bd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToDate.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToDate.html new file mode 100644 index 000000000..7b8d051aa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToDate.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToDate (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToDate

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToDate
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaDateTime.html new file mode 100644 index 000000000..618e79312 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaDateTime.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaDateTime

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaDateTime
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalDate.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalDate.html new file mode 100644 index 000000000..95dcb5de0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalDate.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDate (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDate

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDate
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalDateTime.html new file mode 100644 index 000000000..fda7502f3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalDateTime.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDateTime

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalDateTime
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalTime.html new file mode 100644 index 000000000..179b5d8cb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToJodaLocalTime.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalTime

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToJodaLocalTime
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToLocalDate.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToLocalDate.html new file mode 100644 index 000000000..f6cc41113 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToLocalDate.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDate (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDate

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDate
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToLocalDateTime.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToLocalDateTime.html new file mode 100644 index 000000000..e09cb18ad --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToLocalDateTime.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDateTime (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDateTime

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToLocalDateTime
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToString.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToString.html new file mode 100644 index 000000000..eab6dfc34 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/XmlGregorianCalendarToString.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.XmlGregorianCalendarToString
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/ZonedDateTimeToCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/ZonedDateTimeToCalendar.html new file mode 100644 index 000000000..a0292b637 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/ZonedDateTimeToCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/ZonedDateTimeToXmlGregorianCalendar.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/ZonedDateTimeToXmlGregorianCalendar.html new file mode 100644 index 000000000..1102a05b8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/class-use/ZonedDateTimeToXmlGregorianCalendar.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToXmlGregorianCalendar (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToXmlGregorianCalendar

+
+
No usage of org.mapstruct.ap.internal.model.source.builtin.ZonedDateTimeToXmlGregorianCalendar
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-summary.html new file mode 100644 index 000000000..f0136e06f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-summary.html @@ -0,0 +1,283 @@ + + + + + +org.mapstruct.ap.internal.model.source.builtin (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.source.builtin

+
+
+
+ + +

+ Contains "built-in methods" which may be added as private methods to a generated mapper. Built-in methods are an + alternative to primitive conversions in cases where those don't suffice, e.g. if several lines of code are required + for a conversion or an exception needs to be handled. Each built-in method has a corresponding template which + contains the source code of the method. +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-tree.html new file mode 100644 index 000000000..a9d2c82da --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-tree.html @@ -0,0 +1,195 @@ + + + + + +org.mapstruct.ap.internal.model.source.builtin Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.source.builtin

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-use.html new file mode 100644 index 000000000..edab24864 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/builtin/package-use.html @@ -0,0 +1,220 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.source.builtin (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.source.builtin

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/BeanMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/BeanMappingOptions.html new file mode 100644 index 000000000..c63c5f546 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/BeanMappingOptions.html @@ -0,0 +1,351 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.BeanMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.BeanMappingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/DefaultOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/DefaultOptions.html new file mode 100644 index 000000000..8d1029661 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/DefaultOptions.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.DefaultOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.DefaultOptions

+
+
No usage of org.mapstruct.ap.internal.model.source.DefaultOptions
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/DelegatingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/DelegatingOptions.html new file mode 100644 index 000000000..703300000 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/DelegatingOptions.html @@ -0,0 +1,313 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.DelegatingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.DelegatingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/EnumMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/EnumMappingOptions.html new file mode 100644 index 000000000..23fc7272a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/EnumMappingOptions.html @@ -0,0 +1,280 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.EnumMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.EnumMappingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/IterableMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/IterableMappingOptions.html new file mode 100644 index 000000000..306f20f25 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/IterableMappingOptions.html @@ -0,0 +1,247 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.IterableMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.IterableMappingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapMappingOptions.html new file mode 100644 index 000000000..4bf5fe244 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapMappingOptions.html @@ -0,0 +1,247 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MapMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MapMappingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapperConfigOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapperConfigOptions.html new file mode 100644 index 000000000..1ef3efa2e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapperConfigOptions.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MapperConfigOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MapperConfigOptions

+
+
No usage of org.mapstruct.ap.internal.model.source.MapperConfigOptions
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapperOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapperOptions.html new file mode 100644 index 000000000..8ac7cca14 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MapperOptions.html @@ -0,0 +1,275 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MapperOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MapperOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingControl.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingControl.html new file mode 100644 index 000000000..0b44540a8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingControl.html @@ -0,0 +1,298 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MappingControl (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MappingControl

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingMethodOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingMethodOptions.html new file mode 100644 index 000000000..dc0185526 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingMethodOptions.html @@ -0,0 +1,320 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MappingMethodOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MappingMethodOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingMethodUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingMethodUtils.html new file mode 100644 index 000000000..f41fa5b32 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingMethodUtils.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MappingMethodUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MappingMethodUtils

+
+
No usage of org.mapstruct.ap.internal.model.source.MappingMethodUtils
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingOptions.InheritContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingOptions.InheritContext.html new file mode 100644 index 000000000..05753feea --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingOptions.InheritContext.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MappingOptions.InheritContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MappingOptions.InheritContext

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingOptions.html new file mode 100644 index 000000000..81923478e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MappingOptions.html @@ -0,0 +1,387 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MappingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/Method.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/Method.html new file mode 100644 index 000000000..3d65daaca --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/Method.html @@ -0,0 +1,1104 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.model.source.Method (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.model.source.Method

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MethodMatcher.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MethodMatcher.html new file mode 100644 index 000000000..b484f9018 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/MethodMatcher.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.MethodMatcher (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.MethodMatcher

+
+
No usage of org.mapstruct.ap.internal.model.source.MethodMatcher
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ParameterProvidedMethods.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ParameterProvidedMethods.Builder.html new file mode 100644 index 000000000..f20c9a130 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ParameterProvidedMethods.Builder.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.ParameterProvidedMethods.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ParameterProvidedMethods.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ParameterProvidedMethods.html new file mode 100644 index 000000000..4aded6d2e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ParameterProvidedMethods.html @@ -0,0 +1,290 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.ParameterProvidedMethods (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.ParameterProvidedMethods

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SelectionParameters.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SelectionParameters.html new file mode 100644 index 000000000..0d8108170 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SelectionParameters.html @@ -0,0 +1,537 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.SelectionParameters (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.SelectionParameters

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SourceMethod.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SourceMethod.Builder.html new file mode 100644 index 000000000..0cd95d68e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SourceMethod.Builder.html @@ -0,0 +1,292 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.SourceMethod.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.SourceMethod.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SourceMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SourceMethod.html new file mode 100644 index 000000000..6a59443c1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SourceMethod.html @@ -0,0 +1,491 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.SourceMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.SourceMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SubclassMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SubclassMappingOptions.html new file mode 100644 index 000000000..b6ad32aa6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SubclassMappingOptions.html @@ -0,0 +1,262 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.SubclassMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.SubclassMappingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SubclassValidator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SubclassValidator.html new file mode 100644 index 000000000..d42b219f5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/SubclassValidator.html @@ -0,0 +1,244 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.SubclassValidator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.SubclassValidator

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ValueMappingOptions.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ValueMappingOptions.html new file mode 100644 index 000000000..4cf28d090 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/class-use/ValueMappingOptions.html @@ -0,0 +1,295 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.ValueMappingOptions (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.ValueMappingOptions

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-summary.html new file mode 100644 index 000000000..e8f0128c2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-summary.html @@ -0,0 +1,312 @@ + + + + + +org.mapstruct.ap.internal.model.source (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.source

+
+
+
+ + +

+ Intermediary representation of mapping methods as retrieved from via the annotation processing API. The intermediary + representation is then processed into the mapper model representation. + + This intermediary presentation is primarily constructed in the + MapperCreationProcessor and used + in the MapperCreationProcessor +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-tree.html new file mode 100644 index 000000000..1af851d7b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-tree.html @@ -0,0 +1,195 @@ + + + + + +org.mapstruct.ap.internal.model.source Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.source

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+
    +
  • org.mapstruct.ap.internal.model.source.Method
  • +
+
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-use.html new file mode 100644 index 000000000..378610c37 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/package-use.html @@ -0,0 +1,573 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.source (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.source

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/CreateOrUpdateSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/CreateOrUpdateSelector.html new file mode 100644 index 000000000..2b491af20 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/CreateOrUpdateSelector.html @@ -0,0 +1,327 @@ + + + + + +CreateOrUpdateSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CreateOrUpdateSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.CreateOrUpdateSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class CreateOrUpdateSelector
    +extends Object
    +
    Selection based on type of method (create - or update method). +

    + Prefers (when present): +

      +
    1. create method candidates (methods not containing &#64;MappingTarget) when mapping method is a create + method
    2. +
    3. update method candidates (methods containing &#64;MappingTarget ) when mapping method is an update method +
    4. +
    + When not present, the remaining (createCandidates when mapping method is update method, updateCandidates when mapping + method is a create method) candidates are selected.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/FactoryParameterSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/FactoryParameterSelector.html new file mode 100644 index 000000000..95c7d7326 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/FactoryParameterSelector.html @@ -0,0 +1,319 @@ + + + + + +FactoryParameterSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FactoryParameterSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.FactoryParameterSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class FactoryParameterSelector
    +extends Object
    +
    For factory methods, the candidate list is checked if it contains a method with a source parameter which is to be + favored compared to factory methods without a source parameter. It returns the original list of candidates in case of + ambiguities.
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/InheritanceSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/InheritanceSelector.html new file mode 100644 index 000000000..e667324c2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/InheritanceSelector.html @@ -0,0 +1,317 @@ + + + + + +InheritanceSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class InheritanceSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.InheritanceSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class InheritanceSelector
    +extends Object
    +
    Selects on inheritance distance, e.g. the amount of inheritance steps from the parameter type.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MethodFamilySelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MethodFamilySelector.html new file mode 100644 index 000000000..1397f40a4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MethodFamilySelector.html @@ -0,0 +1,318 @@ + + + + + +MethodFamilySelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MethodFamilySelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.MethodFamilySelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MethodFamilySelector
    +extends Object
    +
    Selects those methods from the given input set which match for the requested family of methods: factory methods, + lifecycle callback methods, or any other mapping methods.
    +
    +
    Author:
    +
    Remo Meier
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MethodSelectors.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MethodSelectors.html new file mode 100644 index 000000000..e3693cf17 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MethodSelectors.html @@ -0,0 +1,333 @@ + + + + + +MethodSelectors (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MethodSelectors

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.MethodSelectors
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MethodSelectors
    +extends Object
    +
    Applies all known MethodSelectors in order.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMatchingMethods

        +
        public <T extends MethodList<SelectedMethod<T>> getMatchingMethods​(List<T> methods,
        +                                                                     SelectionContext context)
        +
        Selects those methods which match the given types and other criteria
        +
        +
        Type Parameters:
        +
        T - either SourceMethod or BuiltInMethod
        +
        Parameters:
        +
        methods - list of available methods
        +
        context - the selection context that should be used in the matching process
        +
        Returns:
        +
        list of methods that passes the matching process
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MostSpecificResultTypeSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MostSpecificResultTypeSelector.html new file mode 100644 index 000000000..b532ff84c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/MostSpecificResultTypeSelector.html @@ -0,0 +1,316 @@ + + + + + +MostSpecificResultTypeSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MostSpecificResultTypeSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.MostSpecificResultTypeSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MostSpecificResultTypeSelector
    +extends Object
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/QualifierSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/QualifierSelector.html new file mode 100644 index 000000000..15e3e32a3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/QualifierSelector.html @@ -0,0 +1,331 @@ + + + + + +QualifierSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class QualifierSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.QualifierSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class QualifierSelector
    +extends Object
    +
    This selector selects a best match based on qualifier annotations. +

    + A method is said to be marked with a qualifier annotation if the class in which it resides is annotated with a + qualifier annotation or if the method itself is annotated with a qualifier annotation or both. +

    + Rules: +

      +
    1. If no qualifiers are requested in the selection criteria, then only candidate methods without any qualifier + annotations remain in the list of potential candidates
    2. +
    3. If multiple qualifiers (qualifedBy) are specified, then all of them need to be present at a candidate for it to + match.
    4. +
    5. If no candidate matches the required qualifiers, then all candidates are returned.
    6. +
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectedMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectedMethod.html new file mode 100644 index 000000000..f87363dfa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectedMethod.html @@ -0,0 +1,404 @@ + + + + + +SelectedMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SelectedMethod<T extends Method>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.SelectedMethod<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SelectedMethod<T extends Method>
    +extends Object
    +
    A selected method with additional metadata that might be required for further usage of the selected method.
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + + + +
        +
      • +

        SelectedMethod

        +
        public SelectedMethod​(T method)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionContext.html new file mode 100644 index 000000000..909d537c4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionContext.html @@ -0,0 +1,458 @@ + + + + + +SelectionContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SelectionContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.SelectionContext
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SelectionContext
    +extends Object
    +
    Context passed to the selectors to get the information they need.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSourceType

        +
        public Type getSourceType()
        +
        +
        Returns:
        +
        the source type that should be matched
        +
        +
      • +
      + + + +
        +
      • +

        getSelectionCriteria

        +
        public SelectionCriteria getSelectionCriteria()
        +
        +
        Returns:
        +
        the criteria used in the selection process
        +
        +
      • +
      + + + +
        +
      • +

        getMappingTargetType

        +
        public Type getMappingTargetType()
        +
        +
        Returns:
        +
        the mapping target type that should be matched
        +
        +
      • +
      + + + +
        +
      • +

        getReturnType

        +
        public Type getReturnType()
        +
        +
        Returns:
        +
        the return type that should be matched
        +
        +
      • +
      + + + +
        +
      • +

        getAvailableParameterBindings

        +
        public List<ParameterBinding> getAvailableParameterBindings()
        +
        +
        Returns:
        +
        the available parameter bindings for the matching
        +
        +
      • +
      + + + +
        +
      • +

        getMappingMethod

        +
        public Method getMappingMethod()
        +
        +
        Returns:
        +
        the mapping method, defined in Mapper for which this selection is carried out
        +
        +
      • +
      + + + + + + + + + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionCriteria.Type.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionCriteria.Type.html new file mode 100644 index 000000000..7d34cb007 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionCriteria.Type.html @@ -0,0 +1,426 @@ + + + + + +SelectionCriteria.Type (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum SelectionCriteria.Type

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static SelectionCriteria.Type[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (SelectionCriteria.Type c : SelectionCriteria.Type.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static SelectionCriteria.Type valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionCriteria.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionCriteria.html new file mode 100644 index 000000000..6f9876263 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SelectionCriteria.html @@ -0,0 +1,698 @@ + + + + + +SelectionCriteria (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SelectionCriteria

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.SelectionCriteria
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SelectionCriteria
    +extends Object
    +
    This class groups the selection criteria in one class
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isForMapping

        +
        public boolean isForMapping()
        +
        +
        Returns:
        +
        true if only mapping methods should be selected
        +
        +
      • +
      + + + +
        +
      • +

        isObjectFactoryRequired

        +
        public boolean isObjectFactoryRequired()
        +
        +
        Returns:
        +
        true if factory methods should be selected, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isLifecycleCallbackRequired

        +
        public boolean isLifecycleCallbackRequired()
        +
        +
        Returns:
        +
        true if lifecycle callback methods should be selected, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isPresenceCheckRequired

        +
        public boolean isPresenceCheckRequired()
        +
        +
        Returns:
        +
        true if presence check methods should be selected, false otherwise
        +
        +
      • +
      + + + +
        +
      • +

        setIgnoreQualifiers

        +
        public void setIgnoreQualifiers​(boolean ignoreQualifiers)
        +
      • +
      + + + + + + + +
        +
      • +

        getQualifiedByNames

        +
        public List<String> getQualifiedByNames()
        +
      • +
      + + + +
        +
      • +

        getTargetPropertyName

        +
        public String getTargetPropertyName()
        +
      • +
      + + + +
        +
      • +

        getQualifyingResultType

        +
        public TypeMirror getQualifyingResultType()
        +
      • +
      + + + +
        +
      • +

        isPreferUpdateMapping

        +
        public boolean isPreferUpdateMapping()
        +
      • +
      + + + +
        +
      • +

        getSourceRHS

        +
        public SourceRHS getSourceRHS()
        +
      • +
      + + + +
        +
      • +

        setPreferUpdateMapping

        +
        public void setPreferUpdateMapping​(boolean preferUpdateMapping)
        +
      • +
      + + + +
        +
      • +

        hasQualfiers

        +
        public boolean hasQualfiers()
        +
      • +
      + + + +
        +
      • +

        isAllowDirect

        +
        public boolean isAllowDirect()
        +
      • +
      + + + +
        +
      • +

        isAllowConversion

        +
        public boolean isAllowConversion()
        +
      • +
      + + + +
        +
      • +

        isAllowMappingMethod

        +
        public boolean isAllowMappingMethod()
        +
      • +
      + + + +
        +
      • +

        isAllow2Steps

        +
        public boolean isAllow2Steps()
        +
      • +
      + + + +
        +
      • +

        isSelfAllowed

        +
        public boolean isSelfAllowed()
        +
      • +
      + + + + + + + + + + + + + + + + + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SourceRhsSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SourceRhsSelector.html new file mode 100644 index 000000000..9e31756bd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/SourceRhsSelector.html @@ -0,0 +1,318 @@ + + + + + +SourceRhsSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SourceRhsSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.SourceRhsSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SourceRhsSelector
    +extends Object
    +
    Selector that tries to resolve an ambiquity between methods that contain source parameters and + SourceRHS type parameters.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/TargetTypeSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/TargetTypeSelector.html new file mode 100644 index 000000000..d8745d624 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/TargetTypeSelector.html @@ -0,0 +1,320 @@ + + + + + +TargetTypeSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TargetTypeSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class TargetTypeSelector
    +extends Object
    +
    This selector selects a best match based on the result type. +

    + Suppose: Sedan -> Car -> Vehicle, MotorCycle -> Vehicle By means of this selector one can pinpoint the exact + desired return type (Sedan, Car, MotorCycle, Vehicle)

    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/TypeSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/TypeSelector.html new file mode 100644 index 000000000..3b631e8c4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/TypeSelector.html @@ -0,0 +1,318 @@ + + + + + +TypeSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TypeSelector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.model.source.selector.TypeSelector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class TypeSelector
    +extends Object
    +
    Selects those methods from the given input set which match the given source and target types (via + MethodMatcher).
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/CreateOrUpdateSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/CreateOrUpdateSelector.html new file mode 100644 index 000000000..3c3618144 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/CreateOrUpdateSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.CreateOrUpdateSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.CreateOrUpdateSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.CreateOrUpdateSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/FactoryParameterSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/FactoryParameterSelector.html new file mode 100644 index 000000000..d246351f8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/FactoryParameterSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.FactoryParameterSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.FactoryParameterSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.FactoryParameterSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/InheritanceSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/InheritanceSelector.html new file mode 100644 index 000000000..fcddaff6d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/InheritanceSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.InheritanceSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.InheritanceSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.InheritanceSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MethodFamilySelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MethodFamilySelector.html new file mode 100644 index 000000000..4982686ac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MethodFamilySelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.MethodFamilySelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.MethodFamilySelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.MethodFamilySelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MethodSelectors.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MethodSelectors.html new file mode 100644 index 000000000..8652ef9cf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MethodSelectors.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.MethodSelectors (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.MethodSelectors

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.MethodSelectors
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MostSpecificResultTypeSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MostSpecificResultTypeSelector.html new file mode 100644 index 000000000..9b09f4848 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/MostSpecificResultTypeSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.MostSpecificResultTypeSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.MostSpecificResultTypeSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.MostSpecificResultTypeSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/QualifierSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/QualifierSelector.html new file mode 100644 index 000000000..faf5a475a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/QualifierSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.QualifierSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.QualifierSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.QualifierSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectedMethod.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectedMethod.html new file mode 100644 index 000000000..4ca0694a2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectedMethod.html @@ -0,0 +1,384 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.SelectedMethod (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.SelectedMethod

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionContext.html new file mode 100644 index 000000000..e73133dec --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionContext.html @@ -0,0 +1,297 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.SelectionContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.SelectionContext

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionCriteria.Type.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionCriteria.Type.html new file mode 100644 index 000000000..9f2e96d5b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionCriteria.Type.html @@ -0,0 +1,224 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionCriteria.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionCriteria.html new file mode 100644 index 000000000..1317d191b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SelectionCriteria.html @@ -0,0 +1,320 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.SelectionCriteria (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.SelectionCriteria

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SourceRhsSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SourceRhsSelector.html new file mode 100644 index 000000000..aadfa30bf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/SourceRhsSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.SourceRhsSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.SourceRhsSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.SourceRhsSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/TargetTypeSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/TargetTypeSelector.html new file mode 100644 index 000000000..1d4b1800b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/TargetTypeSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/TypeSelector.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/TypeSelector.html new file mode 100644 index 000000000..0a6a4bdb7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/class-use/TypeSelector.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.model.source.selector.TypeSelector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.model.source.selector.TypeSelector

+
+
No usage of org.mapstruct.ap.internal.model.source.selector.TypeSelector
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-summary.html new file mode 100644 index 000000000..bef79034c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-summary.html @@ -0,0 +1,268 @@ + + + + + +org.mapstruct.ap.internal.model.source.selector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.model.source.selector

+
+
+
+ + +

+ Provides strategies for selecting a matching mapping or factory method when mapping from one attribute to another + or instantiating the target type of a mapping method, respectively. +

+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    CreateOrUpdateSelector +
    Selection based on type of method (create - or update method).
    +
    FactoryParameterSelector +
    For factory methods, the candidate list is checked if it contains a method with a source parameter which is to be + favored compared to factory methods without a source parameter.
    +
    InheritanceSelector +
    Selects on inheritance distance, e.g. the amount of inheritance steps from the parameter type.
    +
    MethodFamilySelector +
    Selects those methods from the given input set which match for the requested family of methods: factory methods, + lifecycle callback methods, or any other mapping methods.
    +
    MethodSelectors +
    Applies all known MethodSelectors in order.
    +
    MostSpecificResultTypeSelector 
    QualifierSelector +
    This selector selects a best match based on qualifier annotations.
    +
    SelectedMethod<T extends Method> +
    A selected method with additional metadata that might be required for further usage of the selected method.
    +
    SelectionContext +
    Context passed to the selectors to get the information they need.
    +
    SelectionCriteria +
    This class groups the selection criteria in one class
    +
    SourceRhsSelector +
    Selector that tries to resolve an ambiquity between methods that contain source parameters and + SourceRHS type parameters.
    +
    TargetTypeSelector +
    This selector selects a best match based on the result type.
    +
    TypeSelector +
    Selects those methods from the given input set which match the given source and target types (via + MethodMatcher).
    +
    +
  • +
  • + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    SelectionCriteria.Type 
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-tree.html new file mode 100644 index 000000000..5df0d7521 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-tree.html @@ -0,0 +1,191 @@ + + + + + +org.mapstruct.ap.internal.model.source.selector Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.model.source.selector

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-use.html new file mode 100644 index 000000000..7f5c6c598 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/model/source/selector/package-use.html @@ -0,0 +1,265 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.model.source.selector (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.model.source.selector

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/option/Options.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/Options.html new file mode 100644 index 000000000..39193276a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/Options.html @@ -0,0 +1,485 @@ + + + + + +Options (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Options

+
+
+ +
+
    +
  • +
    +
    public class Options
    +extends Object
    +
    The options passed to the code generator.
    +
    +
    Author:
    +
    Andreas Gudian, Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Options

        +
        public Options​(boolean suppressGeneratorTimestamp,
        +               boolean suppressGeneratorVersionComment,
        +               org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedTargetPolicy,
        +               org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedSourcePolicy,
        +               String defaultComponentModel,
        +               String defaultInjectionStrategy,
        +               boolean alwaysGenerateSpi,
        +               boolean disableBuilders,
        +               boolean verbose,
        +               org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem nullValueIterableMappingStrategy,
        +               org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem nullValueMapMappingStrategy)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isSuppressGeneratorTimestamp

        +
        public boolean isSuppressGeneratorTimestamp()
        +
      • +
      + + + +
        +
      • +

        isSuppressGeneratorVersionComment

        +
        public boolean isSuppressGeneratorVersionComment()
        +
      • +
      + + + +
        +
      • +

        getUnmappedTargetPolicy

        +
        public org.mapstruct.ap.internal.gem.ReportingPolicyGem getUnmappedTargetPolicy()
        +
      • +
      + + + +
        +
      • +

        getUnmappedSourcePolicy

        +
        public org.mapstruct.ap.internal.gem.ReportingPolicyGem getUnmappedSourcePolicy()
        +
      • +
      + + + +
        +
      • +

        getDefaultComponentModel

        +
        public String getDefaultComponentModel()
        +
      • +
      + + + +
        +
      • +

        getDefaultInjectionStrategy

        +
        public String getDefaultInjectionStrategy()
        +
      • +
      + + + +
        +
      • +

        isAlwaysGenerateSpi

        +
        public boolean isAlwaysGenerateSpi()
        +
      • +
      + + + +
        +
      • +

        isDisableBuilders

        +
        public boolean isDisableBuilders()
        +
      • +
      + + + +
        +
      • +

        isVerbose

        +
        public boolean isVerbose()
        +
      • +
      + + + +
        +
      • +

        getNullValueIterableMappingStrategy

        +
        public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueIterableMappingStrategy()
        +
      • +
      + + + +
        +
      • +

        getNullValueMapMappingStrategy

        +
        public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueMapMappingStrategy()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/option/class-use/Options.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/class-use/Options.html new file mode 100644 index 000000000..9aacf9557 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/class-use/Options.html @@ -0,0 +1,348 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.option.Options (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.option.Options

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-summary.html new file mode 100644 index 000000000..69a314f9a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-summary.html @@ -0,0 +1,178 @@ + + + + + +org.mapstruct.ap.internal.option (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.option

+
+
+
+ + +

+ Provides access to the options passed to the annotation processor. +

+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    Options +
    The options passed to the code generator.
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-tree.html new file mode 100644 index 000000000..0892c2469 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.mapstruct.ap.internal.option Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.option

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • org.mapstruct.ap.internal.option.Options
    • +
    +
  • +
+
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-use.html new file mode 100644 index 000000000..c45e97026 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/option/package-use.html @@ -0,0 +1,243 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.option (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.option

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/AnnotationBasedComponentModelProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/AnnotationBasedComponentModelProcessor.html new file mode 100644 index 000000000..854f81f00 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/AnnotationBasedComponentModelProcessor.html @@ -0,0 +1,586 @@ + + + + + +AnnotationBasedComponentModelProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotationBasedComponentModelProcessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationBasedComponentModelProcessor

        +
        public AnnotationBasedComponentModelProcessor()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        process

        +
        public Mapper process​(ModelElementProcessor.ProcessorContext context,
        +                      TypeElement mapperTypeElement,
        +                      Mapper mapper)
        +
        Description copied from interface: ModelElementProcessor
        +
        Processes the given source element, representing a Java bean mapper in + one form or another.
        +
        +
        Specified by:
        +
        process in interface ModelElementProcessor<Mapper,​Mapper>
        +
        Parameters:
        +
        context - Context providing common infrastructure objects.
        +
        mapperTypeElement - The original type element from which the given mapper object + is derived.
        +
        mapper - The current representation of the bean mapper. Never + null (the very first processor receives the original + type element).
        +
        Returns:
        +
        The resulting representation of the bean mapper; may be the same + as the source representation, e.g. if a given implementation just + performs some sort of validity check. Implementations must never + return null except for the very last processor which + generates the resulting Java source file.
        +
        +
      • +
      + + + +
        +
      • +

        adjustDecorator

        +
        protected void adjustDecorator​(Mapper mapper,
        +                               org.mapstruct.ap.internal.gem.InjectionStrategyGem injectionStrategy)
        +
      • +
      + + + +
        +
      • +

        additionalPublicEmptyConstructor

        +
        protected boolean additionalPublicEmptyConstructor()
        +
      • +
      + + + +
        +
      • +

        getDelegatorReferenceAnnotations

        +
        protected List<Annotation> getDelegatorReferenceAnnotations​(Mapper mapper)
        +
      • +
      + + + +
        +
      • +

        replacementMapperReference

        +
        protected Field replacementMapperReference​(Field originalReference,
        +                                           List<Annotation> annotations,
        +                                           org.mapstruct.ap.internal.gem.InjectionStrategyGem injectionStrategy)
        +
        +
        Parameters:
        +
        originalReference - the reference to be replaced
        +
        annotations - the list of annotations
        +
        injectionStrategy - strategy for injection
        +
        Returns:
        +
        the mapper reference replacing the original one
        +
        +
      • +
      + + + +
        +
      • +

        getComponentModelIdentifier

        +
        protected abstract String getComponentModelIdentifier()
        +
        +
        Returns:
        +
        the component model identifier
        +
        +
      • +
      + + + +
        +
      • +

        getTypeAnnotations

        +
        protected abstract List<Annotation> getTypeAnnotations​(Mapper mapper)
        +
        +
        Parameters:
        +
        mapper - the mapper
        +
        Returns:
        +
        the annotation(s) to be added at the mapper type implementation
        +
        +
      • +
      + + + +
        +
      • +

        getDecoratorAnnotations

        +
        protected List<Annotation> getDecoratorAnnotations()
        +
        +
        Returns:
        +
        the annotation(s) to be added at the decorator of the mapper
        +
        +
      • +
      + + + +
        +
      • +

        getMapperReferenceAnnotations

        +
        protected abstract List<Annotation> getMapperReferenceAnnotations()
        +
        +
        Returns:
        +
        the annotation of the field for the mapper reference
        +
        +
      • +
      + + + +
        +
      • +

        requiresGenerationOfDecoratorClass

        +
        protected abstract boolean requiresGenerationOfDecoratorClass()
        +
        +
        Returns:
        +
        if a decorator (sub-)class needs to be generated or not
        +
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        public int getPriority()
        +
        Description copied from interface: ModelElementProcessor
        +
        Returns the priority value of this processor which must be between 1 + (highest priority) and 10000 (lowest priority). Processors are invoked in + order from highest to lowest priority, starting with the mapping method + retrieval processor (priority 1) and finishing with the code generation + processor (priority 10000). Processors working on the built + Mapper model must have a priority > 1000.
        +
        +
        Specified by:
        +
        getPriority in interface ModelElementProcessor<Mapper,​Mapper>
        +
        Returns:
        +
        The priority value of this processor.
        +
        +
      • +
      + + + +
        +
      • +

        getTypeFactory

        +
        protected TypeFactory getTypeFactory()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/CdiComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/CdiComponentProcessor.html new file mode 100644 index 000000000..140af36cb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/CdiComponentProcessor.html @@ -0,0 +1,440 @@ + + + + + +CdiComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CdiComponentProcessor

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/DefaultModelElementProcessorContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/DefaultModelElementProcessorContext.html new file mode 100644 index 000000000..0b80ae3c3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/DefaultModelElementProcessorContext.html @@ -0,0 +1,533 @@ + + + + + +DefaultModelElementProcessorContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultModelElementProcessorContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/DefaultVersionInformation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/DefaultVersionInformation.html new file mode 100644 index 000000000..c323ec360 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/DefaultVersionInformation.html @@ -0,0 +1,401 @@ + + + + + +DefaultVersionInformation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultVersionInformation

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.DefaultVersionInformation
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    VersionInformation
    +
    +
    +
    public class DefaultVersionInformation
    +extends Object
    +implements VersionInformation
    +
    Provides information about the processor version and the processor context implementation version. +

    + Separated into an interface and this implementation to avoid cyclic dependencies between the processor package and + the model package.

    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/JakartaCdiComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/JakartaCdiComponentProcessor.html new file mode 100644 index 000000000..52bb24b60 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/JakartaCdiComponentProcessor.html @@ -0,0 +1,440 @@ + + + + + +JakartaCdiComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JakartaCdiComponentProcessor

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/JakartaComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/JakartaComponentProcessor.html new file mode 100644 index 000000000..f3c0203a5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/JakartaComponentProcessor.html @@ -0,0 +1,461 @@ + + + + + +JakartaComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JakartaComponentProcessor

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/Jsr330ComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/Jsr330ComponentProcessor.html new file mode 100644 index 000000000..311896faf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/Jsr330ComponentProcessor.html @@ -0,0 +1,461 @@ + + + + + +Jsr330ComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Jsr330ComponentProcessor

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperAnnotatedFormattingMessenger.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperAnnotatedFormattingMessenger.html new file mode 100644 index 000000000..0fa53f78a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperAnnotatedFormattingMessenger.html @@ -0,0 +1,498 @@ + + + + + +MapperAnnotatedFormattingMessenger (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapperAnnotatedFormattingMessenger

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    FormattingMessager
    +
    +
    +
    public class MapperAnnotatedFormattingMessenger
    +extends Object
    +implements FormattingMessager
    +
    Handles redirection of errors/warnings so that they're shown on the mapper instead of hidden on a superclass.
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        printMessage

        +
        public void printMessage​(Message msg,
        +                         Object... args)
        +
        Description copied from interface: FormattingMessager
        +
        Prints a message of the specified kind.
        +
        +
        Specified by:
        +
        printMessage in interface FormattingMessager
        +
        Parameters:
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        printMessage

        +
        public void printMessage​(Element e,
        +                         Message msg,
        +                         Object... args)
        +
        Description copied from interface: FormattingMessager
        +
        Prints a message of the specified kind at the location of the + element.
        +
        +
        Specified by:
        +
        printMessage in interface FormattingMessager
        +
        Parameters:
        +
        e - the element to use as a position hint
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        printMessage

        +
        public void printMessage​(Element e,
        +                         AnnotationMirror a,
        +                         Message msg,
        +                         Object... args)
        +
        Description copied from interface: FormattingMessager
        +
        Prints a message of the specified kind at the location of the + annotation positionHint of the annotated element.
        +
        +
        Specified by:
        +
        printMessage in interface FormattingMessager
        +
        Parameters:
        +
        e - the annotated element
        +
        a - the annotation to use as a position hint (can be null)
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        printMessage

        +
        public void printMessage​(Element e,
        +                         AnnotationMirror a,
        +                         AnnotationValue v,
        +                         Message msg,
        +                         Object... args)
        +
        Description copied from interface: FormattingMessager
        +
        Prints a message of the specified kind at the location of the + annotation value inside the annotation positionHint of the annotated + element.
        +
        +
        Specified by:
        +
        printMessage in interface FormattingMessager
        +
        Parameters:
        +
        e - the annotated element
        +
        a - the annotation containing the annotation value
        +
        v - the annotation value to use as a position hint
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        note

        +
        public void note​(int level,
        +                 Message log,
        +                 Object... args)
        +
        Description copied from interface: FormattingMessager
        +
        Just log as plain note
        +
        +
        Specified by:
        +
        note in interface FormattingMessager
        +
        Parameters:
        +
        level - nesting level
        +
        log - the log message
        +
        args - the arguments
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperCreationProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperCreationProcessor.html new file mode 100644 index 000000000..8439890ff --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperCreationProcessor.html @@ -0,0 +1,396 @@ + + + + + +MapperCreationProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapperCreationProcessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.MapperCreationProcessor
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MapperCreationProcessor

        +
        public MapperCreationProcessor()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        process

        +
        public Mapper process​(ModelElementProcessor.ProcessorContext context,
        +                      TypeElement mapperTypeElement,
        +                      List<SourceMethod> sourceModel)
        +
        Description copied from interface: ModelElementProcessor
        +
        Processes the given source element, representing a Java bean mapper in + one form or another.
        +
        +
        Specified by:
        +
        process in interface ModelElementProcessor<List<SourceMethod>,​Mapper>
        +
        Parameters:
        +
        context - Context providing common infrastructure objects.
        +
        mapperTypeElement - The original type element from which the given mapper object + is derived.
        +
        sourceModel - The current representation of the bean mapper. Never + null (the very first processor receives the original + type element).
        +
        Returns:
        +
        The resulting representation of the bean mapper; may be the same + as the source representation, e.g. if a given implementation just + performs some sort of validity check. Implementations must never + return null except for the very last processor which + generates the resulting Java source file.
        +
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        public int getPriority()
        +
        Description copied from interface: ModelElementProcessor
        +
        Returns the priority value of this processor which must be between 1 + (highest priority) and 10000 (lowest priority). Processors are invoked in + order from highest to lowest priority, starting with the mapping method + retrieval processor (priority 1) and finishing with the code generation + processor (priority 10000). Processors working on the built + Mapper model must have a priority > 1000.
        +
        +
        Specified by:
        +
        getPriority in interface ModelElementProcessor<List<SourceMethod>,​Mapper>
        +
        Returns:
        +
        The priority value of this processor.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperRenderingProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperRenderingProcessor.html new file mode 100644 index 000000000..a05a22f13 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperRenderingProcessor.html @@ -0,0 +1,396 @@ + + + + + +MapperRenderingProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapperRenderingProcessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.MapperRenderingProcessor
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MapperRenderingProcessor

        +
        public MapperRenderingProcessor()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        process

        +
        public Mapper process​(ModelElementProcessor.ProcessorContext context,
        +                      TypeElement mapperTypeElement,
        +                      Mapper mapper)
        +
        Description copied from interface: ModelElementProcessor
        +
        Processes the given source element, representing a Java bean mapper in + one form or another.
        +
        +
        Specified by:
        +
        process in interface ModelElementProcessor<Mapper,​Mapper>
        +
        Parameters:
        +
        context - Context providing common infrastructure objects.
        +
        mapperTypeElement - The original type element from which the given mapper object + is derived.
        +
        mapper - The current representation of the bean mapper. Never + null (the very first processor receives the original + type element).
        +
        Returns:
        +
        The resulting representation of the bean mapper; may be the same + as the source representation, e.g. if a given implementation just + performs some sort of validity check. Implementations must never + return null except for the very last processor which + generates the resulting Java source file.
        +
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        public int getPriority()
        +
        Description copied from interface: ModelElementProcessor
        +
        Returns the priority value of this processor which must be between 1 + (highest priority) and 10000 (lowest priority). Processors are invoked in + order from highest to lowest priority, starting with the mapping method + retrieval processor (priority 1) and finishing with the code generation + processor (priority 10000). Processors working on the built + Mapper model must have a priority > 1000.
        +
        +
        Specified by:
        +
        getPriority in interface ModelElementProcessor<Mapper,​Mapper>
        +
        Returns:
        +
        The priority value of this processor.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperServiceProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperServiceProcessor.html new file mode 100644 index 000000000..c9297cd95 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MapperServiceProcessor.html @@ -0,0 +1,399 @@ + + + + + +MapperServiceProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapperServiceProcessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.MapperServiceProcessor
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ModelElementProcessor<Mapper,​Void>
    +
    +
    +
    public class MapperServiceProcessor
    +extends Object
    +implements ModelElementProcessor<Mapper,​Void>
    +
    A ModelElementProcessor which creates files in the META-INF/services + hierarchy for classes with custom implementation class or package name. + + Service files will only be generated for mappers with the default component model + unless force using the mapstruct.alwaysGenerateServicesFile option.
    +
    +
    Author:
    +
    Christophe Labouisse on 12/07/2015.
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MapperServiceProcessor

        +
        public MapperServiceProcessor()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        process

        +
        public Void process​(ModelElementProcessor.ProcessorContext context,
        +                    TypeElement mapperTypeElement,
        +                    Mapper mapper)
        +
        Description copied from interface: ModelElementProcessor
        +
        Processes the given source element, representing a Java bean mapper in + one form or another.
        +
        +
        Specified by:
        +
        process in interface ModelElementProcessor<Mapper,​Void>
        +
        Parameters:
        +
        context - Context providing common infrastructure objects.
        +
        mapperTypeElement - The original type element from which the given mapper object + is derived.
        +
        mapper - The current representation of the bean mapper. Never + null (the very first processor receives the original + type element).
        +
        Returns:
        +
        The resulting representation of the bean mapper; may be the same + as the source representation, e.g. if a given implementation just + performs some sort of validity check. Implementations must never + return null except for the very last processor which + generates the resulting Java source file.
        +
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        public int getPriority()
        +
        Description copied from interface: ModelElementProcessor
        +
        Returns the priority value of this processor which must be between 1 + (highest priority) and 10000 (lowest priority). Processors are invoked in + order from highest to lowest priority, starting with the mapping method + retrieval processor (priority 1) and finishing with the code generation + processor (priority 10000). Processors working on the built + Mapper model must have a priority > 1000.
        +
        +
        Specified by:
        +
        getPriority in interface ModelElementProcessor<Mapper,​Void>
        +
        Returns:
        +
        The priority value of this processor.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MethodRetrievalProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MethodRetrievalProcessor.html new file mode 100644 index 000000000..6a7466d4b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/MethodRetrievalProcessor.html @@ -0,0 +1,398 @@ + + + + + +MethodRetrievalProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MethodRetrievalProcessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.MethodRetrievalProcessor
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MethodRetrievalProcessor

        +
        public MethodRetrievalProcessor()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        process

        +
        public List<SourceMethod> process​(ModelElementProcessor.ProcessorContext context,
        +                                  TypeElement mapperTypeElement,
        +                                  Void sourceModel)
        +
        Description copied from interface: ModelElementProcessor
        +
        Processes the given source element, representing a Java bean mapper in + one form or another.
        +
        +
        Specified by:
        +
        process in interface ModelElementProcessor<Void,​List<SourceMethod>>
        +
        Parameters:
        +
        context - Context providing common infrastructure objects.
        +
        mapperTypeElement - The original type element from which the given mapper object + is derived.
        +
        sourceModel - The current representation of the bean mapper. Never + null (the very first processor receives the original + type element).
        +
        Returns:
        +
        The resulting representation of the bean mapper; may be the same + as the source representation, e.g. if a given implementation just + performs some sort of validity check. Implementations must never + return null except for the very last processor which + generates the resulting Java source file.
        +
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        public int getPriority()
        +
        Description copied from interface: ModelElementProcessor
        +
        Returns the priority value of this processor which must be between 1 + (highest priority) and 10000 (lowest priority). Processors are invoked in + order from highest to lowest priority, starting with the mapping method + retrieval processor (priority 1) and finishing with the code generation + processor (priority 10000). Processors working on the built + Mapper model must have a priority > 1000.
        +
        +
        Specified by:
        +
        getPriority in interface ModelElementProcessor<Void,​List<SourceMethod>>
        +
        Returns:
        +
        The priority value of this processor.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/ModelElementProcessor.ProcessorContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/ModelElementProcessor.ProcessorContext.html new file mode 100644 index 000000000..65e058691 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/ModelElementProcessor.ProcessorContext.html @@ -0,0 +1,432 @@ + + + + + +ModelElementProcessor.ProcessorContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ModelElementProcessor.ProcessorContext

+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/ModelElementProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/ModelElementProcessor.html new file mode 100644 index 000000000..ab63c6afc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/ModelElementProcessor.html @@ -0,0 +1,352 @@ + + + + + +ModelElementProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ModelElementProcessor<P,​R>

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        process

        +
        R process​(ModelElementProcessor.ProcessorContext context,
        +          TypeElement mapperTypeElement,
        +          P sourceModel)
        +
        Processes the given source element, representing a Java bean mapper in + one form or another.
        +
        +
        Parameters:
        +
        context - Context providing common infrastructure objects.
        +
        mapperTypeElement - The original type element from which the given mapper object + is derived.
        +
        sourceModel - The current representation of the bean mapper. Never + null (the very first processor receives the original + type element).
        +
        Returns:
        +
        The resulting representation of the bean mapper; may be the same + as the source representation, e.g. if a given implementation just + performs some sort of validity check. Implementations must never + return null except for the very last processor which + generates the resulting Java source file.
        +
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        int getPriority()
        +
        Returns the priority value of this processor which must be between 1 + (highest priority) and 10000 (lowest priority). Processors are invoked in + order from highest to lowest priority, starting with the mapping method + retrieval processor (priority 1) and finishing with the code generation + processor (priority 10000). Processors working on the built + Mapper model must have a priority > 1000.
        +
        +
        Returns:
        +
        The priority value of this processor.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/SpringComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/SpringComponentProcessor.html new file mode 100644 index 000000000..01687fa5a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/SpringComponentProcessor.html @@ -0,0 +1,461 @@ + + + + + +SpringComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SpringComponentProcessor

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/AnnotationBasedComponentModelProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/AnnotationBasedComponentModelProcessor.html new file mode 100644 index 000000000..073c4cb31 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/AnnotationBasedComponentModelProcessor.html @@ -0,0 +1,238 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.AnnotationBasedComponentModelProcessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/CdiComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/CdiComponentProcessor.html new file mode 100644 index 000000000..1846bd674 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/CdiComponentProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.CdiComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.CdiComponentProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.CdiComponentProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/DefaultModelElementProcessorContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/DefaultModelElementProcessorContext.html new file mode 100644 index 000000000..d85c5d453 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/DefaultModelElementProcessorContext.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext

+
+
No usage of org.mapstruct.ap.internal.processor.DefaultModelElementProcessorContext
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/DefaultVersionInformation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/DefaultVersionInformation.html new file mode 100644 index 000000000..2ca1027fb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/DefaultVersionInformation.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.DefaultVersionInformation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.DefaultVersionInformation

+
+
No usage of org.mapstruct.ap.internal.processor.DefaultVersionInformation
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/JakartaCdiComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/JakartaCdiComponentProcessor.html new file mode 100644 index 000000000..c23750804 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/JakartaCdiComponentProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.JakartaCdiComponentProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/JakartaComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/JakartaComponentProcessor.html new file mode 100644 index 000000000..dc8503883 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/JakartaComponentProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.JakartaComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.JakartaComponentProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.JakartaComponentProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/Jsr330ComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/Jsr330ComponentProcessor.html new file mode 100644 index 000000000..57d615528 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/Jsr330ComponentProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.Jsr330ComponentProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperAnnotatedFormattingMessenger.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperAnnotatedFormattingMessenger.html new file mode 100644 index 000000000..485f4f822 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperAnnotatedFormattingMessenger.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger

+
+
No usage of org.mapstruct.ap.internal.processor.MapperAnnotatedFormattingMessenger
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperCreationProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperCreationProcessor.html new file mode 100644 index 000000000..cecf94fad --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperCreationProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.MapperCreationProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.MapperCreationProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.MapperCreationProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperRenderingProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperRenderingProcessor.html new file mode 100644 index 000000000..6a44955ba --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperRenderingProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.MapperRenderingProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.MapperRenderingProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.MapperRenderingProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperServiceProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperServiceProcessor.html new file mode 100644 index 000000000..ba7fae386 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MapperServiceProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.MapperServiceProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.MapperServiceProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.MapperServiceProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MethodRetrievalProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MethodRetrievalProcessor.html new file mode 100644 index 000000000..1fa523431 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/MethodRetrievalProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.MethodRetrievalProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.MethodRetrievalProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.MethodRetrievalProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/ModelElementProcessor.ProcessorContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/ModelElementProcessor.ProcessorContext.html new file mode 100644 index 000000000..fd9174723 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/ModelElementProcessor.ProcessorContext.html @@ -0,0 +1,255 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.processor.ModelElementProcessor.ProcessorContext

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/ModelElementProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/ModelElementProcessor.html new file mode 100644 index 000000000..864cdb410 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/ModelElementProcessor.html @@ -0,0 +1,280 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.processor.ModelElementProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.processor.ModelElementProcessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/SpringComponentProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/SpringComponentProcessor.html new file mode 100644 index 000000000..d73cc3d7c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/class-use/SpringComponentProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.SpringComponentProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.SpringComponentProcessor

+
+
No usage of org.mapstruct.ap.internal.processor.SpringComponentProcessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/MappingResolverImpl.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/MappingResolverImpl.html new file mode 100644 index 000000000..ab9f90184 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/MappingResolverImpl.html @@ -0,0 +1,411 @@ + + + + + +MappingResolverImpl (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MappingResolverImpl

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.processor.creation.MappingResolverImpl
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/class-use/MappingResolverImpl.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/class-use/MappingResolverImpl.html new file mode 100644 index 000000000..233edf93f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/class-use/MappingResolverImpl.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.processor.creation.MappingResolverImpl (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.processor.creation.MappingResolverImpl

+
+
No usage of org.mapstruct.ap.internal.processor.creation.MappingResolverImpl
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-summary.html new file mode 100644 index 000000000..061308d71 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-summary.html @@ -0,0 +1,178 @@ + + + + + +org.mapstruct.ap.internal.processor.creation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.processor.creation

+
+
+
+ + +

+ Contains all helper classes for the MapperCreationProcessor +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-tree.html new file mode 100644 index 000000000..82bed20c4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.mapstruct.ap.internal.processor.creation Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.processor.creation

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-use.html new file mode 100644 index 000000000..b1732728a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/creation/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.processor.creation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.processor.creation

+
+
No usage of org.mapstruct.ap.internal.processor.creation
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-summary.html new file mode 100644 index 000000000..fd31b39d9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-summary.html @@ -0,0 +1,296 @@ + + + + + +org.mapstruct.ap.internal.processor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.processor

+
+
+
+ + +

+ Contains model processors which perform tasks such as retrieving mapping methods, creating a model representation + and writing the model into Java source files. Processors are invoked in order as per their priority value. +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-tree.html new file mode 100644 index 000000000..71b596270 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-tree.html @@ -0,0 +1,187 @@ + + + + + +org.mapstruct.ap.internal.processor Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.processor

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-use.html new file mode 100644 index 000000000..2c04e26f1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/processor/package-use.html @@ -0,0 +1,209 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.processor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.processor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AbstractElementUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AbstractElementUtilsDecorator.html new file mode 100644 index 000000000..1931ba3b5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AbstractElementUtilsDecorator.html @@ -0,0 +1,655 @@ + + + + + +AbstractElementUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractElementUtilsDecorator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AbstractTypeUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AbstractTypeUtilsDecorator.html new file mode 100644 index 000000000..7e327ad2b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AbstractTypeUtilsDecorator.html @@ -0,0 +1,671 @@ + + + + + +AbstractTypeUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractTypeUtilsDecorator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AccessorNamingUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AccessorNamingUtils.html new file mode 100644 index 000000000..27b6f8c71 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AccessorNamingUtils.html @@ -0,0 +1,397 @@ + + + + + +AccessorNamingUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AccessorNamingUtils

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.AccessorNamingUtils
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class AccessorNamingUtils
    +extends Object
    +
    Utils for working with the AccessorNamingStrategy.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isGetterMethod

        +
        public boolean isGetterMethod​(ExecutableElement executable)
        +
      • +
      + + + +
        +
      • +

        isPresenceCheckMethod

        +
        public boolean isPresenceCheckMethod​(ExecutableElement executable)
        +
      • +
      + + + +
        +
      • +

        isSetterMethod

        +
        public boolean isSetterMethod​(ExecutableElement executable)
        +
      • +
      + + + +
        +
      • +

        isAdderMethod

        +
        public boolean isAdderMethod​(ExecutableElement executable)
        +
      • +
      + + + + + + + +
        +
      • +

        getElementNameForAdder

        +
        public String getElementNameForAdder​(Accessor adderMethod)
        +
        +
        Parameters:
        +
        adderMethod - the adder method
        +
        Returns:
        +
        the 'element name' to which an adder method applies. If. e.g. an adder method is named + addChild(Child v), the element name would be 'Child'.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AnnotationProcessingException.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AnnotationProcessingException.html new file mode 100644 index 000000000..eec60db89 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AnnotationProcessingException.html @@ -0,0 +1,426 @@ + + + + + +AnnotationProcessingException (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotationProcessingException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    public class AnnotationProcessingException
    +extends RuntimeException
    +
    Indicates an error during annotation processing. Should only be thrown in non-recoverable situations such as errors + due to incomplete compilations etc. Expected errors to be propagated to the user of the annotation processor should + be raised using the FormattingMessager API instead.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationProcessingException

        +
        public AnnotationProcessingException​(String message)
        +
      • +
      + + + +
        +
      • +

        AnnotationProcessingException

        +
        public AnnotationProcessingException​(String message,
        +                                     Element element)
        +
      • +
      + + + +
        +
      • +

        AnnotationProcessingException

        +
        public AnnotationProcessingException​(String message,
        +                                     Element element,
        +                                     AnnotationMirror annotationMirror)
        +
      • +
      + + + + +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AnnotationProcessorContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AnnotationProcessorContext.html new file mode 100644 index 000000000..fcb3ae2e4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/AnnotationProcessorContext.html @@ -0,0 +1,486 @@ + + + + + +AnnotationProcessorContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotationProcessorContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.AnnotationProcessorContext
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Collections.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Collections.html new file mode 100644 index 000000000..284867b43 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Collections.html @@ -0,0 +1,405 @@ + + + + + +Collections (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Collections

+
+
+ +
+
    +
  • +
    +
    public class Collections
    +extends Object
    +
    Provides utility methods around collections.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        asSet

        +
        @SafeVarargs
        +public static <T> Set<T> asSet​(T... elements)
        +
      • +
      + + + + + + + + + + + + + +
        +
      • +

        first

        +
        public static <T> T first​(Collection<T> collection)
        +
      • +
      + + + +
        +
      • +

        last

        +
        public static <T> T last​(List<T> list)
        +
      • +
      + + + +
        +
      • +

        join

        +
        public static <T> List<T> join​(List<T> a,
        +                               List<T> b)
        +
      • +
      + + + +
        +
      • +

        first

        +
        public static <K,​V> Map.Entry<K,​V> first​(Map<K,​V> map)
        +
      • +
      + + + +
        +
      • +

        firstValue

        +
        public static <K,​V> V firstValue​(Map<K,​V> map)
        +
      • +
      + + + +
        +
      • +

        firstKey

        +
        public static <K,​V> K firstKey​(Map<K,​V> map)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/EclipseElementUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/EclipseElementUtilsDecorator.html new file mode 100644 index 000000000..b87425fb7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/EclipseElementUtilsDecorator.html @@ -0,0 +1,326 @@ + + + + + +EclipseElementUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EclipseElementUtilsDecorator

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        replaceTypeElementIfNecessary

        +
        protected TypeElement replaceTypeElementIfNecessary​(TypeElement element)
        +
        When running during Eclipse Incremental Compilation, we might get a TypeElement that has an UnresolvedTypeBinding + and which is not automatically resolved. In that case, getEnclosedElements returns an empty list. We take that as + a hint to check if the TypeElement resolved by FQN might have any enclosed elements and, if so, return the + resolved element.
        +
        +
        Specified by:
        +
        replaceTypeElementIfNecessary in class AbstractElementUtilsDecorator
        +
        Parameters:
        +
        element - the original element
        +
        Returns:
        +
        the element freshly resolved using the qualified name, if the original element did not return any + enclosed elements, whereas the resolved element does return enclosed elements.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/EclipseTypeUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/EclipseTypeUtilsDecorator.html new file mode 100644 index 000000000..6cf9f5274 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/EclipseTypeUtilsDecorator.html @@ -0,0 +1,294 @@ + + + + + +EclipseTypeUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EclipseTypeUtilsDecorator

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/ElementUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/ElementUtils.html new file mode 100644 index 000000000..377e8b597 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/ElementUtils.html @@ -0,0 +1,344 @@ + + + + + +ElementUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ElementUtils

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getAllEnclosedExecutableElements

        +
        List<ExecutableElement> getAllEnclosedExecutableElements​(TypeElement element)
        +
        Finds all executable elements within the given type element, including executable elements defined in super + classes and implemented interfaces. Methods defined in Object, + implementations of Object.equals(Object) and private methods are ignored
        +
        +
        Parameters:
        +
        element - the element to inspect
        +
        Returns:
        +
        the executable elements usable in the type
        +
        +
      • +
      + + + +
        +
      • +

        getAllEnclosedFields

        +
        List<VariableElement> getAllEnclosedFields​(TypeElement element)
        +
        Finds all variable elements within the given type element, including variable + elements defined in super classes and implemented interfaces and including the fields in the .
        +
        +
        Parameters:
        +
        element - the element to inspect
        +
        Returns:
        +
        the executable elements usable in the type
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Executables.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Executables.html new file mode 100644 index 000000000..78cb64fb0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Executables.html @@ -0,0 +1,354 @@ + + + + + +Executables (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Executables

+
+
+ +
+
    +
  • +
    +
    public class Executables
    +extends Object
    +
    Provides functionality around ExecutableElements.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isFinal

        +
        public static boolean isFinal​(Accessor accessor)
        +
      • +
      + + + +
        +
      • +

        isDefaultMethod

        +
        public static boolean isDefaultMethod​(ExecutableElement method)
        +
      • +
      + + + +
        +
      • +

        isLifecycleCallbackMethod

        +
        public static boolean isLifecycleCallbackMethod​(ExecutableElement executableElement)
        +
        +
        Parameters:
        +
        executableElement - the element to check
        +
        Returns:
        +
        true, if the executable element is a method annotated with @BeforeMapping or + @AfterMapping
        +
        +
      • +
      + + + +
        +
      • +

        isAfterMappingMethod

        +
        public static boolean isAfterMappingMethod​(ExecutableElement executableElement)
        +
        +
        Parameters:
        +
        executableElement - the element to check
        +
        Returns:
        +
        true, if the executable element is a method annotated with @AfterMapping
        +
        +
      • +
      + + + +
        +
      • +

        isBeforeMappingMethod

        +
        public static boolean isBeforeMappingMethod​(ExecutableElement executableElement)
        +
        +
        Parameters:
        +
        executableElement - the element to check
        +
        Returns:
        +
        true, if the executable element is a method annotated with @BeforeMapping
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Extractor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Extractor.html new file mode 100644 index 000000000..a08a63ed0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Extractor.html @@ -0,0 +1,275 @@ + + + + + +Extractor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Extractor<T,​R>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - the type of the input to the function
    +
    R - the type of the result of the function
    +
    +
    +
    public interface Extractor<T,​R>
    +
    This is a helper interface until we migrate to Java 8. It allows us to abstract our code easier.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        apply

        +
        R apply​(T t)
        +
        Extract a value from the passed parameter.
        +
        +
        Parameters:
        +
        t - the value that we need to extract from
        +
        Returns:
        +
        the result from the extraction
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Fields.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Fields.html new file mode 100644 index 000000000..a431b3d92 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Fields.html @@ -0,0 +1,275 @@ + + + + + +Fields (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Fields

+
+
+ +
+
    +
  • +
    +
    public class Fields
    +extends Object
    +
    Provides functionality around VariableElements.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isFieldAccessor

        +
        public static boolean isFieldAccessor​(VariableElement method)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Filters.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Filters.html new file mode 100644 index 000000000..efc4e2d81 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Filters.html @@ -0,0 +1,411 @@ + + + + + +Filters (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Filters

+
+
+ +
+
    +
  • +
    +
    public class Filters
    +extends Object
    +
    Filter methods for working with Element collections.
    +
    +
    Author:
    +
    Gunnar Morling, Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/FormattingMessager.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/FormattingMessager.html new file mode 100644 index 000000000..719bff906 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/FormattingMessager.html @@ -0,0 +1,419 @@ + + + + + +FormattingMessager (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface FormattingMessager

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    MapperAnnotatedFormattingMessenger
    +
    +
    +
    public interface FormattingMessager
    +
    Prints out diagnostics raised by the annotation processor. Messages are Java format strings taking the given + arguments for interpolation.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        printMessage

        +
        void printMessage​(Message msg,
        +                  Object... args)
        +
        Prints a message of the specified kind.
        +
        +
        Parameters:
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        printMessage

        +
        void printMessage​(Element e,
        +                  Message msg,
        +                  Object... args)
        +
        Prints a message of the specified kind at the location of the + element.
        +
        +
        Parameters:
        +
        e - the element to use as a position hint
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        printMessage

        +
        void printMessage​(Element e,
        +                  AnnotationMirror a,
        +                  Message msg,
        +                  Object... args)
        +
        Prints a message of the specified kind at the location of the + annotation positionHint of the annotated element.
        +
        +
        Parameters:
        +
        e - the annotated element
        +
        a - the annotation to use as a position hint (can be null)
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        printMessage

        +
        void printMessage​(Element e,
        +                  AnnotationMirror a,
        +                  AnnotationValue v,
        +                  Message msg,
        +                  Object... args)
        +
        Prints a message of the specified kind at the location of the + annotation value inside the annotation positionHint of the annotated + element.
        +
        +
        Parameters:
        +
        e - the annotated element
        +
        a - the annotation containing the annotation value
        +
        v - the annotation value to use as a position hint
        +
        msg - the message
        +
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments + than format specifiers, the extra arguments are ignored
        +
        +
      • +
      + + + +
        +
      • +

        note

        +
        void note​(int level,
        +          Message log,
        +          Object... args)
        +
        Just log as plain note
        +
        +
        Parameters:
        +
        level - nesting level
        +
        log - the log message
        +
        args - the arguments
        +
        +
      • +
      + + + +
        +
      • +

        isErroneous

        +
        boolean isErroneous()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/FreeBuilderConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/FreeBuilderConstants.html new file mode 100644 index 000000000..9c27157f1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/FreeBuilderConstants.html @@ -0,0 +1,283 @@ + + + + + +FreeBuilderConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FreeBuilderConstants

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.FreeBuilderConstants
    • +
    +
  • +
+
+
    +
  • +
    +
    public class FreeBuilderConstants
    +extends Object
    +
    Helper for holding FreeBuilder FQN.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/IgnoreJRERequirement.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/IgnoreJRERequirement.html new file mode 100644 index 000000000..f3ffa742d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/IgnoreJRERequirement.html @@ -0,0 +1,191 @@ + + + + + +IgnoreJRERequirement (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type IgnoreJRERequirement

+
+
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/ImmutablesConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/ImmutablesConstants.html new file mode 100644 index 000000000..ce6d8a0f3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/ImmutablesConstants.html @@ -0,0 +1,283 @@ + + + + + +ImmutablesConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ImmutablesConstants

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.ImmutablesConstants
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ImmutablesConstants
    +extends Object
    +
    Helper for holding Immutables FQN.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavaStreamConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavaStreamConstants.html new file mode 100644 index 000000000..52e1f3745 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavaStreamConstants.html @@ -0,0 +1,283 @@ + + + + + +JavaStreamConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavaStreamConstants

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.JavaStreamConstants
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class JavaStreamConstants
    +extends Object
    +
    Helper holding Java Stream full qualified class names for conversion registration
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavacElementUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavacElementUtilsDecorator.html new file mode 100644 index 000000000..66ce7d0d9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavacElementUtilsDecorator.html @@ -0,0 +1,314 @@ + + + + + +JavacElementUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavacElementUtilsDecorator

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavacTypeUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavacTypeUtilsDecorator.html new file mode 100644 index 000000000..33fb73c33 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JavacTypeUtilsDecorator.html @@ -0,0 +1,241 @@ + + + + + +JavacTypeUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JavacTypeUtilsDecorator

+
+
+ +
+ +
+ +
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JaxbConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JaxbConstants.html new file mode 100644 index 000000000..21c97a51d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JaxbConstants.html @@ -0,0 +1,298 @@ + + + + + +JaxbConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JaxbConstants

+
+
+ +
+
    +
  • +
    +
    public final class JaxbConstants
    +extends Object
    +
    Helper holding JAXB time full qualified class names for conversion registration
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JodaTimeConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JodaTimeConstants.html new file mode 100644 index 000000000..8dfe0b03c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/JodaTimeConstants.html @@ -0,0 +1,397 @@ + + + + + +JodaTimeConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class JodaTimeConstants

+
+
+ +
+
    +
  • +
    +
    public final class JodaTimeConstants
    +extends Object
    +
    Helper holding constants for working with Joda-Time.
    +
    +
    Author:
    +
    Timo Eckhardt
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Message.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Message.html new file mode 100644 index 000000000..9f40298cd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Message.html @@ -0,0 +1,2719 @@ + + + + + +Message (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum Message

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<Message>
    +
    +
    +
    public enum Message
    +extends Enum<Message>
    +
    A message used in warnings/errors raised by the annotation processor.
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        PROCESSING_NOTE

        +
        public static final Message PROCESSING_NOTE
        +
      • +
      + + + +
        +
      • +

        CONFIG_NOTE

        +
        public static final Message CONFIG_NOTE
        +
      • +
      + + + +
        +
      • +

        MESSAGE_MOVED_TO_MAPPER_ERROR

        +
        public static final Message MESSAGE_MOVED_TO_MAPPER_ERROR
        +
      • +
      + + + +
        +
      • +

        MESSAGE_MOVED_TO_MAPPER_WARNING

        +
        public static final Message MESSAGE_MOVED_TO_MAPPER_WARNING
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_CREATE_NOTE

        +
        public static final Message BEANMAPPING_CREATE_NOTE
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_NO_ELEMENTS

        +
        public static final Message BEANMAPPING_NO_ELEMENTS
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_NOT_ASSIGNABLE

        +
        public static final Message BEANMAPPING_NOT_ASSIGNABLE
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_ABSTRACT

        +
        public static final Message BEANMAPPING_ABSTRACT
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNKNOWN_PROPERTY_IN_RESULTTYPE

        +
        public static final Message BEANMAPPING_UNKNOWN_PROPERTY_IN_RESULTTYPE
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNKNOWN_PROPERTY_IN_TYPE

        +
        public static final Message BEANMAPPING_UNKNOWN_PROPERTY_IN_TYPE
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_PROPERTY_HAS_NO_WRITE_ACCESSOR_IN_RESULTTYPE

        +
        public static final Message BEANMAPPING_PROPERTY_HAS_NO_WRITE_ACCESSOR_IN_RESULTTYPE
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_PROPERTY_HAS_NO_WRITE_ACCESSOR_IN_TYPE

        +
        public static final Message BEANMAPPING_PROPERTY_HAS_NO_WRITE_ACCESSOR_IN_TYPE
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_SEVERAL_POSSIBLE_SOURCES

        +
        public static final Message BEANMAPPING_SEVERAL_POSSIBLE_SOURCES
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_SEVERAL_POSSIBLE_TARGET_ACCESSORS

        +
        public static final Message BEANMAPPING_SEVERAL_POSSIBLE_TARGET_ACCESSORS
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNMAPPED_TARGETS_WARNING

        +
        public static final Message BEANMAPPING_UNMAPPED_TARGETS_WARNING
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNMAPPED_TARGETS_ERROR

        +
        public static final Message BEANMAPPING_UNMAPPED_TARGETS_ERROR
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNMAPPED_FORGED_TARGETS_WARNING

        +
        public static final Message BEANMAPPING_UNMAPPED_FORGED_TARGETS_WARNING
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNMAPPED_FORGED_TARGETS_ERROR

        +
        public static final Message BEANMAPPING_UNMAPPED_FORGED_TARGETS_ERROR
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNMAPPED_SOURCES_WARNING

        +
        public static final Message BEANMAPPING_UNMAPPED_SOURCES_WARNING
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNMAPPED_SOURCES_ERROR

        +
        public static final Message BEANMAPPING_UNMAPPED_SOURCES_ERROR
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_MISSING_IGNORED_SOURCES_ERROR

        +
        public static final Message BEANMAPPING_MISSING_IGNORED_SOURCES_ERROR
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_CYCLE_BETWEEN_PROPERTIES

        +
        public static final Message BEANMAPPING_CYCLE_BETWEEN_PROPERTIES
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_UNKNOWN_PROPERTY_IN_DEPENDS_ON

        +
        public static final Message BEANMAPPING_UNKNOWN_PROPERTY_IN_DEPENDS_ON
        +
      • +
      + + + +
        +
      • +

        BEANMAPPING_IGNORE_BY_DEFAULT_WITH_MAPPING_TARGET_THIS

        +
        public static final Message BEANMAPPING_IGNORE_BY_DEFAULT_WITH_MAPPING_TARGET_THIS
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_MAPPING_NOTE

        +
        public static final Message PROPERTYMAPPING_MAPPING_NOTE
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_CREATE_NOTE

        +
        public static final Message PROPERTYMAPPING_CREATE_NOTE
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_SELECT_NOTE

        +
        public static final Message PROPERTYMAPPING_SELECT_NOTE
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_MAPPING_NOT_FOUND

        +
        public static final Message PROPERTYMAPPING_MAPPING_NOT_FOUND
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_FORGED_MAPPING_WITH_HISTORY_NOT_FOUND

        +
        public static final Message PROPERTYMAPPING_FORGED_MAPPING_WITH_HISTORY_NOT_FOUND
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_FORGED_MAPPING_NOT_FOUND

        +
        public static final Message PROPERTYMAPPING_FORGED_MAPPING_NOT_FOUND
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_DUPLICATE_TARGETS

        +
        public static final Message PROPERTYMAPPING_DUPLICATE_TARGETS
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_EMPTY_TARGET

        +
        public static final Message PROPERTYMAPPING_EMPTY_TARGET
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_SOURCE_AND_CONSTANT_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_SOURCE_AND_CONSTANT_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_SOURCE_AND_IGNORE_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_SOURCE_AND_IGNORE_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_SOURCE_AND_EXPRESSION_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_SOURCE_AND_EXPRESSION_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_EXPRESSION_AND_CONSTANT_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_EXPRESSION_AND_CONSTANT_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_EXPRESSION_AND_DEFAULT_VALUE_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_EXPRESSION_AND_DEFAULT_VALUE_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_CONSTANT_AND_DEFAULT_VALUE_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_CONSTANT_AND_DEFAULT_VALUE_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_EXPRESSION_AND_DEFAULT_EXPRESSION_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_EXPRESSION_AND_DEFAULT_EXPRESSION_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_EXPRESSION_AND_CONDITION_EXPRESSION_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_EXPRESSION_AND_CONDITION_EXPRESSION_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_CONSTANT_AND_DEFAULT_EXPRESSION_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_CONSTANT_AND_DEFAULT_EXPRESSION_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_CONSTANT_AND_CONDITION_EXPRESSION_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_CONSTANT_AND_CONDITION_EXPRESSION_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_DEFAULT_VALUE_AND_DEFAULT_EXPRESSION_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_DEFAULT_VALUE_AND_DEFAULT_EXPRESSION_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_DEFAULT_VALUE_AND_NVPMS

        +
        public static final Message PROPERTYMAPPING_DEFAULT_VALUE_AND_NVPMS
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_EXPRESSION_VALUE_AND_NVPMS

        +
        public static final Message PROPERTYMAPPING_EXPRESSION_VALUE_AND_NVPMS
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_CONSTANT_VALUE_AND_NVPMS

        +
        public static final Message PROPERTYMAPPING_CONSTANT_VALUE_AND_NVPMS
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_DEFAULT_EXPERSSION_AND_NVPMS

        +
        public static final Message PROPERTYMAPPING_DEFAULT_EXPERSSION_AND_NVPMS
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_IGNORE_AND_NVPMS

        +
        public static final Message PROPERTYMAPPING_IGNORE_AND_NVPMS
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_TARGET_THIS_AND_IGNORE

        +
        public static final Message PROPERTYMAPPING_TARGET_THIS_AND_IGNORE
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_EXPRESSION_AND_QUALIFIER_BOTH_DEFINED

        +
        public static final Message PROPERTYMAPPING_EXPRESSION_AND_QUALIFIER_BOTH_DEFINED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_INVALID_EXPRESSION

        +
        public static final Message PROPERTYMAPPING_INVALID_EXPRESSION
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_INVALID_DEFAULT_EXPRESSION

        +
        public static final Message PROPERTYMAPPING_INVALID_DEFAULT_EXPRESSION
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_INVALID_CONDITION_EXPRESSION

        +
        public static final Message PROPERTYMAPPING_INVALID_CONDITION_EXPRESSION
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_INVALID_PARAMETER_NAME

        +
        public static final Message PROPERTYMAPPING_INVALID_PARAMETER_NAME
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_NO_PROPERTY_IN_PARAMETER

        +
        public static final Message PROPERTYMAPPING_NO_PROPERTY_IN_PARAMETER
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_INVALID_PROPERTY_NAME

        +
        public static final Message PROPERTYMAPPING_INVALID_PROPERTY_NAME
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_INVALID_PROPERTY_NAME_SOURCE_HAS_NO_PROPERTIES

        +
        public static final Message PROPERTYMAPPING_INVALID_PROPERTY_NAME_SOURCE_HAS_NO_PROPERTIES
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_NO_PRESENCE_CHECKER_FOR_SOURCE_TYPE

        +
        public static final Message PROPERTYMAPPING_NO_PRESENCE_CHECKER_FOR_SOURCE_TYPE
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_NO_READ_ACCESSOR_FOR_TARGET_TYPE

        +
        public static final Message PROPERTYMAPPING_NO_READ_ACCESSOR_FOR_TARGET_TYPE
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_NO_WRITE_ACCESSOR_FOR_TARGET_TYPE

        +
        public static final Message PROPERTYMAPPING_NO_WRITE_ACCESSOR_FOR_TARGET_TYPE
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_WHITESPACE_TRIMMED

        +
        public static final Message PROPERTYMAPPING_WHITESPACE_TRIMMED
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_CANNOT_DETERMINE_SOURCE_PROPERTY_FROM_TARGET

        +
        public static final Message PROPERTYMAPPING_CANNOT_DETERMINE_SOURCE_PROPERTY_FROM_TARGET
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_CANNOT_DETERMINE_SOURCE_PARAMETER_FROM_TARGET

        +
        public static final Message PROPERTYMAPPING_CANNOT_DETERMINE_SOURCE_PARAMETER_FROM_TARGET
        +
      • +
      + + + +
        +
      • +

        PROPERTYMAPPING_NO_SUITABLE_COLLECTION_OR_MAP_CONSTRUCTOR

        +
        public static final Message PROPERTYMAPPING_NO_SUITABLE_COLLECTION_OR_MAP_CONSTRUCTOR
        +
      • +
      + + + +
        +
      • +

        CONVERSION_LOSSY_WARNING

        +
        public static final Message CONVERSION_LOSSY_WARNING
        +
      • +
      + + + +
        +
      • +

        CONVERSION_LOSSY_ERROR

        +
        public static final Message CONVERSION_LOSSY_ERROR
        +
      • +
      + + + +
        +
      • +

        CONSTANTMAPPING_MAPPING_NOT_FOUND

        +
        public static final Message CONSTANTMAPPING_MAPPING_NOT_FOUND
        +
      • +
      + + + +
        +
      • +

        CONSTANTMAPPING_MAPPING_NOT_FOUND_WITH_DETAILS

        +
        public static final Message CONSTANTMAPPING_MAPPING_NOT_FOUND_WITH_DETAILS
        +
      • +
      + + + +
        +
      • +

        CONSTANTMAPPING_NO_READ_ACCESSOR_FOR_TARGET_TYPE

        +
        public static final Message CONSTANTMAPPING_NO_READ_ACCESSOR_FOR_TARGET_TYPE
        +
      • +
      + + + +
        +
      • +

        CONSTANTMAPPING_NON_EXISTING_CONSTANT

        +
        public static final Message CONSTANTMAPPING_NON_EXISTING_CONSTANT
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_CREATE_NOTE

        +
        public static final Message MAPMAPPING_CREATE_NOTE
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_KEY_MAPPING_NOT_FOUND

        +
        public static final Message MAPMAPPING_KEY_MAPPING_NOT_FOUND
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_VALUE_MAPPING_NOT_FOUND

        +
        public static final Message MAPMAPPING_VALUE_MAPPING_NOT_FOUND
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_NO_ELEMENTS

        +
        public static final Message MAPMAPPING_NO_ELEMENTS
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_SELECT_KEY_NOTE

        +
        public static final Message MAPMAPPING_SELECT_KEY_NOTE
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_SELECT_VALUE_NOTE

        +
        public static final Message MAPMAPPING_SELECT_VALUE_NOTE
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_CREATE_KEY_NOTE

        +
        public static final Message MAPMAPPING_CREATE_KEY_NOTE
        +
      • +
      + + + +
        +
      • +

        MAPMAPPING_CREATE_VALUE_NOTE

        +
        public static final Message MAPMAPPING_CREATE_VALUE_NOTE
        +
      • +
      + + + +
        +
      • +

        STREAMMAPPING_CREATE_NOTE

        +
        public static final Message STREAMMAPPING_CREATE_NOTE
        +
      • +
      + + + +
        +
      • +

        ITERABLEMAPPING_CREATE_NOTE

        +
        public static final Message ITERABLEMAPPING_CREATE_NOTE
        +
      • +
      + + + +
        +
      • +

        ITERABLEMAPPING_SELECT_ELEMENT_NOTE

        +
        public static final Message ITERABLEMAPPING_SELECT_ELEMENT_NOTE
        +
      • +
      + + + +
        +
      • +

        ITERABLEMAPPING_CREATE_ELEMENT_NOTE

        +
        public static final Message ITERABLEMAPPING_CREATE_ELEMENT_NOTE
        +
      • +
      + + + +
        +
      • +

        ITERABLEMAPPING_MAPPING_NOT_FOUND

        +
        public static final Message ITERABLEMAPPING_MAPPING_NOT_FOUND
        +
      • +
      + + + +
        +
      • +

        ITERABLEMAPPING_NO_ELEMENTS

        +
        public static final Message ITERABLEMAPPING_NO_ELEMENTS
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_MULTIPLE_SOURCES

        +
        public static final Message ENUMMAPPING_MULTIPLE_SOURCES
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_UNDEFINED_SOURCE

        +
        public static final Message ENUMMAPPING_UNDEFINED_SOURCE
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_NON_EXISTING_CONSTANT

        +
        public static final Message ENUMMAPPING_NON_EXISTING_CONSTANT
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_UNDEFINED_TARGET

        +
        public static final Message ENUMMAPPING_UNDEFINED_TARGET
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_UNMAPPED_SOURCES

        +
        public static final Message ENUMMAPPING_UNMAPPED_SOURCES
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_REMOVED

        +
        public static final Message ENUMMAPPING_REMOVED
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_INCORRECT_TRANSFORMATION_STRATEGY

        +
        public static final Message ENUMMAPPING_INCORRECT_TRANSFORMATION_STRATEGY
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_MISSING_CONFIGURATION

        +
        public static final Message ENUMMAPPING_MISSING_CONFIGURATION
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_NO_ELEMENTS

        +
        public static final Message ENUMMAPPING_NO_ELEMENTS
        +
      • +
      + + + +
        +
      • +

        ENUMMAPPING_ILLEGAL_TRANSFORMATION

        +
        public static final Message ENUMMAPPING_ILLEGAL_TRANSFORMATION
        +
      • +
      + + + +
        +
      • +

        SUBCLASSMAPPING_DOUBLE_SOURCE_SUBCLASS

        +
        public static final Message SUBCLASSMAPPING_DOUBLE_SOURCE_SUBCLASS
        +
      • +
      + + + +
        +
      • +

        SUBCLASSMAPPING_ILLEGAL_SUBCLASS

        +
        public static final Message SUBCLASSMAPPING_ILLEGAL_SUBCLASS
        +
      • +
      + + + +
        +
      • +

        SUBCLASSMAPPING_NO_VALID_SUPERCLASS

        +
        public static final Message SUBCLASSMAPPING_NO_VALID_SUPERCLASS
        +
      • +
      + + + +
        +
      • +

        SUBCLASSMAPPING_UPDATE_METHODS_NOT_SUPPORTED

        +
        public static final Message SUBCLASSMAPPING_UPDATE_METHODS_NOT_SUPPORTED
        +
      • +
      + + + +
        +
      • +

        SUBCLASSMAPPING_ILLOGICAL_ORDER

        +
        public static final Message SUBCLASSMAPPING_ILLOGICAL_ORDER
        +
      • +
      + + + +
        +
      • +

        LIFECYCLEMETHOD_AMBIGUOUS_PARAMETERS

        +
        public static final Message LIFECYCLEMETHOD_AMBIGUOUS_PARAMETERS
        +
      • +
      + + + +
        +
      • +

        DECORATOR_NO_SUBTYPE

        +
        public static final Message DECORATOR_NO_SUBTYPE
        +
      • +
      + + + +
        +
      • +

        DECORATOR_CONSTRUCTOR

        +
        public static final Message DECORATOR_CONSTRUCTOR
        +
      • +
      + + + +
        +
      • +

        JAVADOC_NO_ELEMENTS

        +
        public static final Message JAVADOC_NO_ELEMENTS
        +
      • +
      + + + +
        +
      • +

        GENERAL_CANNOT_IMPLEMENT_PRIVATE_MAPPER

        +
        public static final Message GENERAL_CANNOT_IMPLEMENT_PRIVATE_MAPPER
        +
      • +
      + + + +
        +
      • +

        GENERAL_NO_IMPLEMENTATION

        +
        public static final Message GENERAL_NO_IMPLEMENTATION
        +
      • +
      + + + +
        +
      • +

        GENERAL_ABSTRACT_RETURN_TYPE

        +
        public static final Message GENERAL_ABSTRACT_RETURN_TYPE
        +
      • +
      + + + +
        +
      • +

        GENERAL_AMBIGUOUS_MAPPING_METHOD

        +
        public static final Message GENERAL_AMBIGUOUS_MAPPING_METHOD
        +
      • +
      + + + +
        +
      • +

        GENERAL_AMBIGUOUS_FACTORY_METHOD

        +
        public static final Message GENERAL_AMBIGUOUS_FACTORY_METHOD
        +
      • +
      + + + +
        +
      • +

        GENERAL_AMBIGUOUS_PRESENCE_CHECK_METHOD

        +
        public static final Message GENERAL_AMBIGUOUS_PRESENCE_CHECK_METHOD
        +
      • +
      + + + +
        +
      • +

        GENERAL_AMBIGUOUS_CONSTRUCTORS

        +
        public static final Message GENERAL_AMBIGUOUS_CONSTRUCTORS
        +
      • +
      + + + +
        +
      • +

        GENERAL_CONSTRUCTOR_PROPERTIES_NOT_MATCHING_PARAMETERS

        +
        public static final Message GENERAL_CONSTRUCTOR_PROPERTIES_NOT_MATCHING_PARAMETERS
        +
      • +
      + + + +
        +
      • +

        GENERAL_UNSUPPORTED_DATE_FORMAT_CHECK

        +
        public static final Message GENERAL_UNSUPPORTED_DATE_FORMAT_CHECK
        +
      • +
      + + + +
        +
      • +

        GENERAL_VALID_DATE

        +
        public static final Message GENERAL_VALID_DATE
        +
      • +
      + + + +
        +
      • +

        GENERAL_INVALID_DATE

        +
        public static final Message GENERAL_INVALID_DATE
        +
      • +
      + + + +
        +
      • +

        GENERAL_JODA_NOT_ON_CLASSPATH

        +
        public static final Message GENERAL_JODA_NOT_ON_CLASSPATH
        +
      • +
      + + + +
        +
      • +

        GENERAL_NOT_ALL_FORGED_CREATED

        +
        public static final Message GENERAL_NOT_ALL_FORGED_CREATED
        +
      • +
      + + + +
        +
      • +

        GENERAL_NO_SUITABLE_CONSTRUCTOR

        +
        public static final Message GENERAL_NO_SUITABLE_CONSTRUCTOR
        +
      • +
      + + + +
        +
      • +

        GENERAL_NO_QUALIFYING_METHOD_ANNOTATION

        +
        public static final Message GENERAL_NO_QUALIFYING_METHOD_ANNOTATION
        +
      • +
      + + + +
        +
      • +

        GENERAL_NO_QUALIFYING_METHOD_NAMED

        +
        public static final Message GENERAL_NO_QUALIFYING_METHOD_NAMED
        +
      • +
      + + + +
        +
      • +

        GENERAL_NO_QUALIFYING_METHOD_COMBINED

        +
        public static final Message GENERAL_NO_QUALIFYING_METHOD_COMBINED
        +
      • +
      + + + +
        +
      • +

        GENERAL_AMBIGUOUS_MAPPING_METHODY_METHODX

        +
        public static final Message GENERAL_AMBIGUOUS_MAPPING_METHODY_METHODX
        +
      • +
      + + + +
        +
      • +

        GENERAL_AMBIGUOUS_MAPPING_CONVERSIONY_METHODX

        +
        public static final Message GENERAL_AMBIGUOUS_MAPPING_CONVERSIONY_METHODX
        +
      • +
      + + + +
        +
      • +

        GENERAL_AMBIGUOUS_MAPPING_METHODY_CONVERSIONX

        +
        public static final Message GENERAL_AMBIGUOUS_MAPPING_METHODY_CONVERSIONX
        +
      • +
      + + + +
        +
      • +

        BUILDER_MORE_THAN_ONE_BUILDER_CREATION_METHOD

        +
        public static final Message BUILDER_MORE_THAN_ONE_BUILDER_CREATION_METHOD
        +
      • +
      + + + +
        +
      • +

        BUILDER_NO_BUILD_METHOD_FOUND

        +
        public static final Message BUILDER_NO_BUILD_METHOD_FOUND
        +
      • +
      + + + +
        +
      • +

        BUILDER_NO_BUILD_METHOD_FOUND_DEFAULT

        +
        public static final Message BUILDER_NO_BUILD_METHOD_FOUND_DEFAULT
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_NO_INPUT_ARGS

        +
        public static final Message RETRIEVAL_NO_INPUT_ARGS
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_DUPLICATE_MAPPING_TARGETS

        +
        public static final Message RETRIEVAL_DUPLICATE_MAPPING_TARGETS
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_VOID_MAPPING_METHOD

        +
        public static final Message RETRIEVAL_VOID_MAPPING_METHOD
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_NON_ASSIGNABLE_RESULTTYPE

        +
        public static final Message RETRIEVAL_NON_ASSIGNABLE_RESULTTYPE
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_ITERABLE_TO_NON_ITERABLE

        +
        public static final Message RETRIEVAL_ITERABLE_TO_NON_ITERABLE
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_MAPPING_HAS_TARGET_TYPE_PARAMETER

        +
        public static final Message RETRIEVAL_MAPPING_HAS_TARGET_TYPE_PARAMETER
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_NON_ITERABLE_TO_ITERABLE

        +
        public static final Message RETRIEVAL_NON_ITERABLE_TO_ITERABLE
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_PRIMITIVE_PARAMETER

        +
        public static final Message RETRIEVAL_PRIMITIVE_PARAMETER
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_PRIMITIVE_RETURN

        +
        public static final Message RETRIEVAL_PRIMITIVE_RETURN
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_TYPE_VAR_SOURCE

        +
        public static final Message RETRIEVAL_TYPE_VAR_SOURCE
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_TYPE_VAR_RESULT

        +
        public static final Message RETRIEVAL_TYPE_VAR_RESULT
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_WILDCARD_SUPER_BOUND_SOURCE

        +
        public static final Message RETRIEVAL_WILDCARD_SUPER_BOUND_SOURCE
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_WILDCARD_EXTENDS_BOUND_RESULT

        +
        public static final Message RETRIEVAL_WILDCARD_EXTENDS_BOUND_RESULT
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_CONTEXT_PARAMS_WITH_SAME_TYPE

        +
        public static final Message RETRIEVAL_CONTEXT_PARAMS_WITH_SAME_TYPE
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_MAPPER_USES_CYCLE

        +
        public static final Message RETRIEVAL_MAPPER_USES_CYCLE
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_AFTER_METHOD_NOT_IMPLEMENTED

        +
        public static final Message RETRIEVAL_AFTER_METHOD_NOT_IMPLEMENTED
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_BEFORE_METHOD_NOT_IMPLEMENTED

        +
        public static final Message RETRIEVAL_BEFORE_METHOD_NOT_IMPLEMENTED
        +
      • +
      + + + +
        +
      • +

        RETRIEVAL_TARGET_PROPERTY_NAME_WRONG_TYPE

        +
        public static final Message RETRIEVAL_TARGET_PROPERTY_NAME_WRONG_TYPE
        +
      • +
      + + + +
        +
      • +

        INHERITINVERSECONFIGURATION_DUPLICATES

        +
        public static final Message INHERITINVERSECONFIGURATION_DUPLICATES
        +
      • +
      + + + +
        +
      • +

        INHERITINVERSECONFIGURATION_INVALID_NAME

        +
        public static final Message INHERITINVERSECONFIGURATION_INVALID_NAME
        +
      • +
      + + + +
        +
      • +

        INHERITINVERSECONFIGURATION_DUPLICATE_MATCHES

        +
        public static final Message INHERITINVERSECONFIGURATION_DUPLICATE_MATCHES
        +
      • +
      + + + +
        +
      • +

        INHERITINVERSECONFIGURATION_NO_NAME_MATCH

        +
        public static final Message INHERITINVERSECONFIGURATION_NO_NAME_MATCH
        +
      • +
      + + + +
        +
      • +

        INHERITCONFIGURATION_DUPLICATES

        +
        public static final Message INHERITCONFIGURATION_DUPLICATES
        +
      • +
      + + + +
        +
      • +

        INHERITCONFIGURATION_INVALIDNAME

        +
        public static final Message INHERITCONFIGURATION_INVALIDNAME
        +
      • +
      + + + +
        +
      • +

        INHERITCONFIGURATION_DUPLICATE_MATCHES

        +
        public static final Message INHERITCONFIGURATION_DUPLICATE_MATCHES
        +
      • +
      + + + +
        +
      • +

        INHERITCONFIGURATION_NO_NAME_MATCH

        +
        public static final Message INHERITCONFIGURATION_NO_NAME_MATCH
        +
      • +
      + + + +
        +
      • +

        INHERITCONFIGURATION_MULTIPLE_PROTOTYPE_METHODS_MATCH

        +
        public static final Message INHERITCONFIGURATION_MULTIPLE_PROTOTYPE_METHODS_MATCH
        +
      • +
      + + + +
        +
      • +

        INHERITINVERSECONFIGURATION_MULTIPLE_PROTOTYPE_METHODS_MATCH

        +
        public static final Message INHERITINVERSECONFIGURATION_MULTIPLE_PROTOTYPE_METHODS_MATCH
        +
      • +
      + + + +
        +
      • +

        INHERITCONFIGURATION_CYCLE

        +
        public static final Message INHERITCONFIGURATION_CYCLE
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_CREATE_NOTE

        +
        public static final Message VALUEMAPPING_CREATE_NOTE
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_DUPLICATE_SOURCE

        +
        public static final Message VALUEMAPPING_DUPLICATE_SOURCE
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_ANY_AREADY_DEFINED

        +
        public static final Message VALUEMAPPING_ANY_AREADY_DEFINED
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_UNMAPPED_SOURCES

        +
        public static final Message VALUEMAPPING_UNMAPPED_SOURCES
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_ANY_REMAINING_FOR_NON_ENUM

        +
        public static final Message VALUEMAPPING_ANY_REMAINING_FOR_NON_ENUM
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_ANY_REMAINING_OR_UNMAPPED_MISSING

        +
        public static final Message VALUEMAPPING_ANY_REMAINING_OR_UNMAPPED_MISSING
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_NON_EXISTING_CONSTANT_FROM_SPI

        +
        public static final Message VALUEMAPPING_NON_EXISTING_CONSTANT_FROM_SPI
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_NON_EXISTING_CONSTANT

        +
        public static final Message VALUEMAPPING_NON_EXISTING_CONSTANT
        +
      • +
      + + + +
        +
      • +

        VALUEMAPPING_THROW_EXCEPTION_SOURCE

        +
        public static final Message VALUEMAPPING_THROW_EXCEPTION_SOURCE
        +
      • +
      + + + +
        +
      • +

        MAPTOBEANMAPPING_WRONG_KEY_TYPE

        +
        public static final Message MAPTOBEANMAPPING_WRONG_KEY_TYPE
        +
      • +
      + + + +
        +
      • +

        MAPTOBEANMAPPING_RAW_MAP

        +
        public static final Message MAPTOBEANMAPPING_RAW_MAP
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_MISSING_REQUIRED_PARAMETER

        +
        public static final Message ANNOTATE_WITH_MISSING_REQUIRED_PARAMETER
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_UNKNOWN_PARAMETER

        +
        public static final Message ANNOTATE_WITH_UNKNOWN_PARAMETER
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_DUPLICATE_PARAMETER

        +
        public static final Message ANNOTATE_WITH_DUPLICATE_PARAMETER
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_WRONG_PARAMETER

        +
        public static final Message ANNOTATE_WITH_WRONG_PARAMETER
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_TOO_MANY_VALUE_TYPES

        +
        public static final Message ANNOTATE_WITH_TOO_MANY_VALUE_TYPES
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_PARAMETER_ARRAY_NOT_EXPECTED

        +
        public static final Message ANNOTATE_WITH_PARAMETER_ARRAY_NOT_EXPECTED
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_NOT_ALLOWED_ON_CLASS

        +
        public static final Message ANNOTATE_WITH_NOT_ALLOWED_ON_CLASS
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_NOT_ALLOWED_ON_METHODS

        +
        public static final Message ANNOTATE_WITH_NOT_ALLOWED_ON_METHODS
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_ENUM_VALUE_DOES_NOT_EXIST

        +
        public static final Message ANNOTATE_WITH_ENUM_VALUE_DOES_NOT_EXIST
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_ENUM_CLASS_NOT_DEFINED

        +
        public static final Message ANNOTATE_WITH_ENUM_CLASS_NOT_DEFINED
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_ENUMS_NOT_DEFINED

        +
        public static final Message ANNOTATE_WITH_ENUMS_NOT_DEFINED
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_ANNOTATION_IS_NOT_REPEATABLE

        +
        public static final Message ANNOTATE_WITH_ANNOTATION_IS_NOT_REPEATABLE
        +
      • +
      + + + +
        +
      • +

        ANNOTATE_WITH_DUPLICATE

        +
        public static final Message ANNOTATE_WITH_DUPLICATE
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Message[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Message c : Message.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Message valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getDescription

        +
        public String getDescription()
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/MessageConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/MessageConstants.html new file mode 100644 index 000000000..b03334818 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/MessageConstants.html @@ -0,0 +1,316 @@ + + + + + +MessageConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MessageConstants

+
+
+ +
+
    +
  • +
    +
    public final class MessageConstants
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/NativeTypes.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/NativeTypes.html new file mode 100644 index 000000000..54eee8791 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/NativeTypes.html @@ -0,0 +1,388 @@ + + + + + +NativeTypes (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NativeTypes

+
+
+ +
+
    +
  • +
    +
    public class NativeTypes
    +extends Object
    +
    Provides functionality around the Java primitive data types and their wrapper types. They are considered native.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getWrapperType

        +
        public static Class<?> getWrapperType​(Class<?> clazz)
        +
      • +
      + + + +
        +
      • +

        getPrimitiveType

        +
        public static Class<?> getPrimitiveType​(Class<?> clazz)
        +
      • +
      + + + +
        +
      • +

        isNative

        +
        public static boolean isNative​(String fullyQualifiedName)
        +
      • +
      + + + +
        +
      • +

        isNumber

        +
        public static boolean isNumber​(Class<?> clazz)
        +
      • +
      + + + +
        +
      • +

        getLiteral

        +
        public static Class<?> getLiteral​(String className,
        +                                  String literal)
        +
        +
        Parameters:
        +
        className - FQN of the literal native class
        +
        literal - literal to verify
        +
        Returns:
        +
        literal class when the literal is a proper literal for the provided kind.
        +
        Throws:
        +
        IllegalArgumentException - when the literal does not match to the provided native type className
        +
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public static String getName​(TypeKind typeKind)
        +
        The name that should be used for the typeKind. + Should be used in order to get the name of a primitive type
        +
        +
        Parameters:
        +
        typeKind - the type kind
        +
        Returns:
        +
        the name that should be used for the typeKind
        +
        +
      • +
      + + + +
        +
      • +

        isNarrowing

        +
        public static boolean isNarrowing​(String sourceFQN,
        +                                  String targetFQN)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Nouns.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Nouns.html new file mode 100644 index 000000000..95ce2a874 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Nouns.html @@ -0,0 +1,285 @@ + + + + + +Nouns (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Nouns

+
+
+ +
+
    +
  • +
    +
    public class Nouns
    +extends Object
    +
    Class taking care of Noun manipulation
    +
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        singularize

        +
        public static String singularize​(String plural)
        +
        Converts given pluralized noun into the singular form. If no singular form could be determined, the given word + itself is returned.
        +
        +
        Parameters:
        +
        plural - plural word
        +
        Returns:
        +
        singular form, if available
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/RepeatableAnnotations.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/RepeatableAnnotations.html new file mode 100644 index 000000000..bf6e1ddec --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/RepeatableAnnotations.html @@ -0,0 +1,429 @@ + + + + + +RepeatableAnnotations (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RepeatableAnnotations<SINGULAR extends org.mapstruct.tools.gem.Gem,​MULTIPLE extends org.mapstruct.tools.gem.Gem,​OPTIONS>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.RepeatableAnnotations<SINGULAR,​MULTIPLE,​OPTIONS>
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    AdditionalAnnotationsBuilder
    +
    +
    +
    public abstract class RepeatableAnnotations<SINGULAR extends org.mapstruct.tools.gem.Gem,​MULTIPLE extends org.mapstruct.tools.gem.Gem,​OPTIONS>
    +extends Object
    +
    +
    Author:
    +
    Ben Zegveld
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RepeatableAnnotations

        +
        protected RepeatableAnnotations​(ElementUtils elementUtils,
        +                                String singularFqn,
        +                                String multipleFqn)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        singularInstanceOn

        +
        protected abstract SINGULAR singularInstanceOn​(Element element)
        +
        +
        Parameters:
        +
        element - the element on which the Gem needs to be found
        +
        Returns:
        +
        the Gem found on the element.
        +
        +
      • +
      + + + +
        +
      • +

        multipleInstanceOn

        +
        protected abstract MULTIPLE multipleInstanceOn​(Element element)
        +
        +
        Parameters:
        +
        element - the element on which the Gems needs to be found
        +
        Returns:
        +
        the Gems found on the element.
        +
        +
      • +
      + + + + + +
        +
      • +

        addInstance

        +
        protected abstract void addInstance​(SINGULAR gem,
        +                                    Element source,
        +                                    Set<OPTIONS> mappings)
        +
        +
        Parameters:
        +
        gem - the annotation gem to be processed
        +
        source - the source element where the request originated from
        +
        mappings - the collection of completed processing
        +
        +
      • +
      + + + + + +
        +
      • +

        addInstances

        +
        protected abstract void addInstances​(MULTIPLE gems,
        +                                     Element source,
        +                                     Set<OPTIONS> mappings)
        +
        +
        Parameters:
        +
        gems - the annotation gems to be processed
        +
        source - the source element where the request originated from
        +
        mappings - the collection of completed processing
        +
        +
      • +
      + + + +
        +
      • +

        getProcessedAnnotations

        +
        public Set<OPTIONS> getProcessedAnnotations​(Element source)
        +
        Retrieves the processed annotations.
        +
        +
        Parameters:
        +
        source - The source element of interest
        +
        Returns:
        +
        The processed annotations for the given element
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/RoundContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/RoundContext.html new file mode 100644 index 000000000..63ed1897a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/RoundContext.html @@ -0,0 +1,365 @@ + + + + + +RoundContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RoundContext

+
+
+ +
+
    +
  • +
    +
    public class RoundContext
    +extends Object
    +
    Keeps contextual data in the scope of one annotation processing round.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        addTypeReadyForProcessing

        +
        public void addTypeReadyForProcessing​(TypeMirror type)
        +
        Marks the given type as being ready for further processing.
        +
        +
        Parameters:
        +
        type - the type that is ready for further processing by MapStruct
        +
        +
      • +
      + + + +
        +
      • +

        isReadyForProcessing

        +
        public boolean isReadyForProcessing​(TypeMirror type)
        +
        Whether the given type has been found to be ready for further processing or not. This is the case if the type's + hierarchy is complete (no super-types need to be generated by other processors) and no processors have signaled + the intention to amend the given type.
        +
        +
        Parameters:
        +
        type - the typed to be checked for its readiness
        +
        Returns:
        +
        true when the type is ready to be processed by MapStruct
        +
        See Also:
        +
        AstModifyingAnnotationProcessor
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Services.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Services.html new file mode 100644 index 000000000..6698f1f57 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Services.html @@ -0,0 +1,294 @@ + + + + + +Services (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Services

+
+
+ +
+
    +
  • +
    +
    public class Services
    +extends Object
    +
    A simple locator for SPI implementations.
    +
    +
    Author:
    +
    Christian Schuster
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        all

        +
        public static <T> Iterable<T> all​(Class<T> serviceType)
        +
      • +
      + + + + + +
        +
      • +

        get

        +
        public static <T> T get​(Class<T> serviceType,
        +                        T defaultValue)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Strings.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Strings.html new file mode 100644 index 000000000..4ed5861d1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/Strings.html @@ -0,0 +1,480 @@ + + + + + +Strings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Strings

+
+
+ +
+
    +
  • +
    +
    public class Strings
    +extends Object
    +
    Helper class for dealing with strings.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        capitalize

        +
        public static String capitalize​(String string)
        +
      • +
      + + + +
        +
      • +

        decapitalize

        +
        public static String decapitalize​(String string)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        joinAndCamelize

        +
        public static String joinAndCamelize​(Iterable<?> iterable)
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public static boolean isEmpty​(String string)
        +
      • +
      + + + +
        +
      • +

        isNotEmpty

        +
        public static boolean isNotEmpty​(String string)
        +
      • +
      + + + +
        +
      • +

        getSafeVariableName

        +
        public static String getSafeVariableName​(String name,
        +                                         String... existingVariableNames)
        +
      • +
      + + + +
        +
      • +

        getSafeVariableName

        +
        public static String getSafeVariableName​(String name,
        +                                         Collection<String> existingVariableNames)
        +
        Returns a variable name which doesn't conflict with the given variable names existing in the same scope and the + Java keywords.
        +
        +
        Parameters:
        +
        name - the name to get a safe version for
        +
        existingVariableNames - the names of other variables existing in the same scope
        +
        Returns:
        +
        a variable name based on the given original name, not conflicting with any of the given other names or + any Java keyword; starting with a lower-case letter
        +
        +
      • +
      + + + +
        +
      • +

        sanitizeIdentifierName

        +
        public static String sanitizeIdentifierName​(String identifier)
        +
        +
        Parameters:
        +
        identifier - identifier to sanitize
        +
        Returns:
        +
        the identifier without any characters that are not allowed as part of a Java identifier.
        +
        +
      • +
      + + + +
        +
      • +

        stubPropertyName

        +
        public static String stubPropertyName​(String fullyQualifiedName)
        +
        Returns a stub property name from full class name by stripping away the package and decapitalizing the name + For example will return fooBar for com.foo.bar.baz.FooBar class name
        +
        +
        Parameters:
        +
        fullyQualifiedName - fully qualified class name, such as com.foo.bar.baz.FooBar
        +
        Returns:
        +
        stup property name, such as fooBar
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/TypeUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/TypeUtils.html new file mode 100644 index 000000000..db3b13793 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/TypeUtils.html @@ -0,0 +1,289 @@ + + + + + +TypeUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface TypeUtils

+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/XmlConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/XmlConstants.html new file mode 100644 index 000000000..5f71e24e9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/XmlConstants.html @@ -0,0 +1,340 @@ + + + + + +XmlConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class XmlConstants

+
+
+ +
+
    +
  • +
    +
    public final class XmlConstants
    +extends Object
    +
    Helper holding JAXB time full qualified class names for conversion registration
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/Accessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/Accessor.html new file mode 100644 index 000000000..cc8c49905 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/Accessor.html @@ -0,0 +1,353 @@ + + + + + +Accessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Accessor

+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/AccessorType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/AccessorType.html new file mode 100644 index 000000000..643a78fc3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/AccessorType.html @@ -0,0 +1,437 @@ + + + + + +AccessorType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum AccessorType

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static AccessorType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (AccessorType c : AccessorType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static AccessorType valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        isFieldAssignment

        +
        public boolean isFieldAssignment()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/DelegateAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/DelegateAccessor.html new file mode 100644 index 000000000..69f31ee88 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/DelegateAccessor.html @@ -0,0 +1,465 @@ + + + + + +DelegateAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DelegateAccessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.accessor.DelegateAccessor
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ExecutableElementAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ExecutableElementAccessor.html new file mode 100644 index 000000000..b587179b3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ExecutableElementAccessor.html @@ -0,0 +1,474 @@ + + + + + +ExecutableElementAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ExecutableElementAccessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/FieldElementAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/FieldElementAccessor.html new file mode 100644 index 000000000..ba7e15386 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/FieldElementAccessor.html @@ -0,0 +1,470 @@ + + + + + +FieldElementAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FieldElementAccessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.accessor.FieldElementAccessor
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/MapValueAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/MapValueAccessor.html new file mode 100644 index 000000000..031bf4db0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/MapValueAccessor.html @@ -0,0 +1,440 @@ + + + + + +MapValueAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MapValueAccessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.accessor.MapValueAccessor
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ParameterElementAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ParameterElementAccessor.html new file mode 100644 index 000000000..7d0c47eaa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ParameterElementAccessor.html @@ -0,0 +1,505 @@ + + + + + +ParameterElementAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ParameterElementAccessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/PresenceCheckAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/PresenceCheckAccessor.html new file mode 100644 index 000000000..78daddd5c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/PresenceCheckAccessor.html @@ -0,0 +1,303 @@ + + + + + +PresenceCheckAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface PresenceCheckAccessor

+
+
+
+
    +
  • +
    +
    public interface PresenceCheckAccessor
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ReadAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ReadAccessor.html new file mode 100644 index 000000000..7d5344a07 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ReadAccessor.html @@ -0,0 +1,306 @@ + + + + + +ReadAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ReadAccessor

+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ReadDelegateAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ReadDelegateAccessor.html new file mode 100644 index 000000000..687c75489 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/ReadDelegateAccessor.html @@ -0,0 +1,325 @@ + + + + + +ReadDelegateAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReadDelegateAccessor

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ReadDelegateAccessor

        +
        protected ReadDelegateAccessor​(Accessor delegate)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/Accessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/Accessor.html new file mode 100644 index 000000000..de48bf554 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/Accessor.html @@ -0,0 +1,436 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.util.accessor.Accessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.util.accessor.Accessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/AccessorType.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/AccessorType.html new file mode 100644 index 000000000..9e7cb75dc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/AccessorType.html @@ -0,0 +1,278 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.accessor.AccessorType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.accessor.AccessorType

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/DelegateAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/DelegateAccessor.html new file mode 100644 index 000000000..efb1e005c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/DelegateAccessor.html @@ -0,0 +1,194 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.accessor.DelegateAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.accessor.DelegateAccessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ExecutableElementAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ExecutableElementAccessor.html new file mode 100644 index 000000000..643d52973 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ExecutableElementAccessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor

+
+
No usage of org.mapstruct.ap.internal.util.accessor.ExecutableElementAccessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/FieldElementAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/FieldElementAccessor.html new file mode 100644 index 000000000..635f63712 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/FieldElementAccessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.accessor.FieldElementAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.accessor.FieldElementAccessor

+
+
No usage of org.mapstruct.ap.internal.util.accessor.FieldElementAccessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/MapValueAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/MapValueAccessor.html new file mode 100644 index 000000000..36daa7c94 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/MapValueAccessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.accessor.MapValueAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.accessor.MapValueAccessor

+
+
No usage of org.mapstruct.ap.internal.util.accessor.MapValueAccessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ParameterElementAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ParameterElementAccessor.html new file mode 100644 index 000000000..1f97d7f69 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ParameterElementAccessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor

+
+
No usage of org.mapstruct.ap.internal.util.accessor.ParameterElementAccessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/PresenceCheckAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/PresenceCheckAccessor.html new file mode 100644 index 000000000..8f1515c65 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/PresenceCheckAccessor.html @@ -0,0 +1,304 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.util.accessor.PresenceCheckAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.util.accessor.PresenceCheckAccessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ReadAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ReadAccessor.html new file mode 100644 index 000000000..43b3828af --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ReadAccessor.html @@ -0,0 +1,357 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.util.accessor.ReadAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.util.accessor.ReadAccessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ReadDelegateAccessor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ReadDelegateAccessor.html new file mode 100644 index 000000000..feb9a8e31 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/class-use/ReadDelegateAccessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.accessor.ReadDelegateAccessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.accessor.ReadDelegateAccessor

+
+
No usage of org.mapstruct.ap.internal.util.accessor.ReadDelegateAccessor
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-summary.html new file mode 100644 index 000000000..4de1ca843 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-summary.html @@ -0,0 +1,237 @@ + + + + + +org.mapstruct.ap.internal.util.accessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.util.accessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-tree.html new file mode 100644 index 000000000..518ec7a2b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-tree.html @@ -0,0 +1,198 @@ + + + + + +org.mapstruct.ap.internal.util.accessor Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.util.accessor

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-use.html new file mode 100644 index 000000000..2da1595a9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/accessor/package-use.html @@ -0,0 +1,325 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.util.accessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.util.accessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AbstractElementUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AbstractElementUtilsDecorator.html new file mode 100644 index 000000000..c268d6056 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AbstractElementUtilsDecorator.html @@ -0,0 +1,202 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.AbstractElementUtilsDecorator

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AbstractTypeUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AbstractTypeUtilsDecorator.html new file mode 100644 index 000000000..8411b3c38 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AbstractTypeUtilsDecorator.html @@ -0,0 +1,202 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.AbstractTypeUtilsDecorator

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AccessorNamingUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AccessorNamingUtils.html new file mode 100644 index 000000000..568e8bb33 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AccessorNamingUtils.html @@ -0,0 +1,349 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.AccessorNamingUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.AccessorNamingUtils

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AnnotationProcessingException.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AnnotationProcessingException.html new file mode 100644 index 000000000..7cbe8f713 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AnnotationProcessingException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.AnnotationProcessingException (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.AnnotationProcessingException

+
+
No usage of org.mapstruct.ap.internal.util.AnnotationProcessingException
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AnnotationProcessorContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AnnotationProcessorContext.html new file mode 100644 index 000000000..8a3847c8f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/AnnotationProcessorContext.html @@ -0,0 +1,210 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.AnnotationProcessorContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.AnnotationProcessorContext

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Collections.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Collections.html new file mode 100644 index 000000000..48644a8b5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Collections.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Collections (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Collections

+
+
No usage of org.mapstruct.ap.internal.util.Collections
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/EclipseElementUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/EclipseElementUtilsDecorator.html new file mode 100644 index 000000000..edc382f8c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/EclipseElementUtilsDecorator.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.EclipseElementUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.EclipseElementUtilsDecorator

+
+
No usage of org.mapstruct.ap.internal.util.EclipseElementUtilsDecorator
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/EclipseTypeUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/EclipseTypeUtilsDecorator.html new file mode 100644 index 000000000..8068e9757 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/EclipseTypeUtilsDecorator.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.EclipseTypeUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.EclipseTypeUtilsDecorator

+
+
No usage of org.mapstruct.ap.internal.util.EclipseTypeUtilsDecorator
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/ElementUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/ElementUtils.html new file mode 100644 index 000000000..9531337d6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/ElementUtils.html @@ -0,0 +1,564 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.util.ElementUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.util.ElementUtils

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Executables.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Executables.html new file mode 100644 index 000000000..eb21f804d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Executables.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Executables (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Executables

+
+
No usage of org.mapstruct.ap.internal.util.Executables
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Extractor.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Extractor.html new file mode 100644 index 000000000..e943b4c14 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Extractor.html @@ -0,0 +1,199 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.util.Extractor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.util.Extractor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Fields.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Fields.html new file mode 100644 index 000000000..2397761da --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Fields.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Fields (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Fields

+
+
No usage of org.mapstruct.ap.internal.util.Fields
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Filters.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Filters.html new file mode 100644 index 000000000..c00ebca19 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Filters.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Filters (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Filters

+
+
No usage of org.mapstruct.ap.internal.util.Filters
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/FormattingMessager.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/FormattingMessager.html new file mode 100644 index 000000000..263c1a413 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/FormattingMessager.html @@ -0,0 +1,601 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.util.FormattingMessager (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.util.FormattingMessager

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/FreeBuilderConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/FreeBuilderConstants.html new file mode 100644 index 000000000..32cb7c926 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/FreeBuilderConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.FreeBuilderConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.FreeBuilderConstants

+
+
No usage of org.mapstruct.ap.internal.util.FreeBuilderConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/IgnoreJRERequirement.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/IgnoreJRERequirement.html new file mode 100644 index 000000000..096c68c8c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/IgnoreJRERequirement.html @@ -0,0 +1,202 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.IgnoreJRERequirement (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.IgnoreJRERequirement

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/ImmutablesConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/ImmutablesConstants.html new file mode 100644 index 000000000..631a11da1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/ImmutablesConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.ImmutablesConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.ImmutablesConstants

+
+
No usage of org.mapstruct.ap.internal.util.ImmutablesConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavaStreamConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavaStreamConstants.html new file mode 100644 index 000000000..09d570307 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavaStreamConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.JavaStreamConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.JavaStreamConstants

+
+
No usage of org.mapstruct.ap.internal.util.JavaStreamConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavacElementUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavacElementUtilsDecorator.html new file mode 100644 index 000000000..c1d95aa5a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavacElementUtilsDecorator.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.JavacElementUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.JavacElementUtilsDecorator

+
+
No usage of org.mapstruct.ap.internal.util.JavacElementUtilsDecorator
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavacTypeUtilsDecorator.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavacTypeUtilsDecorator.html new file mode 100644 index 000000000..1ad6f641f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JavacTypeUtilsDecorator.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.JavacTypeUtilsDecorator (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.JavacTypeUtilsDecorator

+
+
No usage of org.mapstruct.ap.internal.util.JavacTypeUtilsDecorator
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JaxbConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JaxbConstants.html new file mode 100644 index 000000000..9b9461c73 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JaxbConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.JaxbConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.JaxbConstants

+
+
No usage of org.mapstruct.ap.internal.util.JaxbConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JodaTimeConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JodaTimeConstants.html new file mode 100644 index 000000000..631c2285f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/JodaTimeConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.JodaTimeConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.JodaTimeConstants

+
+
No usage of org.mapstruct.ap.internal.util.JodaTimeConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Message.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Message.html new file mode 100644 index 000000000..a6dfd4b26 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Message.html @@ -0,0 +1,330 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Message (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Message

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/MessageConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/MessageConstants.html new file mode 100644 index 000000000..eea432b9c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/MessageConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.MessageConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.MessageConstants

+
+
No usage of org.mapstruct.ap.internal.util.MessageConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/NativeTypes.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/NativeTypes.html new file mode 100644 index 000000000..4952343dd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/NativeTypes.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.NativeTypes (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.NativeTypes

+
+
No usage of org.mapstruct.ap.internal.util.NativeTypes
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Nouns.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Nouns.html new file mode 100644 index 000000000..7aed9e068 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Nouns.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Nouns (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Nouns

+
+
No usage of org.mapstruct.ap.internal.util.Nouns
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/RepeatableAnnotations.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/RepeatableAnnotations.html new file mode 100644 index 000000000..f437adaba --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/RepeatableAnnotations.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.RepeatableAnnotations (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.RepeatableAnnotations

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/RoundContext.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/RoundContext.html new file mode 100644 index 000000000..c63ce3902 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/RoundContext.html @@ -0,0 +1,232 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.RoundContext (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.RoundContext

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Services.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Services.html new file mode 100644 index 000000000..1b3ce4e67 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Services.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Services (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Services

+
+
No usage of org.mapstruct.ap.internal.util.Services
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Strings.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Strings.html new file mode 100644 index 000000000..cb89f5e07 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/Strings.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.Strings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.Strings

+
+
No usage of org.mapstruct.ap.internal.util.Strings
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/TypeUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/TypeUtils.html new file mode 100644 index 000000000..a7514eac2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/TypeUtils.html @@ -0,0 +1,634 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.util.TypeUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.util.TypeUtils

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/XmlConstants.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/XmlConstants.html new file mode 100644 index 000000000..22f899177 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/class-use/XmlConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.util.XmlConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.util.XmlConstants

+
+
No usage of org.mapstruct.ap.internal.util.XmlConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-summary.html new file mode 100644 index 000000000..3b8b279f3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-summary.html @@ -0,0 +1,389 @@ + + + + + +org.mapstruct.ap.internal.util (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.util

+
+
+
+ + +

+ Several helper types dealing with collection types, option management etc. +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-tree.html new file mode 100644 index 000000000..5d24d97f8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-tree.html @@ -0,0 +1,245 @@ + + + + + +org.mapstruct.ap.internal.util Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.util

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-use.html new file mode 100644 index 000000000..5ac6e6809 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/util/package-use.html @@ -0,0 +1,503 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.util (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.util

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/version/VersionInformation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/VersionInformation.html new file mode 100644 index 000000000..8348c0153 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/VersionInformation.html @@ -0,0 +1,353 @@ + + + + + +VersionInformation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface VersionInformation

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    DefaultVersionInformation
    +
    +
    +
    public interface VersionInformation
    +
    Provides information about the processor version and the processor context implementation version
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRuntimeVersion

        +
        String getRuntimeVersion()
        +
      • +
      + + + +
        +
      • +

        getRuntimeVendor

        +
        String getRuntimeVendor()
        +
      • +
      + + + +
        +
      • +

        getMapStructVersion

        +
        String getMapStructVersion()
        +
      • +
      + + + +
        +
      • +

        getCompiler

        +
        String getCompiler()
        +
      • +
      + + + +
        +
      • +

        isSourceVersionAtLeast9

        +
        boolean isSourceVersionAtLeast9()
        +
      • +
      + + + +
        +
      • +

        isEclipseJDTCompiler

        +
        boolean isEclipseJDTCompiler()
        +
      • +
      + + + +
        +
      • +

        isJavacCompiler

        +
        boolean isJavacCompiler()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/version/class-use/VersionInformation.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/class-use/VersionInformation.html new file mode 100644 index 000000000..24b7be8d6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/class-use/VersionInformation.html @@ -0,0 +1,340 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.version.VersionInformation (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.version.VersionInformation

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-summary.html new file mode 100644 index 000000000..7d4d4c69b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-summary.html @@ -0,0 +1,178 @@ + + + + + +org.mapstruct.ap.internal.version (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.version

+
+
+
+ + +

+ Provides various version information +

+
+
    +
  • + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    VersionInformation +
    Provides information about the processor version and the processor context implementation version
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-tree.html new file mode 100644 index 000000000..7b8354d9e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-tree.html @@ -0,0 +1,161 @@ + + + + + +org.mapstruct.ap.internal.version Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.version

+Package Hierarchies: + +
+
+
+

Interface Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-use.html new file mode 100644 index 000000000..ed0f1eb4c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/version/package-use.html @@ -0,0 +1,243 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.version (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.version

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/FreeMarkerModelElementWriter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/FreeMarkerModelElementWriter.html new file mode 100644 index 000000000..334ee9215 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/FreeMarkerModelElementWriter.html @@ -0,0 +1,327 @@ + + + + + +FreeMarkerModelElementWriter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FreeMarkerModelElementWriter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.writer.FreeMarkerModelElementWriter
    • +
    +
  • +
+
+
    +
  • +
    +
    public class FreeMarkerModelElementWriter
    +extends Object
    +
    Delegate for writing given Writables into a Writer using + FreeMarker templates. Any parameters passed to the + ModelIncludeDirective in addition to element itself can be accessed + from within the template using the ext pseudo-element.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/FreeMarkerWritable.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/FreeMarkerWritable.html new file mode 100644 index 000000000..f8d1057e1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/FreeMarkerWritable.html @@ -0,0 +1,407 @@ + + + + + +FreeMarkerWritable (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FreeMarkerWritable

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.writer.FreeMarkerWritable
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Writable
    +
    +
    +
    Direct Known Subclasses:
    +
    ModelElement
    +
    +
    +
    public abstract class FreeMarkerWritable
    +extends Object
    +implements Writable
    +
    A Writable which uses the FreeMarker template engine to generate the output.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FreeMarkerWritable

        +
        public FreeMarkerWritable()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        write

        +
        public void write​(Writable.Context context,
        +                  Writer writer)
        +           throws Exception
        +
        Description copied from interface: Writable
        +
        Writes this element to the given writer.
        +
        +
        Specified by:
        +
        write in interface Writable
        +
        Parameters:
        +
        context - Provides additional data specific to the used implementation of the serialization mechanism.
        +
        writer - The writer to write this element to. Must not be closed by implementations.
        +
        Throws:
        +
        Exception - in case of an error
        +
        +
      • +
      + + + +
        +
      • +

        getTemplateName

        +
        protected String getTemplateName()
        +
        Returns the name of the template to be used for a specific writable type. By default, + getTemplateNameForClass(Class) is called with getClass(), but this can be customized by + overriding this method if required.
        +
        +
        Returns:
        +
        the name of the template. Must not be null.
        +
        +
      • +
      + + + +
        +
      • +

        getTemplateNameForClass

        +
        protected String getTemplateNameForClass​(Class<?> clazz)
        +
        Returns the name of the template to be used for a specific writable type. By default, the package directory and + the class name of the given model element type, appended with the extension *.ftl is used as template + file name.
        +
        +
        Parameters:
        +
        clazz - class to obtain a template for
        +
        Returns:
        +
        the name of the template. Must not be null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/ModelIncludeDirective.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/ModelIncludeDirective.html new file mode 100644 index 000000000..3636c5505 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/ModelIncludeDirective.html @@ -0,0 +1,355 @@ + + + + + +ModelIncludeDirective (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ModelIncludeDirective

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.internal.writer.ModelIncludeDirective
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel
    +
    +
    +
    public class ModelIncludeDirective
    +extends Object
    +implements freemarker.template.TemplateDirectiveModel
    +
    A TemplateDirectiveModel which allows to recursively write a graph of + Writables, with each element using its own template. Elements are + imported into the parent template by using this directive like so: + <@includeModel object=myProperty/>.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ModelIncludeDirective

        +
        public ModelIncludeDirective​(freemarker.template.Configuration configuration)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        public void execute​(freemarker.core.Environment env,
        +                    Map params,
        +                    freemarker.template.TemplateModel[] loopVars,
        +                    freemarker.template.TemplateDirectiveBody body)
        +             throws freemarker.template.TemplateException,
        +                    IOException
        +
        +
        Specified by:
        +
        execute in interface freemarker.template.TemplateDirectiveModel
        +
        Throws:
        +
        freemarker.template.TemplateException
        +
        IOException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/ModelWriter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/ModelWriter.html new file mode 100644 index 000000000..95138fe50 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/ModelWriter.html @@ -0,0 +1,318 @@ + + + + + +ModelWriter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ModelWriter

+
+
+ +
+
    +
  • +
    +
    public class ModelWriter
    +extends Object
    +
    Writes Java source files based on given mapper models, using a FreeMarker + template.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ModelWriter

        +
        public ModelWriter()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/Writable.Context.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/Writable.Context.html new file mode 100644 index 000000000..5a46ea721 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/Writable.Context.html @@ -0,0 +1,275 @@ + + + + + +Writable.Context (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Writable.Context

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    Writable
    +
    +
    +
    public static interface Writable.Context
    +
    Passed to Writable, providing access to additional data specific to a given implementation of the model + serialization mechanism.
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      <T> Tget​(Class<T> type) +
      Retrieves the object with the given type from this context.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        <T> T get​(Class<T> type)
        +
        Retrieves the object with the given type from this context.
        +
        +
        Type Parameters:
        +
        T - the type
        +
        Parameters:
        +
        type - The type of the object to retrieve from this context.
        +
        Returns:
        +
        The object with the given type from this context.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/Writable.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/Writable.html new file mode 100644 index 000000000..7def0fa35 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/Writable.html @@ -0,0 +1,302 @@ + + + + + +Writable (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Writable

+
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterfaceDescription
      static interface Writable.Context +
      Passed to Writable, providing access to additional data specific to a given implementation of the model + serialization mechanism.
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        write

        +
        void write​(Writable.Context context,
        +           Writer writer)
        +    throws Exception
        +
        Writes this element to the given writer.
        +
        +
        Parameters:
        +
        context - Provides additional data specific to the used implementation of the serialization mechanism.
        +
        writer - The writer to write this element to. Must not be closed by implementations.
        +
        Throws:
        +
        Exception - in case of an error
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/FreeMarkerModelElementWriter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/FreeMarkerModelElementWriter.html new file mode 100644 index 000000000..a97949953 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/FreeMarkerModelElementWriter.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.writer.FreeMarkerModelElementWriter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.writer.FreeMarkerModelElementWriter

+
+
No usage of org.mapstruct.ap.internal.writer.FreeMarkerModelElementWriter
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/FreeMarkerWritable.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/FreeMarkerWritable.html new file mode 100644 index 000000000..0d88f51db --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/FreeMarkerWritable.html @@ -0,0 +1,734 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.writer.FreeMarkerWritable (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.writer.FreeMarkerWritable

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/ModelIncludeDirective.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/ModelIncludeDirective.html new file mode 100644 index 000000000..37cf9297c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/ModelIncludeDirective.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.writer.ModelIncludeDirective (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.writer.ModelIncludeDirective

+
+
No usage of org.mapstruct.ap.internal.writer.ModelIncludeDirective
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/ModelWriter.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/ModelWriter.html new file mode 100644 index 000000000..ea125d1d1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/ModelWriter.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.internal.writer.ModelWriter (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.internal.writer.ModelWriter

+
+
No usage of org.mapstruct.ap.internal.writer.ModelWriter
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/Writable.Context.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/Writable.Context.html new file mode 100644 index 000000000..fd1b2d475 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/Writable.Context.html @@ -0,0 +1,213 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.writer.Writable.Context (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.writer.Writable.Context

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/Writable.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/Writable.html new file mode 100644 index 000000000..362dba513 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/class-use/Writable.html @@ -0,0 +1,750 @@ + + + + + +Uses of Interface org.mapstruct.ap.internal.writer.Writable (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.internal.writer.Writable

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-summary.html new file mode 100644 index 000000000..98cd227b1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-summary.html @@ -0,0 +1,223 @@ + + + + + +org.mapstruct.ap.internal.writer (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.internal.writer

+
+
+
+ + +

+ Infrastructure for dealing with the FreeMarker template engine. +

+
+
    +
  • + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    Writable +
    An element with the ability to write itself into a given Writer.
    +
    Writable.Context +
    Passed to Writable, providing access to additional data specific to a given implementation of the model + serialization mechanism.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    FreeMarkerModelElementWriter +
    Delegate for writing given Writables into a Writer using + FreeMarker templates.
    +
    FreeMarkerWritable +
    A Writable which uses the FreeMarker template engine to generate the output.
    +
    ModelIncludeDirective +
    A TemplateDirectiveModel which allows to recursively write a graph of + Writables, with each element using its own template.
    +
    ModelWriter +
    Writes Java source files based on given mapper models, using a FreeMarker + template.
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-tree.html new file mode 100644 index 000000000..3cd7755af --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-tree.html @@ -0,0 +1,175 @@ + + + + + +org.mapstruct.ap.internal.writer Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.internal.writer

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-use.html new file mode 100644 index 000000000..d74310ce3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/internal/writer/package-use.html @@ -0,0 +1,356 @@ + + + + + +Uses of Package org.mapstruct.ap.internal.writer (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.internal.writer

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/package-summary.html new file mode 100644 index 000000000..cbd204cea --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/package-summary.html @@ -0,0 +1,181 @@ + + + + + +org.mapstruct.ap (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap

+
+
+
+ + +

+ This package and it sub-packages contain the implementation of the MapStruct annotation processor. Application code + using MapStruct should never work with these types directly. Refer to the documentation of + MappingProcessor to learn more about the internal architecture of the processor. +

+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    MappingProcessor +
    A JSR 269 annotation Processor which generates the implementations for mapper interfaces (interfaces + annotated with @Mapper).
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/package-tree.html new file mode 100644 index 000000000..c241aaef1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/package-tree.html @@ -0,0 +1,169 @@ + + + + + +org.mapstruct.ap Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/package-use.html new file mode 100644 index 000000000..6c6d60092 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.mapstruct.ap (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap

+
+
No usage of org.mapstruct.ap
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/AccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/AccessorNamingStrategy.html new file mode 100644 index 000000000..1adf8ea2a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/AccessorNamingStrategy.html @@ -0,0 +1,383 @@ + + + + + +AccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface AccessorNamingStrategy

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        default void init​(MapStructProcessingEnvironment processingEnvironment)
        +
        Initializes the accessor naming strategy with the MapStruct processing environment.
        +
        +
        Parameters:
        +
        processingEnvironment - environment for facilities
        +
        Since:
        +
        1.3
        +
        +
      • +
      + + + +
        +
      • +

        getMethodType

        +
        MethodType getMethodType​(ExecutableElement method)
        +
        Returns the type of the given method.
        +
        +
        Parameters:
        +
        method - to be analyzed.
        +
        Returns:
        +
        the method type.
        +
        +
      • +
      + + + +
        +
      • +

        getPropertyName

        +
        String getPropertyName​(ExecutableElement getterOrSetterMethod)
        +
        Returns the name of the property represented by the given getter or setter method. +

        + The default implementation will e.g. return "name" for public String getName() or public void + setName(String name).

        +
        +
        Parameters:
        +
        getterOrSetterMethod - to be analyzed.
        +
        Returns:
        +
        property name derived from the getterOrSetterMethod
        +
        +
      • +
      + + + +
        +
      • +

        getElementName

        +
        String getElementName​(ExecutableElement adderMethod)
        +
        Returns the element name of the given adder method. +

        + The default implementation will e.g. return "item" for public void addItem(String item).

        +
        +
        Parameters:
        +
        adderMethod - to be getterOrSetterMethod.
        +
        Returns:
        +
        getter name for collections
        +
        +
      • +
      + + + +
        +
      • +

        getCollectionGetterName

        +
        @Deprecated
        +String getCollectionGetterName​(String property)
        +
        Deprecated. +
        MapStuct will not call this method anymore. Use getMethodType(ExecutableElement) to + determine the MethodType. When collections somehow need to be treated special, it should be done in + getMethodType(ExecutableElement) as well. In the future, this method will be removed.
        +
        +
        Returns the getter name of the given collection property. +

        + The default implementation will e.g. return "getItems" for "items".

        +
        +
        Parameters:
        +
        property - to be getterOrSetterMethod.
        +
        Returns:
        +
        getter name for collection properties
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/AdditionalSupportedOptionsProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/AdditionalSupportedOptionsProvider.html new file mode 100644 index 000000000..ca775d1b5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/AdditionalSupportedOptionsProvider.html @@ -0,0 +1,263 @@ + + + + + +AdditionalSupportedOptionsProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface AdditionalSupportedOptionsProvider

+
+
+
+
    +
  • +
    +
    public interface AdditionalSupportedOptionsProvider
    +
    Provider for any additional supported options required for custom SPI implementations. + The resolved values are retrieved from MapStructProcessingEnvironment.getOptions().
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getAdditionalSupportedOptions

        +
        Set<String> getAdditionalSupportedOptions()
        +
        Returns the supported options required for custom SPI implementations.
        +
        +
        Returns:
        +
        the additional supported options.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.html new file mode 100644 index 000000000..01304f340 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.html @@ -0,0 +1,281 @@ + + + + + +AstModifyingAnnotationProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface AstModifyingAnnotationProcessor

+
+
+
+
    +
  • +
    +
    @Experimental("This interface may change in future revisions")
    +public interface AstModifyingAnnotationProcessor
    +
    A contract to be implemented by other annotation processors which - against the design philosophy of JSR 269 - alter + the types under compilation. +

    + This contract will be queried by MapStruct when examining types referenced by mappers to be generated, most notably + the source and target types of mapping methods. If at least one AST-modifying processor announces further changes to + such type, the generation of the affected mapper(s) will be deferred to a future round in the annotation processing + cycle. +

    + Implementations are discovered via the service loader, i.e. a JAR providing an AST-modifying processor needs to + declare its implementation in a file META-INF/services/org.mapstruct.ap.spi.AstModifyingAnnotationProcessor.

    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      booleanisTypeComplete​(TypeMirror type) +
      Whether the specified type has been fully processed by this processor or not (i.e. this processor will amend the + given type's structure after this invocation).
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isTypeComplete

        +
        boolean isTypeComplete​(TypeMirror type)
        +
        Whether the specified type has been fully processed by this processor or not (i.e. this processor will amend the + given type's structure after this invocation).
        +
        +
        Parameters:
        +
        type - The type of interest
        +
        Returns:
        +
        true if this processor has fully processed the given type (or has no interest in processing this + type altogether), false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderInfo.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderInfo.Builder.html new file mode 100644 index 000000000..236c1a475 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderInfo.Builder.html @@ -0,0 +1,369 @@ + + + + + +BuilderInfo.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BuilderInfo.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    BuilderInfo
    +
    +
    +
    public static class BuilderInfo.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderInfo.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderInfo.html new file mode 100644 index 000000000..9a4cefd25 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderInfo.html @@ -0,0 +1,335 @@ + + + + + +BuilderInfo (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BuilderInfo

+
+
+ +
+
    +
  • +
    +
    public class BuilderInfo
    +extends Object
    +
    Holder for the builder information.
    +
    +
    Since:
    +
    1.3
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getBuilderCreationMethod

        +
        public ExecutableElement getBuilderCreationMethod()
        +
        The method that can be used for instantiating a builder. This can be: +
          +
        • A public static method in the type being build
        • +
        • A public static method in the builder itself
        • +
        • The default constructor of the builder
        • +
        +
        +
        Returns:
        +
        the creation method for the builder
        +
        +
      • +
      + + + +
        +
      • +

        getBuildMethods

        +
        public Collection<ExecutableElement> getBuildMethods()
        +
        The methods that can be used to build the type being built. + This should be public methods within the builder itself
        +
        +
        Returns:
        +
        the build method for the type
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderProvider.html new file mode 100644 index 000000000..e282fa5c0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/BuilderProvider.html @@ -0,0 +1,302 @@ + + + + + +BuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface BuilderProvider

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    DefaultBuilderProvider, ImmutablesBuilderProvider, NoOpBuilderProvider
    +
    +
    +
    public interface BuilderProvider
    +
    A service provider interface that is used to detect types that require a builder for mapping. This interface could + support automatic detection of builders for projects like Lombok, Immutables, AutoValue, etc.
    +
    +
    Since:
    +
    1.3
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        default void init​(MapStructProcessingEnvironment processingEnvironment)
        +
        Initializes the builder provider with the MapStruct processing environment.
        +
        +
        Parameters:
        +
        processingEnvironment - environment for facilities
        +
        +
      • +
      + + + +
        +
      • +

        findBuilderInfo

        +
        BuilderInfo findBuilderInfo​(TypeMirror type)
        +
        Find the builder information, if any, for the type.
        +
        +
        Parameters:
        +
        type - the type for which a builder should be found
        +
        Returns:
        +
        the builder info for the type if it exists, or null if there is no builder
        +
        Throws:
        +
        TypeHierarchyErroneousException - if the type that needs to be visited is not ready yet, this signals the + MapStruct processor to postpone the generation of the mappers to the next round
        +
        MoreThanOneBuilderCreationMethodException - if type has more than one method that can create the + builder
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/CaseEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/CaseEnumTransformationStrategy.html new file mode 100644 index 000000000..10730baba --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/CaseEnumTransformationStrategy.html @@ -0,0 +1,369 @@ + + + + + +CaseEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CaseEnumTransformationStrategy

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.spi.CaseEnumTransformationStrategy
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CaseEnumTransformationStrategy

        +
        public CaseEnumTransformationStrategy()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultAccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultAccessorNamingStrategy.html new file mode 100644 index 000000000..8aeb81f42 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultAccessorNamingStrategy.html @@ -0,0 +1,662 @@ + + + + + +DefaultAccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultAccessorNamingStrategy

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        elementUtils

        +
        protected Elements elementUtils
        +
      • +
      + + + +
        +
      • +

        typeUtils

        +
        protected Types typeUtils
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultAccessorNamingStrategy

        +
        public DefaultAccessorNamingStrategy()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        isGetterMethod

        +
        public boolean isGetterMethod​(ExecutableElement method)
        +
        Returns true when the ExecutableElement is a getter method. A method is a getter when it + has no parameters, starts + with 'get' and the return type is any type other than void, OR the getter starts with 'is' and the type + returned is a primitive or the wrapper for boolean. NOTE: the latter does strictly not comply to the bean + convention. The remainder of the name is supposed to reflect the property name. +

        + The calling MapStruct code guarantees that the given method has no arguments.

        +
        +
        Parameters:
        +
        method - to be analyzed
        +
        Returns:
        +
        true when the method is a getter.
        +
        +
      • +
      + + + +
        +
      • +

        isSetterMethod

        +
        public boolean isSetterMethod​(ExecutableElement method)
        +
        Returns true when the ExecutableElement is a setter method. A setter starts with 'set'. The + remainder of the name is supposed to reflect the property name. +

        + The calling MapStruct code guarantees that there's only one argument.

        +
        +
        Parameters:
        +
        method - to be analyzed
        +
        Returns:
        +
        true when the method is a setter.
        +
        +
      • +
      + + + +
        +
      • +

        isFluentSetter

        +
        protected boolean isFluentSetter​(ExecutableElement method)
        +
      • +
      + + + +
        +
      • +

        isAdderMethod

        +
        public boolean isAdderMethod​(ExecutableElement method)
        +
        Returns true when the ExecutableElement is an adder method. An adder method starts with 'add'. + The remainder of the name is supposed to reflect the singular property name (as opposed to plural) of + its corresponding property. For example: property "children", but "addChild". See also + getElementName(ExecutableElement). +

        + The calling MapStruct code guarantees there's only one argument. +

        +
        +
        Parameters:
        +
        method - to be analyzed
        +
        Returns:
        +
        true when the method is an adder method.
        +
        +
      • +
      + + + +
        +
      • +

        isPresenceCheckMethod

        +
        public boolean isPresenceCheckMethod​(ExecutableElement method)
        +
        Returns true when the ExecutableElement is a presence check method that checks if the + corresponding property is present (e.g. not null, not nil, ..). A presence check method method starts with + 'has'. The remainder of the name is supposed to reflect the property name. +

        + The calling MapStruct code guarantees there's no argument and that the return type is boolean or a + Boolean

        +
        +
        Parameters:
        +
        method - to be analyzed
        +
        Returns:
        +
        true when the method is a presence check method.
        +
        +
      • +
      + + + +
        +
      • +

        getPropertyName

        +
        public String getPropertyName​(ExecutableElement getterOrSetterMethod)
        +
        Analyzes the method (getter or setter) and derives the property name. + See isGetterMethod(ExecutableElement) isSetterMethod(ExecutableElement). The first three + ('get' / 'set' scenario) characters are removed from the simple name, or the first 2 characters ('is' scenario). + From the remainder the first character is made into small case (to counter camel casing) and the result forms + the property name.
        +
        +
        Specified by:
        +
        getPropertyName in interface AccessorNamingStrategy
        +
        Parameters:
        +
        getterOrSetterMethod - getter or setter method.
        +
        Returns:
        +
        the property name.
        +
        +
      • +
      + + + +
        +
      • +

        getElementName

        +
        public String getElementName​(ExecutableElement adderMethod)
        +
        Adder methods are used to add elements to collections on a target bean. A typical use case is JPA. The + convention is that the element name will be equal to the remainder of the add method. Example: 'addElement' + element name will be 'element'.
        +
        +
        Specified by:
        +
        getElementName in interface AccessorNamingStrategy
        +
        Parameters:
        +
        adderMethod - getter or setter method.
        +
        Returns:
        +
        the property name.
        +
        +
      • +
      + + + +
        +
      • +

        getQualifiedName

        +
        protected static String getQualifiedName​(TypeMirror type)
        +
        Helper method, to obtain the fully qualified name of a type.
        +
        +
        Parameters:
        +
        type - input type
        +
        Returns:
        +
        fully qualified name of type when the type is a DeclaredType, null when otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getCollectionGetterName

        +
        public String getCollectionGetterName​(String property)
        +
        Description copied from interface: AccessorNamingStrategy
        +
        Returns the getter name of the given collection property. +

        + The default implementation will e.g. return "getItems" for "items".

        +
        +
        Specified by:
        +
        getCollectionGetterName in interface AccessorNamingStrategy
        +
        Parameters:
        +
        property - to be getterOrSetterMethod.
        +
        Returns:
        +
        getter name for collection properties
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultBuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultBuilderProvider.html new file mode 100644 index 000000000..4fb903bdc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultBuilderProvider.html @@ -0,0 +1,665 @@ + + + + + +DefaultBuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultBuilderProvider

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    BuilderProvider
    +
    +
    +
    Direct Known Subclasses:
    +
    ImmutablesBuilderProvider
    +
    +
    +
    public class DefaultBuilderProvider
    +extends Object
    +implements BuilderProvider
    +
    Default implementation of BuilderProvider. + + The default builder provider considers all public static parameterless methods of a TypeMirror + as potential builder creation methods. For each potential builder creation method checks in the return type + of the method if there exists a method that returns the initial TypeMirror if such a combination is found + the BuilderInfo is created with those 2 methods. + Example: +
    
    + public class Person {
    +
    +     private final String firstName;
    +     private final String lastName;
    +
    +     private Person(String firstName, String lastName) {
    +         this.firstName = firstName;
    +         this.lastName = lastName;
    +     }
    +
    +     //getters
    +
    +     public static Builder builder() {
    +         return new Builder();
    +     }
    +
    +     public static class Builder {
    +
    +         private String firstName;
    +         private String lastName;
    +
    +         private Builder() {}
    +
    +         //fluent setters
    +
    +         public Person create() {
    +             return new Person( firstName, lastName );
    +         }
    +     }
    + }
    + 
    + + In the example above, when searching for a builder for the Person type. The Person#builder method + would be a builder creation candidate. Then the return type of Person#builder, Builder, is + investigated for a parameterless method that returns Person. When Builder#create is found + the BuilderInfo is created with the Person#builder as a builder creation method and + Builder#create as a build method. +

    + IMPORTANT: Types from the java and javax packages are excluded from inspection

    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        elementUtils

        +
        protected Elements elementUtils
        +
      • +
      + + + +
        +
      • +

        typeUtils

        +
        protected Types typeUtils
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultBuilderProvider

        +
        public DefaultBuilderProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        public void init​(MapStructProcessingEnvironment processingEnvironment)
        +
        Description copied from interface: BuilderProvider
        +
        Initializes the builder provider with the MapStruct processing environment.
        +
        +
        Specified by:
        +
        init in interface BuilderProvider
        +
        Parameters:
        +
        processingEnvironment - environment for facilities
        +
        +
      • +
      + + + +
        +
      • +

        findBuilderInfo

        +
        public BuilderInfo findBuilderInfo​(TypeMirror type)
        +
        Description copied from interface: BuilderProvider
        +
        Find the builder information, if any, for the type.
        +
        +
        Specified by:
        +
        findBuilderInfo in interface BuilderProvider
        +
        Parameters:
        +
        type - the type for which a builder should be found
        +
        Returns:
        +
        the builder info for the type if it exists, or null if there is no builder
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        isPossibleBuilderCreationMethod

        +
        protected boolean isPossibleBuilderCreationMethod​(ExecutableElement method,
        +                                                  TypeElement typeElement)
        +
        Checks if the method is a possible builder creation method. +

        + The default implementation considers a method as a possible creation method if the following is satisfied: +

          +
        • The method has no parameters
        • +
        • It is a public static method
        • +
        • The return type of the method is not the same as the typeElement
        • +
        • +
        +
        +
        Parameters:
        +
        method - The method that needs to be checked
        +
        typeElement - the enclosing element of the method, i.e. the type in which the method is located in
        +
        Returns:
        +
        true if the method is a possible builder creation method, false otherwise
        +
        +
      • +
      + + + +
        +
      • +

        findBuildMethods

        +
        protected Collection<ExecutableElement> findBuildMethods​(TypeElement builderElement,
        +                                                         TypeElement typeElement)
        +
        Searches for a build method for typeElement within the builderElement. +

        + The default implementation iterates over each method in builderElement and uses + isBuildMethod(ExecutableElement, TypeElement) to check if the method is a + build method for typeElement. +

        + The default implementation uses shouldIgnore(TypeElement) to check if the + builderElement should be ignored, i.e. not checked for build elements. +

        + If there are multiple methods that satisfy + isBuildMethod(ExecutableElement, TypeElement) and one of those methods + is names build that that method would be considered as a build method.

        +
        +
        Parameters:
        +
        builderElement - the element for the builder
        +
        typeElement - the element for the type that is being built
        +
        Returns:
        +
        the build method for the typeElement if it exists, or null if it does not + build
        +
        +
      • +
      + + + +
        +
      • +

        isBuildMethod

        +
        protected boolean isBuildMethod​(ExecutableElement buildMethod,
        +                                TypeElement typeElement)
        +
        Checks if the buildMethod is a method that creates typeElement. +

        + The default implementation considers a method to be a build method if the following is satisfied: +

          +
        • The method has no parameters
        • +
        • The method is public
        • +
        • The return type of method is assignable to the typeElement
        • +
        +
        +
        Parameters:
        +
        buildMethod - the method that should be checked
        +
        typeElement - the type element that needs to be built
        +
        Returns:
        +
        true if the buildMethod is a build method for typeElement, false + otherwise
        +
        +
      • +
      + + + +
        +
      • +

        shouldIgnore

        +
        protected boolean shouldIgnore​(TypeElement typeElement)
        +
        Whether the typeElement should be ignored, i.e. not used in inspection. +

        + The default implementations ignores null elements and elements that belong to the java and + javax packages

        +
        +
        Parameters:
        +
        typeElement - that needs to be checked
        +
        Returns:
        +
        true if the element should be ignored, false otherwise
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultEnumMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultEnumMappingStrategy.html new file mode 100644 index 000000000..7aa7e1ba4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/DefaultEnumMappingStrategy.html @@ -0,0 +1,490 @@ + + + + + +DefaultEnumMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultEnumMappingStrategy

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        elementUtils

        +
        protected Elements elementUtils
        +
      • +
      + + + +
        +
      • +

        typeUtils

        +
        protected Types typeUtils
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultEnumMappingStrategy

        +
        public DefaultEnumMappingStrategy()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getDefaultNullEnumConstant

        +
        public String getDefaultNullEnumConstant​(TypeElement enumType)
        +
        Description copied from interface: EnumMappingStrategy
        +
        Return the default enum constant to use if the source is null.
        +
        +
        Specified by:
        +
        getDefaultNullEnumConstant in interface EnumMappingStrategy
        +
        Parameters:
        +
        enumType - the enum
        +
        Returns:
        +
        enum value or null if there is no designated enum constant
        +
        +
      • +
      + + + +
        +
      • +

        getEnumConstant

        +
        public String getEnumConstant​(TypeElement enumType,
        +                              String enumConstant)
        +
        Description copied from interface: EnumMappingStrategy
        +
        Map the enum constant to the value use for matching. + In case you want this enum constant to match to null return MappingConstants.NULL
        +
        +
        Specified by:
        +
        getEnumConstant in interface EnumMappingStrategy
        +
        Parameters:
        +
        enumType - the enum this constant belongs to
        +
        enumConstant - constant to transform
        +
        Returns:
        +
        the transformed constant - or the original value from the parameter if no transformation is needed. + never return null
        +
        +
      • +
      + + + +
        +
      • +

        getUnexpectedValueMappingExceptionType

        +
        public TypeElement getUnexpectedValueMappingExceptionType()
        +
        Description copied from interface: EnumMappingStrategy
        +
        Return the type element of the exception that should be used in the generated code + for an unexpected enum constant.
        +
        +
        Specified by:
        +
        getUnexpectedValueMappingExceptionType in interface EnumMappingStrategy
        +
        Returns:
        +
        the type element of the exception that should be used, never null
        +
        +
      • +
      + + + +
        +
      • +

        getUnexpectedValueMappingExceptionClass

        +
        protected Class<? extends Exception> getUnexpectedValueMappingExceptionClass()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/EnumMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/EnumMappingStrategy.html new file mode 100644 index 000000000..1d5d18ac4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/EnumMappingStrategy.html @@ -0,0 +1,350 @@ + + + + + +EnumMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface EnumMappingStrategy

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    DefaultEnumMappingStrategy
    +
    +
    +
    @Experimental("This SPI can have it\'s signature changed in subsequent releases")
    +public interface EnumMappingStrategy
    +
    A service provider interface for the mapping between different enum constants
    +
    +
    Since:
    +
    1.4
    +
    Author:
    +
    Arne Seime, Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        default void init​(MapStructProcessingEnvironment processingEnvironment)
        +
        Initializes the enum value mapping strategy
        +
        +
        Parameters:
        +
        processingEnvironment - environment for facilities
        +
        +
      • +
      + + + +
        +
      • +

        getDefaultNullEnumConstant

        +
        String getDefaultNullEnumConstant​(TypeElement enumType)
        +
        Return the default enum constant to use if the source is null.
        +
        +
        Parameters:
        +
        enumType - the enum
        +
        Returns:
        +
        enum value or null if there is no designated enum constant
        +
        +
      • +
      + + + +
        +
      • +

        getEnumConstant

        +
        String getEnumConstant​(TypeElement enumType,
        +                       String enumConstant)
        +
        Map the enum constant to the value use for matching. + In case you want this enum constant to match to null return MappingConstants.NULL
        +
        +
        Parameters:
        +
        enumType - the enum this constant belongs to
        +
        enumConstant - constant to transform
        +
        Returns:
        +
        the transformed constant - or the original value from the parameter if no transformation is needed. + never return null
        +
        +
      • +
      + + + +
        +
      • +

        getUnexpectedValueMappingExceptionType

        +
        TypeElement getUnexpectedValueMappingExceptionType()
        +
        Return the type element of the exception that should be used in the generated code + for an unexpected enum constant.
        +
        +
        Returns:
        +
        the type element of the exception that should be used, never null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/EnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/EnumTransformationStrategy.html new file mode 100644 index 000000000..98e311ae0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/EnumTransformationStrategy.html @@ -0,0 +1,322 @@ + + + + + +EnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface EnumTransformationStrategy

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        default void init​(MapStructProcessingEnvironment processingEnvironment)
        +
        Initializes the enum transformation strategy with the MapStruct processing environment.
        +
        +
        Parameters:
        +
        processingEnvironment - environment for facilities
        +
        +
      • +
      + + + +
        +
      • +

        getStrategyName

        +
        String getStrategyName()
        +
        The name of the strategy.
        +
        +
        Returns:
        +
        the name of the strategy, never null
        +
        +
      • +
      + + + +
        +
      • +

        transform

        +
        String transform​(String value,
        +                 String configuration)
        +
        Transform the given value by using the given configuration.
        +
        +
        Parameters:
        +
        value - the value that should be transformed
        +
        configuration - the configuration that should be used for the transformation
        +
        Returns:
        +
        the transformed value after applying the configuration
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/FreeBuilderAccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/FreeBuilderAccessorNamingStrategy.html new file mode 100644 index 000000000..3177f01cf --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/FreeBuilderAccessorNamingStrategy.html @@ -0,0 +1,365 @@ + + + + + +FreeBuilderAccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FreeBuilderAccessorNamingStrategy

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    AccessorNamingStrategy
    +
    +
    +
    @Experimental("The FreeBuilder accessor naming strategy might change in a subsequent release")
    +public class FreeBuilderAccessorNamingStrategy
    +extends DefaultAccessorNamingStrategy
    +
    Accessor naming strategy for FreeBuilder. + FreeBuilder adds a lot of other methods that can be considered as fluent setters. Such as: +
      +
    • from(Target)
    • +
    • mapXXX(UnaryOperator)
    • +
    • mutateXXX(Consumer)
    • +
    • mergeFrom(Target)
    • +
    • mergeFrom(Target.Builder)
    • +
    +

    + When the JavaBean convention is not used with FreeBuilder then the getters are non-standard and MapStruct + won't recognize them. Therefore, one needs to use the JavaBean convention in which the fluent setters + start with set.

    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/ImmutablesAccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/ImmutablesAccessorNamingStrategy.html new file mode 100644 index 000000000..733a63022 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/ImmutablesAccessorNamingStrategy.html @@ -0,0 +1,370 @@ + + + + + +ImmutablesAccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ImmutablesAccessorNamingStrategy

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    AccessorNamingStrategy
    +
    +
    +
    @Experimental("The Immutables accessor naming strategy might change in a subsequent release")
    +public class ImmutablesAccessorNamingStrategy
    +extends DefaultAccessorNamingStrategy
    +
    Accessor naming strategy for Immutables. + The generated Immutables also have a from that works as a copy. Our default strategy considers this method + as a setter with a name from. Therefore, we are ignoring it.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/ImmutablesBuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/ImmutablesBuilderProvider.html new file mode 100644 index 000000000..6d20c78f4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/ImmutablesBuilderProvider.html @@ -0,0 +1,408 @@ + + + + + +ImmutablesBuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ImmutablesBuilderProvider

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    BuilderProvider
    +
    +
    +
    @Experimental("The Immutables builder provider might change in a subsequent release")
    +public class ImmutablesBuilderProvider
    +extends DefaultBuilderProvider
    +
    Builder provider for Immutables. A custom provider is needed because Immutables creates an implementation of an + interface and that implementation has the builder. This implementation would try to find the type created by + Immutables and would look for the builder in it. Only types annotated with the + org.immutables.value.Value.Immutable are considered for this discovery.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/MapStructProcessingEnvironment.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/MapStructProcessingEnvironment.html new file mode 100644 index 000000000..2dcb43b0b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/MapStructProcessingEnvironment.html @@ -0,0 +1,325 @@ + + + + + +MapStructProcessingEnvironment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MapStructProcessingEnvironment

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    AnnotationProcessorContext
    +
    +
    +
    public interface MapStructProcessingEnvironment
    +
    MapStruct will provide the implementations of its SPIs with on object implementing this interface so they can use + facilities provided by it. It is a subset of ProcessingEnvironment.
    +
    +
    Since:
    +
    1.3
    +
    Author:
    +
    Filip Hrisafov
    +
    See Also:
    +
    ProcessingEnvironment
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getElementUtils

        +
        Elements getElementUtils()
        +
        Returns an implementation of some utility methods for + operating on elements
        +
        +
        Returns:
        +
        element utilities
        +
        +
      • +
      + + + +
        +
      • +

        getTypeUtils

        +
        Types getTypeUtils()
        +
        Returns an implementation of some utility methods for + operating on types.
        +
        +
        Returns:
        +
        type utilities
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/MappingExclusionProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/MappingExclusionProvider.html new file mode 100644 index 000000000..347829ee3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/MappingExclusionProvider.html @@ -0,0 +1,295 @@ + + + + + +MappingExclusionProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MappingExclusionProvider

+
+
+
+
    +
  • +
    +
    @Experimental("This SPI can have it\'s signature changed in subsequent releases")
    +public interface MappingExclusionProvider
    +
    A service provider interface that is used to control if MapStruct is allowed to generate automatic sub-mapping for + a given TypeElement. + + When generating the implementation of a mapping method, MapStruct will apply the following routine for each + attribute pair in the source and target object: + +
      +
    • If source and target attribute have the same type, the value will be simply copied from source to target. + If the attribute is a collection (e.g. a `List`) a copy of the collection will be set into the target + attribute.
    • +
    • If source and target attribute type differ, check whether there is a another mapping method which has the + type of the source attribute as parameter type and the type of the target attribute as return type. If such a + method exists it will be invoked in the generated mapping implementation.
    • +
    • If no such method exists MapStruct will look whether a built-in conversion for the source and target type + of the attribute exists. If this is the case, the generated mapping code will apply this conversion.
    • +
    • If no such method was found MapStruct will try to generate an automatic sub-mapping method that will do + the mapping between the source and target attributes
    • +
    • If MapStruct could not create a name based mapping method an error will be raised at build time, + indicating the non-mappable attribute and its path.
    • +
    + + With this SPI the last step before raising an error can be controlled. i.e. A user can control whether MapStruct + is allowed to generate such automatic sub-mapping method (for the source or target type) or not.
    +
    +
    Since:
    +
    1.2
    +
    Author:
    +
    Filip Hrisafov
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isExcluded

        +
        boolean isExcluded​(TypeElement typeElement)
        +
        Checks if MapStruct should not generate an automatic sub-mapping for the provided TypeElement, i.e. + MapStruct will not try to descent into this class and won't try to automatically map it with some other type. + The given typeElement will be excluded from the automatic sub-mapping generation
        +
        +
        Parameters:
        +
        typeElement - that needs to be checked
        +
        Returns:
        +
        true if MapStruct should exclude the provided TypeElement from an automatic sub-mapping
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/MethodType.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/MethodType.html new file mode 100644 index 000000000..6a44afc56 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/MethodType.html @@ -0,0 +1,442 @@ + + + + + +MethodType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum MethodType

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        GETTER

        +
        public static final MethodType GETTER
        +
        A JavaBeans getter method, e.g. public String getName().
        +
      • +
      + + + +
        +
      • +

        SETTER

        +
        public static final MethodType SETTER
        +
        A JavaBeans setter method, e.g. public void setName(String name).
        +
      • +
      + + + +
        +
      • +

        ADDER

        +
        public static final MethodType ADDER
        +
        An adder method, e.g. public void addItem(String item).
        +
      • +
      + + + +
        +
      • +

        OTHER

        +
        public static final MethodType OTHER
        +
        Any method which is neither a JavaBeans getter, setter nor an adder method.
        +
      • +
      + + + +
        +
      • +

        PRESENCE_CHECKER

        +
        public static final MethodType PRESENCE_CHECKER
        +
        A method to check whether a property is present, e.g. public String hasName().
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static MethodType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (MethodType c : MethodType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static MethodType valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/MoreThanOneBuilderCreationMethodException.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/MoreThanOneBuilderCreationMethodException.html new file mode 100644 index 000000000..b5042b776 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/MoreThanOneBuilderCreationMethodException.html @@ -0,0 +1,361 @@ + + + + + +MoreThanOneBuilderCreationMethodException (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MoreThanOneBuilderCreationMethodException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    public class MoreThanOneBuilderCreationMethodException
    +extends RuntimeException
    +
    Indicates that a type has too many builder creation methods. + This exception can be used to signal the MapStruct processor that more than one builder creation method was found.
    +
    +
    Author:
    +
    Filip Hrisafov
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MoreThanOneBuilderCreationMethodException

        +
        public MoreThanOneBuilderCreationMethodException​(TypeMirror type,
        +                                                 List<BuilderInfo> builderCreationMethods)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/NoOpBuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/NoOpBuilderProvider.html new file mode 100644 index 000000000..2f75d89fd --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/NoOpBuilderProvider.html @@ -0,0 +1,339 @@ + + + + + +NoOpBuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NoOpBuilderProvider

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NoOpBuilderProvider

        +
        public NoOpBuilderProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        findBuilderInfo

        +
        public BuilderInfo findBuilderInfo​(TypeMirror type)
        +
        Description copied from interface: BuilderProvider
        +
        Find the builder information, if any, for the type.
        +
        +
        Specified by:
        +
        findBuilderInfo in interface BuilderProvider
        +
        Parameters:
        +
        type - the type for which a builder should be found
        +
        Returns:
        +
        the builder info for the type if it exists, or null if there is no builder
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/PrefixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/PrefixEnumTransformationStrategy.html new file mode 100644 index 000000000..25b2f6fe2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/PrefixEnumTransformationStrategy.html @@ -0,0 +1,368 @@ + + + + + +PrefixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrefixEnumTransformationStrategy

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.spi.PrefixEnumTransformationStrategy
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PrefixEnumTransformationStrategy

        +
        public PrefixEnumTransformationStrategy()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/StripPrefixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/StripPrefixEnumTransformationStrategy.html new file mode 100644 index 000000000..87e362815 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/StripPrefixEnumTransformationStrategy.html @@ -0,0 +1,368 @@ + + + + + +StripPrefixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StripPrefixEnumTransformationStrategy

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.spi.StripPrefixEnumTransformationStrategy
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StripPrefixEnumTransformationStrategy

        +
        public StripPrefixEnumTransformationStrategy()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/StripSuffixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/StripSuffixEnumTransformationStrategy.html new file mode 100644 index 000000000..579944740 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/StripSuffixEnumTransformationStrategy.html @@ -0,0 +1,368 @@ + + + + + +StripSuffixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StripSuffixEnumTransformationStrategy

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.spi.StripSuffixEnumTransformationStrategy
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StripSuffixEnumTransformationStrategy

        +
        public StripSuffixEnumTransformationStrategy()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/SuffixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/SuffixEnumTransformationStrategy.html new file mode 100644 index 000000000..ce4410d00 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/SuffixEnumTransformationStrategy.html @@ -0,0 +1,368 @@ + + + + + +SuffixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SuffixEnumTransformationStrategy

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.mapstruct.ap.spi.SuffixEnumTransformationStrategy
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SuffixEnumTransformationStrategy

        +
        public SuffixEnumTransformationStrategy()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/TypeHierarchyErroneousException.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/TypeHierarchyErroneousException.html new file mode 100644 index 000000000..5aecb91b8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/TypeHierarchyErroneousException.html @@ -0,0 +1,359 @@ + + + + + +TypeHierarchyErroneousException (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TypeHierarchyErroneousException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    public class TypeHierarchyErroneousException
    +extends RuntimeException
    +
    Indicates a type was visited whose hierarchy was erroneous, because it has a non-existing super-type. +

    + This exception can be used to signal the MapStruct processor to postpone the generation of the mappers to the next + round

    +
    +
    Author:
    +
    Gunnar Morling
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TypeHierarchyErroneousException

        +
        public TypeHierarchyErroneousException​(TypeElement element)
        +
      • +
      + + + +
        +
      • +

        TypeHierarchyErroneousException

        +
        public TypeHierarchyErroneousException​(TypeMirror type)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AccessorNamingStrategy.html new file mode 100644 index 000000000..22c0cb511 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AccessorNamingStrategy.html @@ -0,0 +1,255 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.AccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.AccessorNamingStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AdditionalSupportedOptionsProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AdditionalSupportedOptionsProvider.html new file mode 100644 index 000000000..b5bfc5585 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AdditionalSupportedOptionsProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.AdditionalSupportedOptionsProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.AdditionalSupportedOptionsProvider

+
+
No usage of org.mapstruct.ap.spi.AdditionalSupportedOptionsProvider
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AstModifyingAnnotationProcessor.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AstModifyingAnnotationProcessor.html new file mode 100644 index 000000000..62611a420 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/AstModifyingAnnotationProcessor.html @@ -0,0 +1,197 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.AstModifyingAnnotationProcessor (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.AstModifyingAnnotationProcessor

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderInfo.Builder.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderInfo.Builder.html new file mode 100644 index 000000000..c3e7e1a41 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderInfo.Builder.html @@ -0,0 +1,202 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.BuilderInfo.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.BuilderInfo.Builder

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderInfo.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderInfo.html new file mode 100644 index 000000000..df1b6c96c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderInfo.html @@ -0,0 +1,295 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.BuilderInfo (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.BuilderInfo

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderProvider.html new file mode 100644 index 000000000..cd7a82d43 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/BuilderProvider.html @@ -0,0 +1,242 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.BuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.BuilderProvider

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/CaseEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/CaseEnumTransformationStrategy.html new file mode 100644 index 000000000..a81d9deaa --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/CaseEnumTransformationStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.CaseEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.CaseEnumTransformationStrategy

+
+
No usage of org.mapstruct.ap.spi.CaseEnumTransformationStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultAccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultAccessorNamingStrategy.html new file mode 100644 index 000000000..c83beaf8c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultAccessorNamingStrategy.html @@ -0,0 +1,206 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.DefaultAccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.DefaultAccessorNamingStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultBuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultBuilderProvider.html new file mode 100644 index 000000000..978039ba0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultBuilderProvider.html @@ -0,0 +1,199 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.DefaultBuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.DefaultBuilderProvider

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultEnumMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultEnumMappingStrategy.html new file mode 100644 index 000000000..6ded90d01 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/DefaultEnumMappingStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.DefaultEnumMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.DefaultEnumMappingStrategy

+
+
No usage of org.mapstruct.ap.spi.DefaultEnumMappingStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/EnumMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/EnumMappingStrategy.html new file mode 100644 index 000000000..b2d23c187 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/EnumMappingStrategy.html @@ -0,0 +1,314 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.EnumMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.EnumMappingStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/EnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/EnumTransformationStrategy.html new file mode 100644 index 000000000..c25dc938f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/EnumTransformationStrategy.html @@ -0,0 +1,368 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.EnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.EnumTransformationStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/FreeBuilderAccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/FreeBuilderAccessorNamingStrategy.html new file mode 100644 index 000000000..55fb53760 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/FreeBuilderAccessorNamingStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.FreeBuilderAccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.FreeBuilderAccessorNamingStrategy

+
+
No usage of org.mapstruct.ap.spi.FreeBuilderAccessorNamingStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/ImmutablesAccessorNamingStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/ImmutablesAccessorNamingStrategy.html new file mode 100644 index 000000000..7aff7a3e3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/ImmutablesAccessorNamingStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.ImmutablesAccessorNamingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.ImmutablesAccessorNamingStrategy

+
+
No usage of org.mapstruct.ap.spi.ImmutablesAccessorNamingStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/ImmutablesBuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/ImmutablesBuilderProvider.html new file mode 100644 index 000000000..298d6a0ed --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/ImmutablesBuilderProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.ImmutablesBuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.ImmutablesBuilderProvider

+
+
No usage of org.mapstruct.ap.spi.ImmutablesBuilderProvider
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MapStructProcessingEnvironment.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MapStructProcessingEnvironment.html new file mode 100644 index 000000000..f6ce747ac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MapStructProcessingEnvironment.html @@ -0,0 +1,266 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.MapStructProcessingEnvironment (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.MapStructProcessingEnvironment

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MappingExclusionProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MappingExclusionProvider.html new file mode 100644 index 000000000..14937bd59 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MappingExclusionProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface org.mapstruct.ap.spi.MappingExclusionProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.mapstruct.ap.spi.MappingExclusionProvider

+
+
No usage of org.mapstruct.ap.spi.MappingExclusionProvider
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MethodType.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MethodType.html new file mode 100644 index 000000000..30dd7ee7d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MethodType.html @@ -0,0 +1,219 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.MethodType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.MethodType

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MoreThanOneBuilderCreationMethodException.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MoreThanOneBuilderCreationMethodException.html new file mode 100644 index 000000000..840eabd62 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/MoreThanOneBuilderCreationMethodException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.MoreThanOneBuilderCreationMethodException (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.MoreThanOneBuilderCreationMethodException

+
+
No usage of org.mapstruct.ap.spi.MoreThanOneBuilderCreationMethodException
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/NoOpBuilderProvider.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/NoOpBuilderProvider.html new file mode 100644 index 000000000..1fc4128a6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/NoOpBuilderProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.NoOpBuilderProvider (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.NoOpBuilderProvider

+
+
No usage of org.mapstruct.ap.spi.NoOpBuilderProvider
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/PrefixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/PrefixEnumTransformationStrategy.html new file mode 100644 index 000000000..d84d35a4b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/PrefixEnumTransformationStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.PrefixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.PrefixEnumTransformationStrategy

+
+
No usage of org.mapstruct.ap.spi.PrefixEnumTransformationStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/StripPrefixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/StripPrefixEnumTransformationStrategy.html new file mode 100644 index 000000000..ea9009913 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/StripPrefixEnumTransformationStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.StripPrefixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.StripPrefixEnumTransformationStrategy

+
+
No usage of org.mapstruct.ap.spi.StripPrefixEnumTransformationStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/StripSuffixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/StripSuffixEnumTransformationStrategy.html new file mode 100644 index 000000000..36c5f9c32 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/StripSuffixEnumTransformationStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.StripSuffixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.StripSuffixEnumTransformationStrategy

+
+
No usage of org.mapstruct.ap.spi.StripSuffixEnumTransformationStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/SuffixEnumTransformationStrategy.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/SuffixEnumTransformationStrategy.html new file mode 100644 index 000000000..84f1199b4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/SuffixEnumTransformationStrategy.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.SuffixEnumTransformationStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.SuffixEnumTransformationStrategy

+
+
No usage of org.mapstruct.ap.spi.SuffixEnumTransformationStrategy
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/TypeHierarchyErroneousException.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/TypeHierarchyErroneousException.html new file mode 100644 index 000000000..dca58f322 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/class-use/TypeHierarchyErroneousException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.TypeHierarchyErroneousException (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.TypeHierarchyErroneousException

+
+
No usage of org.mapstruct.ap.spi.TypeHierarchyErroneousException
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/package-summary.html new file mode 100644 index 000000000..5ec8abfa6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/package-summary.html @@ -0,0 +1,346 @@ + + + + + +org.mapstruct.ap.spi (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.spi

+
+
+
+ + +

+ SPI (service provider interface) contracts to be implemented for advanced use cases. +

+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/package-tree.html new file mode 100644 index 000000000..7e166136b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/package-tree.html @@ -0,0 +1,225 @@ + + + + + +org.mapstruct.ap.spi Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.spi

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/package-use.html new file mode 100644 index 000000000..4f9408d73 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/package-use.html @@ -0,0 +1,418 @@ + + + + + +Uses of Package org.mapstruct.ap.spi (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.spi

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/util/IntrospectorUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/IntrospectorUtils.html new file mode 100644 index 000000000..5aecfbdac --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/IntrospectorUtils.html @@ -0,0 +1,294 @@ + + + + + +IntrospectorUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class IntrospectorUtils

+
+
+ +
+
    +
  • +
    +
    public class IntrospectorUtils
    +extends Object
    +
    Utilities for tools to learn about the properties, events, and methods supported by a target Java Bean. + It is mainly needed to avoid using Introspector class which is part of java.desktop module + from java 9, thus avoiding pulling a module ( of around 10 MB ) for using a single class.
    +
    +
    Author:
    +
    Saheb Preet Singh
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decapitalize

        +
        public static String decapitalize​(String name)
        +
        Utility method to take a string and convert it to normal Java variable + name capitalization. This normally means converting the first + character from upper case to lower case, but in the (unusual) special + case when there is more than one character and both the first and + second characters are upper case, we leave it alone. +

        + Thus "FooBah" becomes "fooBah" and "X" becomes "x", but "URL" stays + as "URL".

        +
        +
        Parameters:
        +
        name - The string to be decapitalized.
        +
        Returns:
        +
        The decapitalized version of the string.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/util/class-use/IntrospectorUtils.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/class-use/IntrospectorUtils.html new file mode 100644 index 000000000..907f38172 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/class-use/IntrospectorUtils.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ap.spi.util.IntrospectorUtils (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ap.spi.util.IntrospectorUtils

+
+
No usage of org.mapstruct.ap.spi.util.IntrospectorUtils
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-summary.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-summary.html new file mode 100644 index 000000000..801a4372d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-summary.html @@ -0,0 +1,171 @@ + + + + + +org.mapstruct.ap.spi.util (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.ap.spi.util

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    IntrospectorUtils +
    Utilities for tools to learn about the properties, events, and methods supported by a target Java Bean.
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-tree.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-tree.html new file mode 100644 index 000000000..16fe2e6f0 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.mapstruct.ap.spi.util Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.ap.spi.util

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-use.html b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-use.html new file mode 100644 index 000000000..a3e4b4166 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/ap/spi/util/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.mapstruct.ap.spi.util (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.ap.spi.util

+
+
No usage of org.mapstruct.ap.spi.util
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/AfterMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/AfterMapping.html new file mode 100644 index 000000000..2a1dffd9c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/AfterMapping.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.AfterMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.AfterMapping

+
+
No usage of org.mapstruct.AfterMapping
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWith.Element.html b/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWith.Element.html new file mode 100644 index 000000000..50d762e38 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWith.Element.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.mapstruct.AnnotateWith.Element (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.AnnotateWith.Element

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWith.html b/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWith.html new file mode 100644 index 000000000..fad450cd5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWith.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.mapstruct.AnnotateWith (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.AnnotateWith

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use AnnotateWith 
    PackageDescription
    org.mapstruct +
    + MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
    +
    +
  • +
  • + +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWiths.html b/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWiths.html new file mode 100644 index 000000000..1a49d4d7b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/AnnotateWiths.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.AnnotateWiths (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.AnnotateWiths

+
+
No usage of org.mapstruct.AnnotateWiths
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/BeanMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/BeanMapping.html new file mode 100644 index 000000000..30415d992 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/BeanMapping.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.BeanMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.BeanMapping

+
+
No usage of org.mapstruct.BeanMapping
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/BeforeMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/BeforeMapping.html new file mode 100644 index 000000000..15070ae71 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/BeforeMapping.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.BeforeMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.BeforeMapping

+
+
No usage of org.mapstruct.BeforeMapping
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Builder.html b/static/documentation/1.6/api/org/mapstruct/class-use/Builder.html new file mode 100644 index 000000000..d29875a9a --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Builder.html @@ -0,0 +1,214 @@ + + + + + +Uses of Class org.mapstruct.Builder (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Builder

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use Builder 
    PackageDescription
    org.mapstruct +
    + MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
    +
    +
  • +
  • + +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/CollectionMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/class-use/CollectionMappingStrategy.html new file mode 100644 index 000000000..e6b77d434 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/CollectionMappingStrategy.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.mapstruct.CollectionMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.CollectionMappingStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Condition.html b/static/documentation/1.6/api/org/mapstruct/class-use/Condition.html new file mode 100644 index 000000000..d5e264ea2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Condition.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.Condition (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Condition

+
+
No usage of org.mapstruct.Condition
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Context.html b/static/documentation/1.6/api/org/mapstruct/class-use/Context.html new file mode 100644 index 000000000..d3e7de84f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Context.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.Context (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Context

+
+
No usage of org.mapstruct.Context
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/DecoratedWith.html b/static/documentation/1.6/api/org/mapstruct/class-use/DecoratedWith.html new file mode 100644 index 000000000..912a41f0e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/DecoratedWith.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.DecoratedWith (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.DecoratedWith

+
+
No usage of org.mapstruct.DecoratedWith
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/EnumMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/EnumMapping.html new file mode 100644 index 000000000..bac3cb340 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/EnumMapping.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.EnumMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.EnumMapping

+
+
No usage of org.mapstruct.EnumMapping
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/InheritConfiguration.html b/static/documentation/1.6/api/org/mapstruct/class-use/InheritConfiguration.html new file mode 100644 index 000000000..177368a6e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/InheritConfiguration.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.InheritConfiguration (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.InheritConfiguration

+
+
No usage of org.mapstruct.InheritConfiguration
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/InheritInverseConfiguration.html b/static/documentation/1.6/api/org/mapstruct/class-use/InheritInverseConfiguration.html new file mode 100644 index 000000000..8dfa1060c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/InheritInverseConfiguration.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.InheritInverseConfiguration (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.InheritInverseConfiguration

+
+
No usage of org.mapstruct.InheritInverseConfiguration
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/InjectionStrategy.html b/static/documentation/1.6/api/org/mapstruct/class-use/InjectionStrategy.html new file mode 100644 index 000000000..e35cf0f77 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/InjectionStrategy.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.mapstruct.InjectionStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.InjectionStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/IterableMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/IterableMapping.html new file mode 100644 index 000000000..8a438555b --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/IterableMapping.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.IterableMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.IterableMapping

+
+
No usage of org.mapstruct.IterableMapping
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Javadoc.html b/static/documentation/1.6/api/org/mapstruct/class-use/Javadoc.html new file mode 100644 index 000000000..15144d250 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Javadoc.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.Javadoc (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Javadoc

+
+
No usage of org.mapstruct.Javadoc
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/MapMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/MapMapping.html new file mode 100644 index 000000000..df09754b8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/MapMapping.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.MapMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.MapMapping

+
+
No usage of org.mapstruct.MapMapping
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Mapper.html b/static/documentation/1.6/api/org/mapstruct/class-use/Mapper.html new file mode 100644 index 000000000..e9dd8c266 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Mapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.Mapper (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Mapper

+
+
No usage of org.mapstruct.Mapper
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/MapperConfig.html b/static/documentation/1.6/api/org/mapstruct/class-use/MapperConfig.html new file mode 100644 index 000000000..5e8c224eb --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/MapperConfig.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.MapperConfig (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.MapperConfig

+
+
No usage of org.mapstruct.MapperConfig
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Mapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/Mapping.html new file mode 100644 index 000000000..21d949bc3 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Mapping.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.mapstruct.Mapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Mapping

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use Mapping 
    PackageDescription
    org.mapstruct +
    + MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
    +
    +
  • +
  • + +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/MappingConstants.ComponentModel.html b/static/documentation/1.6/api/org/mapstruct/class-use/MappingConstants.ComponentModel.html new file mode 100644 index 000000000..a725fd2f7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/MappingConstants.ComponentModel.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.MappingConstants.ComponentModel (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.MappingConstants.ComponentModel

+
+
No usage of org.mapstruct.MappingConstants.ComponentModel
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/MappingConstants.html b/static/documentation/1.6/api/org/mapstruct/class-use/MappingConstants.html new file mode 100644 index 000000000..7eb5f8d7f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/MappingConstants.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.MappingConstants (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.MappingConstants

+
+
No usage of org.mapstruct.MappingConstants
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/MappingInheritanceStrategy.html b/static/documentation/1.6/api/org/mapstruct/class-use/MappingInheritanceStrategy.html new file mode 100644 index 000000000..55f378651 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/MappingInheritanceStrategy.html @@ -0,0 +1,224 @@ + + + + + +Uses of Class org.mapstruct.MappingInheritanceStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.MappingInheritanceStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/MappingTarget.html b/static/documentation/1.6/api/org/mapstruct/class-use/MappingTarget.html new file mode 100644 index 000000000..7ce77023d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/MappingTarget.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.MappingTarget (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.MappingTarget

+
+
No usage of org.mapstruct.MappingTarget
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Mappings.html b/static/documentation/1.6/api/org/mapstruct/class-use/Mappings.html new file mode 100644 index 000000000..1b30e448d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Mappings.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.Mappings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Mappings

+
+
No usage of org.mapstruct.Mappings
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Named.html b/static/documentation/1.6/api/org/mapstruct/class-use/Named.html new file mode 100644 index 000000000..b3ccf6135 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Named.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.Named (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Named

+
+
No usage of org.mapstruct.Named
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/NullValueCheckStrategy.html b/static/documentation/1.6/api/org/mapstruct/class-use/NullValueCheckStrategy.html new file mode 100644 index 000000000..8e3c49440 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/NullValueCheckStrategy.html @@ -0,0 +1,236 @@ + + + + + +Uses of Class org.mapstruct.NullValueCheckStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.NullValueCheckStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/NullValueMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/class-use/NullValueMappingStrategy.html new file mode 100644 index 000000000..ce15c1465 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/NullValueMappingStrategy.html @@ -0,0 +1,273 @@ + + + + + +Uses of Class org.mapstruct.NullValueMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.NullValueMappingStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/NullValuePropertyMappingStrategy.html b/static/documentation/1.6/api/org/mapstruct/class-use/NullValuePropertyMappingStrategy.html new file mode 100644 index 000000000..9adde5404 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/NullValuePropertyMappingStrategy.html @@ -0,0 +1,236 @@ + + + + + +Uses of Class org.mapstruct.NullValuePropertyMappingStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.NullValuePropertyMappingStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/ObjectFactory.html b/static/documentation/1.6/api/org/mapstruct/class-use/ObjectFactory.html new file mode 100644 index 000000000..3f56cc282 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/ObjectFactory.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ObjectFactory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ObjectFactory

+
+
No usage of org.mapstruct.ObjectFactory
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/Qualifier.html b/static/documentation/1.6/api/org/mapstruct/class-use/Qualifier.html new file mode 100644 index 000000000..b106318b9 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/Qualifier.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.mapstruct.Qualifier (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.Qualifier

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use Qualifier 
    PackageDescription
    org.mapstruct +
    + MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
    +
    +
  • +
  • + +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/ReportingPolicy.html b/static/documentation/1.6/api/org/mapstruct/class-use/ReportingPolicy.html new file mode 100644 index 000000000..74c55f5bc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/ReportingPolicy.html @@ -0,0 +1,270 @@ + + + + + +Uses of Class org.mapstruct.ReportingPolicy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ReportingPolicy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/SubclassExhaustiveStrategy.html b/static/documentation/1.6/api/org/mapstruct/class-use/SubclassExhaustiveStrategy.html new file mode 100644 index 000000000..488f4f2a8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/SubclassExhaustiveStrategy.html @@ -0,0 +1,229 @@ + + + + + +Uses of Class org.mapstruct.SubclassExhaustiveStrategy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.SubclassExhaustiveStrategy

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/SubclassMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/SubclassMapping.html new file mode 100644 index 000000000..a76548808 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/SubclassMapping.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.mapstruct.SubclassMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.SubclassMapping

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/SubclassMappings.html b/static/documentation/1.6/api/org/mapstruct/class-use/SubclassMappings.html new file mode 100644 index 000000000..f7804676e --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/SubclassMappings.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.SubclassMappings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.SubclassMappings

+
+
No usage of org.mapstruct.SubclassMappings
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/TargetPropertyName.html b/static/documentation/1.6/api/org/mapstruct/class-use/TargetPropertyName.html new file mode 100644 index 000000000..c1f5e5c99 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/TargetPropertyName.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.TargetPropertyName (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.TargetPropertyName

+
+
No usage of org.mapstruct.TargetPropertyName
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/TargetType.html b/static/documentation/1.6/api/org/mapstruct/class-use/TargetType.html new file mode 100644 index 000000000..ae70c6676 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/TargetType.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.TargetType (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.TargetType

+
+
No usage of org.mapstruct.TargetType
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/ValueMapping.html b/static/documentation/1.6/api/org/mapstruct/class-use/ValueMapping.html new file mode 100644 index 000000000..10c4f781d --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/ValueMapping.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.mapstruct.ValueMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ValueMapping

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use ValueMapping 
    PackageDescription
    org.mapstruct +
    + MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
    +
    +
  • +
  • + +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/class-use/ValueMappings.html b/static/documentation/1.6/api/org/mapstruct/class-use/ValueMappings.html new file mode 100644 index 000000000..8d2e100a4 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/class-use/ValueMappings.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.ValueMappings (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.ValueMappings

+
+
No usage of org.mapstruct.ValueMappings
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/DeepClone.html b/static/documentation/1.6/api/org/mapstruct/control/DeepClone.html new file mode 100644 index 000000000..4f8559de8 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/DeepClone.html @@ -0,0 +1,198 @@ + + + + + +DeepClone (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type DeepClone

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Experimental
    +public @interface DeepClone
    +
    Clones a source type to a target type (assuming source and target are of the same type).
    +
    +
    Since:
    +
    1.4
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/MappingControl.Use.html b/static/documentation/1.6/api/org/mapstruct/control/MappingControl.Use.html new file mode 100644 index 000000000..de96970af --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/MappingControl.Use.html @@ -0,0 +1,464 @@ + + + + + +MappingControl.Use (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum MappingControl.Use

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        BUILT_IN_CONVERSION

        +
        public static final MappingControl.Use BUILT_IN_CONVERSION
        +
        Controls the mapping, allows for type conversion from source type to target type +

        + Type conversions are typically supported directly in Java. The "toString()" is such an example, + which allows for mapping for instance a Number type to a String. +

        + Please refer to the MapStruct guide for more info.

        +
        +
        Since:
        +
        1.4
        +
        +
      • +
      + + + +
        +
      • +

        COMPLEX_MAPPING

        +
        public static final MappingControl.Use COMPLEX_MAPPING
        +
        Controls the mapping from source to target type, allows mapping by calling: +
          +
        1. A type conversion, passed into a mapping method
        2. +
        3. A mapping method, passed into a type conversion
        4. +
        5. A mapping method passed into another mapping method
        6. +
        +
        +
        Since:
        +
        1.4
        +
        +
      • +
      + + + +
        +
      • +

        DIRECT

        +
        public static final MappingControl.Use DIRECT
        +
        Controls the mapping, allows for a direct mapping from source type to target type. +

        + This means if source type and target type are of the same type, MapStruct will not perform + any mappings anymore and assign the target to the source direct. +

        + An exception are types from the package java, which will be mapped always directly.

        +
        +
        Since:
        +
        1.4
        +
        +
      • +
      + + + +
        +
      • +

        MAPPING_METHOD

        +
        public static final MappingControl.Use MAPPING_METHOD
        +
        Controls the mapping, allows for Direct Mapping from source type to target type. +

        + The mapping method can be either a custom referred mapping method, or a MapStruct built in + mapping method.

        +
        +
        Since:
        +
        1.4
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static MappingControl.Use[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (MappingControl.Use c : MappingControl.Use.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static MappingControl.Use valueOf​(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/static/documentation/1.6/api/org/mapstruct/control/MappingControl.html b/static/documentation/1.6/api/org/mapstruct/control/MappingControl.html new file mode 100644 index 000000000..4b79965b6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/MappingControl.html @@ -0,0 +1,325 @@ + + + + + +MappingControl (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type MappingControl

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Repeatable(MappingControls.class)
    +@Target(ANNOTATION_TYPE)
    +public @interface MappingControl
    +
    Controls which means of mapping are considered between the source and the target in mappings. + +

    + There are several applications of MappingControl conceivable. One application, "deep cloning" is + explained below in the example. +

    + +

    + Another application is controlling so called "complex mappings", which are not always desirable and sometimes lead to + unexpected behaviour and prolonged compilation time. +

    + +

    Example:Cloning of an object

    +

    + When all methods are allowed, MapStruct would make a shallow copy. It would take the ShelveDTO in + the FridgeDTO and directly enter that as target on the target FridgeDTO. By disabling all + other kinds of mappings apart from MappingControl.Use.MAPPING_METHOD, see DeepClone MapStruct is + forced to generate mapping methods all through the object graph `FridgeDTO` and hence create a deep clone. +

    +
    
    + public class FridgeDTO {
    +
    +     private ShelveDTO shelve;
    +
    +     public ShelveDTO getShelve() {
    +         return shelve;
    +     }
    +
    +     public void setShelve(ShelveDTO shelve) {
    +         this.shelve = shelve;
    +     }
    + }
    + 
    +
    
    + public class ShelveDTO {
    +
    +     private CoolBeerDTO coolBeer;
    +
    +     public CoolBeerDTO getCoolBeer() {
    +         return coolBeer;
    +     }
    +
    +     public void setCoolBeer(CoolBeerDTO coolBeer) {
    +         this.coolBeer = coolBeer;
    +     }
    + }
    + 
    +
    
    + public class CoolBeerDTO {
    +
    +     private String beerCount;
    +
    +     public String getBeerCount() {
    +         return beerCount;
    +     }
    +
    +     public void setBeerCount(String beerCount) {
    +         this.beerCount = beerCount;
    +     }
    + }
    + 
    + +
    
    + @Mapper(mappingControl = DeepClone.class)
    + public interface CloningMapper {
    +
    +     CloningMapper INSTANCE = Mappers.getMapper( CloningMapper.class );
    +
    +     FridgeDTO clone(FridgeDTO in);
    +
    + }
    + 
    +
    +
    Since:
    +
    1.4
    +
    Author:
    +
    Sjaak Derksen
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      MappingControl.Usevalue 
      +
    • +
    +
    +
  • +
+
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/MappingControls.html b/static/documentation/1.6/api/org/mapstruct/control/MappingControls.html new file mode 100644 index 000000000..f052a5cb7 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/MappingControls.html @@ -0,0 +1,253 @@ + + + + + +MappingControls (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type MappingControls

+
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      MappingControl[]value 
      +
    • +
    +
    +
  • +
+
+
+ +
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/NoComplexMapping.html b/static/documentation/1.6/api/org/mapstruct/control/NoComplexMapping.html new file mode 100644 index 000000000..5e62a2869 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/NoComplexMapping.html @@ -0,0 +1,201 @@ + + + + + +NoComplexMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type NoComplexMapping

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Experimental
    +public @interface NoComplexMapping
    +
    Disables complex mappings, mappings that require 2 mapping means (method, built-in conversion) to constitute + a mapping from source to target.
    +
    +
    Since:
    +
    1.4
    +
    Author:
    +
    Sjaak Derksen
    +
    See Also:
    +
    MappingControl.Use.COMPLEX_MAPPING
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/class-use/DeepClone.html b/static/documentation/1.6/api/org/mapstruct/control/class-use/DeepClone.html new file mode 100644 index 000000000..d5c3a5a83 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/class-use/DeepClone.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.control.DeepClone (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.control.DeepClone

+
+
No usage of org.mapstruct.control.DeepClone
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControl.Use.html b/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControl.Use.html new file mode 100644 index 000000000..648ecaf4c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControl.Use.html @@ -0,0 +1,209 @@ + + + + + +Uses of Class org.mapstruct.control.MappingControl.Use (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.control.MappingControl.Use

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControl.html b/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControl.html new file mode 100644 index 000000000..b3420ef57 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControl.html @@ -0,0 +1,211 @@ + + + + + +Uses of Class org.mapstruct.control.MappingControl (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.control.MappingControl

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControls.html b/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControls.html new file mode 100644 index 000000000..e8ee43510 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/class-use/MappingControls.html @@ -0,0 +1,204 @@ + + + + + +Uses of Class org.mapstruct.control.MappingControls (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.control.MappingControls

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/class-use/NoComplexMapping.html b/static/documentation/1.6/api/org/mapstruct/control/class-use/NoComplexMapping.html new file mode 100644 index 000000000..d408d49b5 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/class-use/NoComplexMapping.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.control.NoComplexMapping (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.control.NoComplexMapping

+
+
No usage of org.mapstruct.control.NoComplexMapping
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/package-summary.html b/static/documentation/1.6/api/org/mapstruct/control/package-summary.html new file mode 100644 index 000000000..ef6570de1 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/package-summary.html @@ -0,0 +1,205 @@ + + + + + +org.mapstruct.control (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.control

+
+
+
    +
  • + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    MappingControl.Use 
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Annotation Types Summary 
    Annotation TypeDescription
    DeepClone +
    Clones a source type to a target type (assuming source and target are of the same type).
    +
    MappingControl +
    Controls which means of mapping are considered between the source and the target in mappings.
    +
    MappingControls +
    Allows multiple MappingControl on a class declaration.
    +
    NoComplexMapping +
    Disables complex mappings, mappings that require 2 mapping means (method, built-in conversion) to constitute + a mapping from source to target.
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/package-tree.html b/static/documentation/1.6/api/org/mapstruct/control/package-tree.html new file mode 100644 index 000000000..4c4c5bcbc --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/package-tree.html @@ -0,0 +1,178 @@ + + + + + +org.mapstruct.control Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.control

+Package Hierarchies: + +
+
+
+

Annotation Type Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/control/package-use.html b/static/documentation/1.6/api/org/mapstruct/control/package-use.html new file mode 100644 index 000000000..1d478165f --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/control/package-use.html @@ -0,0 +1,197 @@ + + + + + +Uses of Package org.mapstruct.control (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.control

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/factory/Mappers.html b/static/documentation/1.6/api/org/mapstruct/factory/Mappers.html new file mode 100644 index 000000000..786793dea --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/factory/Mappers.html @@ -0,0 +1,332 @@ + + + + + +Mappers (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Mappers

+
+
+ +
+
    +
  • +
    +
    public class Mappers
    +extends Object
    +
    Factory for obtaining mapper instances if no explicit component model such as CDI is configured via + Mapper.componentModel(). +

    + Mapper implementation types are expected to have the same fully qualified name as their interface type, with the + suffix Impl appended. When using this factory, mapper types - and any mappers they use - are instantiated by + invoking their public no-args constructor. +

    + By convention, a single instance of each mapper is retrieved from the factory and exposed on the mapper interface + type by declaring a member named INSTANCE like this: + +

    + @Mapper
    + public interface CustomerMapper {
    +
    +     CustomerMapper INSTANCE = Mappers.getMapper( CustomerMapper.class );
    +
    +     // mapping methods...
    + }
    + 
    +
    +
    Author:
    +
    Gunnar Morling
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMapper

        +
        public static <T> T getMapper​(Class<T> clazz)
        +
        Returns an instance of the given mapper type.
        +
        +
        Type Parameters:
        +
        T - The type of the mapper to create.
        +
        Parameters:
        +
        clazz - The type of the mapper to return.
        +
        Returns:
        +
        An instance of the given mapper type.
        +
        +
      • +
      + + + +
        +
      • +

        getMapperClass

        +
        public static <T> Class<? extends T> getMapperClass​(Class<T> clazz)
        +
        Returns the class of the implementation for the given mapper type.
        +
        +
        Type Parameters:
        +
        T - The type of the mapper to create.
        +
        Parameters:
        +
        clazz - The type of the mapper to return.
        +
        Returns:
        +
        A class of the implementation for the given mapper type.
        +
        Since:
        +
        1.3
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/factory/class-use/Mappers.html b/static/documentation/1.6/api/org/mapstruct/factory/class-use/Mappers.html new file mode 100644 index 000000000..1e97bdfc2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/factory/class-use/Mappers.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.mapstruct.factory.Mappers (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.factory.Mappers

+
+
No usage of org.mapstruct.factory.Mappers
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/factory/package-summary.html b/static/documentation/1.6/api/org/mapstruct/factory/package-summary.html new file mode 100644 index 000000000..db9faaaef --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/factory/package-summary.html @@ -0,0 +1,180 @@ + + + + + +org.mapstruct.factory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.factory

+
+
+
+ + +

+ Provides the Mappers factory class for the retrieval of mapper instances if no + explicit component model such as CDI is configured via Mapper.componentModel(). +

+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    Mappers +
    Factory for obtaining mapper instances if no explicit component model such as CDI is configured via + Mapper.componentModel().
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/factory/package-tree.html b/static/documentation/1.6/api/org/mapstruct/factory/package-tree.html new file mode 100644 index 000000000..e4de747f2 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/factory/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.mapstruct.factory Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.factory

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/factory/package-use.html b/static/documentation/1.6/api/org/mapstruct/factory/package-use.html new file mode 100644 index 000000000..f262f3e03 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/factory/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.mapstruct.factory (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.factory

+
+
No usage of org.mapstruct.factory
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/package-summary.html b/static/documentation/1.6/api/org/mapstruct/package-summary.html new file mode 100644 index 000000000..019fff919 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/package-summary.html @@ -0,0 +1,449 @@ + + + + + +org.mapstruct (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct

+
+
+
+ + +

+ MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach. The generated code uses plain + method invocations and thus is fast and type-safe. +

+

+ This package contains several annotations which allow to configure how mapper interfaces are generated. +

+
+
See Also:
+
MapStruct reference documentation
+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    MappingConstants +
    Contains all constants defined in the mapping process.
    +
    MappingConstants.ComponentModel +
    Specifies the component model constants to which the generated mapper should adhere.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    CollectionMappingStrategy +
    Strategy for propagating the value of collection-typed properties from source to target.
    +
    InjectionStrategy +
    Strategy for handling injection.
    +
    MappingInheritanceStrategy +
    Strategy for inheriting configurations given for methods of prototype mapping methods (declared on mapper config + classes) to actual mapping methods declared on mappers referring to such config class via Mapper.config().
    +
    NullValueCheckStrategy +
    Strategy for dealing with null source values.
    +
    NullValueMappingStrategy +
    Strategy for dealing with null values passed to mapping methods.
    +
    NullValuePropertyMappingStrategy +
    Strategy for dealing with null or not present properties in the source bean.
    +
    ReportingPolicy +
    Policy for reporting issues occurring during the generation of a mapper + implementation.
    +
    SubclassExhaustiveStrategy +
    Strategy for dealing with subclassMapping annotated methods.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Annotation Types Summary 
    Annotation TypeDescription
    AfterMapping +
    Marks a method to be invoked at the end of a generated mapping method, right before the last return statement + of the mapping method.
    +
    AnnotateWith +
    This can be used to have mapstruct generate additional annotations on classes/methods.
    +
    AnnotateWith.Element +
    Used in combination with AnnotateWith to configure the annotation elements.
    +
    AnnotateWiths +
    This can be used to have mapstruct generate additional annotations on classes/methods.
    +
    BeanMapping +
    Configures the mapping between two bean types.
    +
    BeforeMapping +
    Marks a method to be invoked at the beginning of a generated mapping method.
    +
    Builder +
    Configuration of builders, e.g. the name of the final build method.
    +
    Condition +
    This annotation marks a method as a presence check method to check check for presence in beans.
    +
    Context +
    Marks a parameter of a method to be treated as mapping context.
    +
    DecoratedWith +
    Specifies a decorator to be applied to a generated mapper, which e.g. can be used to amend mappings performed by + generated mapping methods.
    +
    EnumMapping +
    Configured the mapping between two value types.
    +
    InheritConfiguration +
    Advises the code generator to apply the configuration (as given via Mapping, IterableMapping etc.)
    +
    InheritInverseConfiguration +
    Advises the code generator to apply all the Mappings from an inverse mapping method to the annotated method + as well.
    +
    IterableMapping +
    Configures the mapping between two iterable like types, e.g.
    +
    Javadoc +
    Allows the definition of Javadoc comments in the MapStruct Mapper generated class.
    +
    MapMapping +
    Configures the mapping between two map types, e.g.
    +
    Mapper +
    Marks an interface or abstract class as a mapper and activates the generation of a implementation of that type via + MapStruct.
    +
    MapperConfig +
    Marks a class or interface as configuration source for generated mappers.
    +
    Mapping +
    Configures the mapping of one bean attribute or enum constant.
    +
    Mappings +
    Configures the mappings of several bean attributes.
    +
    MappingTarget +
    Declares a parameter of a mapping method to be the target of the mapping.
    +
    Named +
    Marks mapping methods with the given qualifier name.
    +
    ObjectFactory +
    This annotation marks a method as a factory method to create beans.
    +
    Qualifier +
    Declares an annotation type to be a qualifier.
    +
    SubclassMapping +
    Configures the mapping to handle hierarchy of the source type.
    +
    SubclassMappings +
    Configures the SubclassMappings of several subclasses.
    +
    TargetPropertyName +
    This annotation marks a presence check method parameter as a property name parameter.
    +
    TargetType +
    Declares a parameter of a custom mapping method to be populated with the target type of the mapping.
    +
    ValueMapping +
    Configures the mapping of source constant value to target constant value.
    +
    ValueMappings +
    Constructs a set of value (constant) mappings.
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/package-tree.html b/static/documentation/1.6/api/org/mapstruct/package-tree.html new file mode 100644 index 000000000..78cdf9766 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/package-tree.html @@ -0,0 +1,222 @@ + + + + + +org.mapstruct Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Annotation Type Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/package-use.html b/static/documentation/1.6/api/org/mapstruct/package-use.html new file mode 100644 index 000000000..f09bd4b81 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/package-use.html @@ -0,0 +1,277 @@ + + + + + +Uses of Package org.mapstruct (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use org.mapstruct 
    PackageDescription
    org.mapstruct +
    + MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating + mapping code at compile time, following a convention-over-configuration approach.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in org.mapstruct used by org.mapstruct 
    ClassDescription
    AnnotateWith +
    This can be used to have mapstruct generate additional annotations on classes/methods.
    +
    AnnotateWith.Element +
    Used in combination with AnnotateWith to configure the annotation elements.
    +
    Builder +
    Configuration of builders, e.g. the name of the final build method.
    +
    CollectionMappingStrategy +
    Strategy for propagating the value of collection-typed properties from source to target.
    +
    InjectionStrategy +
    Strategy for handling injection.
    +
    Mapping +
    Configures the mapping of one bean attribute or enum constant.
    +
    MappingInheritanceStrategy +
    Strategy for inheriting configurations given for methods of prototype mapping methods (declared on mapper config + classes) to actual mapping methods declared on mappers referring to such config class via Mapper.config().
    +
    NullValueCheckStrategy +
    Strategy for dealing with null source values.
    +
    NullValueMappingStrategy +
    Strategy for dealing with null values passed to mapping methods.
    +
    NullValuePropertyMappingStrategy +
    Strategy for dealing with null or not present properties in the source bean.
    +
    Qualifier +
    Declares an annotation type to be a qualifier.
    +
    ReportingPolicy +
    Policy for reporting issues occurring during the generation of a mapper + implementation.
    +
    SubclassExhaustiveStrategy +
    Strategy for dealing with subclassMapping annotated methods.
    +
    SubclassMapping +
    Configures the mapping to handle hierarchy of the source type.
    +
    ValueMapping +
    Configures the mapping of source constant value to target constant value.
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/util/Experimental.html b/static/documentation/1.6/api/org/mapstruct/util/Experimental.html new file mode 100644 index 000000000..fa96080ed --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/util/Experimental.html @@ -0,0 +1,255 @@ + + + + + +Experimental (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type Experimental

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(SOURCE)
    +public @interface Experimental
    +
    Features that are marked with this annotation are considered experimental.
    +
    +
    Author:
    +
    Andreas Gudian
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      Stringvalue 
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        String value
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/util/class-use/Experimental.html b/static/documentation/1.6/api/org/mapstruct/util/class-use/Experimental.html new file mode 100644 index 000000000..69f5b112c --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/util/class-use/Experimental.html @@ -0,0 +1,325 @@ + + + + + +Uses of Class org.mapstruct.util.Experimental (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.mapstruct.util.Experimental

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/util/package-summary.html b/static/documentation/1.6/api/org/mapstruct/util/package-summary.html new file mode 100644 index 000000000..c303e4ad6 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/util/package-summary.html @@ -0,0 +1,171 @@ + + + + + +org.mapstruct.util (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.mapstruct.util

+
+
+
    +
  • + + + + + + + + + + + + +
    Annotation Types Summary 
    Annotation TypeDescription
    Experimental +
    Features that are marked with this annotation are considered experimental.
    +
    +
  • +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/util/package-tree.html b/static/documentation/1.6/api/org/mapstruct/util/package-tree.html new file mode 100644 index 000000000..b2f6b4f53 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/util/package-tree.html @@ -0,0 +1,161 @@ + + + + + +org.mapstruct.util Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.mapstruct.util

+Package Hierarchies: + +
+
+
+

Annotation Type Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/org/mapstruct/util/package-use.html b/static/documentation/1.6/api/org/mapstruct/util/package-use.html new file mode 100644 index 000000000..336b44849 --- /dev/null +++ b/static/documentation/1.6/api/org/mapstruct/util/package-use.html @@ -0,0 +1,240 @@ + + + + + +Uses of Package org.mapstruct.util (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.mapstruct.util

+
+
+ +
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/overview-summary.html b/static/documentation/1.6/api/overview-summary.html new file mode 100644 index 000000000..54037b4cd --- /dev/null +++ b/static/documentation/1.6/api/overview-summary.html @@ -0,0 +1,23 @@ + + + + + +MapStruct 1.6.0.Beta1 + + + + + + + +
+ +

index.html

+
+ + diff --git a/static/documentation/1.6/api/overview-tree.html b/static/documentation/1.6/api/overview-tree.html new file mode 100644 index 000000000..76c2f19fa --- /dev/null +++ b/static/documentation/1.6/api/overview-tree.html @@ -0,0 +1,712 @@ + + + + + +Class Hierarchy (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +

+
+ + diff --git a/static/documentation/1.6/api/package-search-index.js b/static/documentation/1.6/api/package-search-index.js new file mode 100644 index 000000000..6731884e9 --- /dev/null +++ b/static/documentation/1.6/api/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"org.mapstruct"},{"l":"org.mapstruct.ap"},{"l":"org.mapstruct.ap.internal.conversion"},{"l":"org.mapstruct.ap.internal.model"},{"l":"org.mapstruct.ap.internal.model.annotation"},{"l":"org.mapstruct.ap.internal.model.assignment"},{"l":"org.mapstruct.ap.internal.model.beanmapping"},{"l":"org.mapstruct.ap.internal.model.common"},{"l":"org.mapstruct.ap.internal.model.dependency"},{"l":"org.mapstruct.ap.internal.model.presence"},{"l":"org.mapstruct.ap.internal.model.source"},{"l":"org.mapstruct.ap.internal.model.source.builtin"},{"l":"org.mapstruct.ap.internal.model.source.selector"},{"l":"org.mapstruct.ap.internal.option"},{"l":"org.mapstruct.ap.internal.processor"},{"l":"org.mapstruct.ap.internal.processor.creation"},{"l":"org.mapstruct.ap.internal.util"},{"l":"org.mapstruct.ap.internal.util.accessor"},{"l":"org.mapstruct.ap.internal.version"},{"l":"org.mapstruct.ap.internal.writer"},{"l":"org.mapstruct.ap.spi"},{"l":"org.mapstruct.ap.spi.util"},{"l":"org.mapstruct.control"},{"l":"org.mapstruct.factory"},{"l":"org.mapstruct.util"}] \ No newline at end of file diff --git a/static/documentation/1.6/api/package-search-index.zip b/static/documentation/1.6/api/package-search-index.zip new file mode 100644 index 000000000..570441309 Binary files /dev/null and b/static/documentation/1.6/api/package-search-index.zip differ diff --git a/static/documentation/1.6/api/resources/glass.png b/static/documentation/1.6/api/resources/glass.png new file mode 100644 index 000000000..a7f591f46 Binary files /dev/null and b/static/documentation/1.6/api/resources/glass.png differ diff --git a/static/documentation/1.6/api/resources/x.png b/static/documentation/1.6/api/resources/x.png new file mode 100644 index 000000000..30548a756 Binary files /dev/null and b/static/documentation/1.6/api/resources/x.png differ diff --git a/static/documentation/1.6/api/script.js b/static/documentation/1.6/api/script.js new file mode 100644 index 000000000..7dc93c48e --- /dev/null +++ b/static/documentation/1.6/api/script.js @@ -0,0 +1,149 @@ +/* + * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); + if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || + window.navigator.userAgent.indexOf('Edge/') > 0) { + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); + } + createElem(doc, tag, 'search.js'); + + $.get(pathtoroot + "module-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("module-search-index.json").async("text").then(function(content){ + moduleSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "package-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("package-search-index.json").async("text").then(function(content){ + packageSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "type-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("type-search-index.json").async("text").then(function(content){ + typeSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "member-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("member-search-index.json").async("text").then(function(content){ + memberSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "tag-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("tag-search-index.json").async("text").then(function(content){ + tagSearchIndex = JSON.parse(content); + }); + }); + }); + }); + if (!moduleSearchIndex) { + createElem(doc, tag, 'module-search-index.js'); + } + if (!packageSearchIndex) { + createElem(doc, tag, 'package-search-index.js'); + } + if (!typeSearchIndex) { + createElem(doc, tag, 'type-search-index.js'); + } + if (!memberSearchIndex) { + createElem(doc, tag, 'member-search-index.js'); + } + if (!tagSearchIndex) { + createElem(doc, tag, 'tag-search-index.js'); + } + $(window).resize(function() { + $('.navPadding').css('padding-top', $('.fixedNav').css("height")); + }); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(type) { + count = 0; + for (var key in data) { + var row = document.getElementById(key); + if ((data[key] & type) !== 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) { + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} + +function updateModuleFrame(pFrame, cFrame) { + top.packageFrame.location = pFrame; + top.classFrame.location = cFrame; +} diff --git a/static/documentation/1.6/api/search.js b/static/documentation/1.6/api/search.js new file mode 100644 index 000000000..8492271e7 --- /dev/null +++ b/static/documentation/1.6/api/search.js @@ -0,0 +1,326 @@ +/* + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var noResult = {l: "No results found"}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Types"; +var catMembers = "Members"; +var catSearchTags = "SearchTags"; +var highlight = "$&"; +var camelCaseRegexp = ""; +var secondaryMatcher = ""; +function getHighlightedText(item) { + var ccMatcher = new RegExp(camelCaseRegexp); + var label = item.replace(ccMatcher, highlight); + if (label === item) { + label = item.replace(secondaryMatcher, highlight); + } + return label; +} +function getURLPrefix(ui) { + var urlPrefix=""; + if (useModuleDirectories) { + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { + $.each(packageSearchIndex, function(index, item) { + if (item.m && ui.item.p == item.l) { + urlPrefix = item.m + slash; + } + }); + return urlPrefix; + } else { + return urlPrefix; + } + } + return urlPrefix; +} +var watermark = 'Search'; +$(function() { + $("#search").val(''); + $("#search").prop("disabled", false); + $("#reset").prop("disabled", false); + $("#search").val(watermark).addClass('watermark'); + $("#search").blur(function() { + if ($(this).val().length == 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + $("#search").on('click keydown', function() { + if ($(this).val() == watermark) { + $(this).val('').removeClass('watermark'); + } + }); + $("#reset").click(function() { + $("#search").val(''); + $("#search").focus(); + }); + $("#search").focus(); + $("#search")[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this, + currentCategory = ""; + rMenu.menu.bindings = $(); + $.each(items, function(index, item) { + var li; + if (item.l !== noResult.l && item.category !== currentCategory) { + ul.append("
  • " + item.category + "
  • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "resultItem"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "resultItem"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + if (item.category === catModules) { + label = getHighlightedText(item.l); + } else if (item.category === catPackages) { + label = (item.m) + ? getHighlightedText(item.m + "/" + item.l) + : getHighlightedText(item.l); + } else if (item.category === catTypes) { + label = (item.p) + ? getHighlightedText(item.p + "." + item.l) + : getHighlightedText(item.l); + } else if (item.category === catMembers) { + label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l); + } else { + label = item.l; + } + var li = $("
  • ").appendTo(ul); + var div = $("
    ").appendTo(li); + if (item.category === catSearchTags) { + if (item.d) { + div.html(label + " (" + item.h + ")
    " + + item.d + "
    "); + } else { + div.html(label + " (" + item.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + $("#search").catcomplete({ + minLength: 1, + delay: 100, + source: function(request, response) { + var result = new Array(); + var presult = new Array(); + var tresult = new Array(); + var mresult = new Array(); + var tgresult = new Array(); + var secondaryresult = new Array(); + var displayCount = 0; + var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); + camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); + var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); + secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); + + // Return the nested innermost name from the specified object + function nestedName(e) { + return e.l.substring(e.l.lastIndexOf(".") + 1); + } + + function concatResults(a1, a2) { + a1 = a1.concat(a2); + a2.length = 0; + return a1; + } + + if (moduleSearchIndex) { + var mdleCount = 0; + $.each(moduleSearchIndex, function(index, item) { + item.category = catModules; + if (exactMatcher.test(item.l)) { + result.push(item); + mdleCount++; + } else if (camelCaseMatcher.test(item.l)) { + result.push(item); + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + displayCount = mdleCount; + result = concatResults(result, secondaryresult); + } + if (packageSearchIndex) { + var pCount = 0; + var pkg = ""; + $.each(packageSearchIndex, function(index, item) { + item.category = catPackages; + pkg = (item.m) + ? (item.m + "/" + item.l) + : item.l; + if (exactMatcher.test(item.l)) { + presult.push(item); + pCount++; + } else if (camelCaseMatcher.test(pkg)) { + presult.push(item); + } else if (secondaryMatcher.test(pkg)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(presult, secondaryresult)); + displayCount = (pCount > displayCount) ? pCount : displayCount; + } + if (typeSearchIndex) { + var tCount = 0; + $.each(typeSearchIndex, function(index, item) { + item.category = catTypes; + var s = nestedName(item); + if (exactMatcher.test(s)) { + tresult.push(item); + tCount++; + } else if (camelCaseMatcher.test(s)) { + tresult.push(item); + } else if (secondaryMatcher.test(item.p + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tresult, secondaryresult)); + displayCount = (tCount > displayCount) ? tCount : displayCount; + } + if (memberSearchIndex) { + var mCount = 0; + $.each(memberSearchIndex, function(index, item) { + item.category = catMembers; + var s = nestedName(item); + if (exactMatcher.test(s)) { + mresult.push(item); + mCount++; + } else if (camelCaseMatcher.test(s)) { + mresult.push(item); + } else if (secondaryMatcher.test(item.c + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(mresult, secondaryresult)); + displayCount = (mCount > displayCount) ? mCount : displayCount; + } + if (tagSearchIndex) { + var tgCount = 0; + $.each(tagSearchIndex, function(index, item) { + item.category = catSearchTags; + if (exactMatcher.test(item.l)) { + tgresult.push(item); + tgCount++; + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tgresult, secondaryresult)); + displayCount = (tgCount > displayCount) ? tgCount : displayCount; + } + displayCount = (displayCount > 500) ? displayCount : 500; + var counter = function() { + var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; + var f = function(item) { + count[item.category] += 1; + return (count[item.category] <= displayCount); + }; + return f; + }(); + response(result.filter(counter)); + }, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search").empty(); + } + }, + autoFocus: true, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.l !== noResult.l) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + if (useModuleDirectories) { + url += "module-summary.html"; + } else { + url = ui.item.l + "-summary.html"; + } + } else if (ui.item.category === catPackages) { + if (ui.item.url) { + url = ui.item.url; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.url) { + url = ui.item.url; + } else if (ui.item.p === "") { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === "") { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.url) { + url += ui.item.url; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + $("#search").focus(); + } + } + }); +}); diff --git a/static/documentation/1.6/api/serialized-form.html b/static/documentation/1.6/api/serialized-form.html new file mode 100644 index 000000000..473a19b13 --- /dev/null +++ b/static/documentation/1.6/api/serialized-form.html @@ -0,0 +1,235 @@ + + + + + +Serialized Form (MapStruct 1.6.0.Beta1) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Serialized Form

    +
    +
    + +
    +
    +
    + +

    +
    + + diff --git a/static/documentation/1.6/api/stylesheet.css b/static/documentation/1.6/api/stylesheet.css new file mode 100644 index 000000000..de945eda2 --- /dev/null +++ b/static/documentation/1.6/api/stylesheet.css @@ -0,0 +1,910 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +a[name]:before, a[name]:target, a[id]:before, a[id]:target { + content:""; + display:inline-block; + position:relative; + padding-top:129px; + margin-top:-129px; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} + +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* + * Styles for navigation bar. + */ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.navPadding { + padding-top: 107px; +} +.fixedNav { + position:fixed; + width:100%; + z-index:999; + background-color:#ffffff; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch { + float:right; + margin:0 0 0 0; + padding:0; +} +ul.navListSearch li { + list-style:none; + float:right; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch li label { + position:relative; + right:-16px; +} +ul.subNavList li { + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Styles for page header and footer. + */ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexNav { + position:relative; + font-size:12px; + background-color:#dee3e9; +} +.indexNav ul { + margin-top:0; + padding:5px; +} +.indexNav ul li { + display:inline; + list-style-type:none; + padding-right:10px; + text-transform:uppercase; +} +.indexNav h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* + * Styles for page layout containers. + */ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, +.allClassesContainer, .allPackagesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* + * Styles for tables. + */ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, +.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, +.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.constantsSummary caption a:link, .constantsSummary caption a:visited, +.useSummary caption a:link, .useSummary caption a:visited { + color:#1f389c; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.deprecatedSummary caption a:link, +.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, +.usesSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, +.usesSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, +.usesSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.deprecatedSummary caption a:visited, +.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, +.usesSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, +.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, +.usesSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, +.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, +.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, +.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, +.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, +.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, +.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, +.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, +.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; +} +.rowColor th, .altColor th { + font-weight:normal; +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td, +.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, +.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, +.constantsSummary td { + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, +.packagesSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + font-size:13px; +} +td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { + font-size:13px; +} +.constantsSummary th, .packagesSummary th { + font-size:13px; +} +.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, +.providesSummary td.colLast { + white-space:normal; + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.requiresSummary td.colFirst, .requiresSummary th.colFirst, +.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, +.usesSummary td.colFirst, .usesSummary th.colFirst, +.providesSummary td.colFirst, .providesSummary th.colFirst, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, +.typeSummary td.colFirst, .typeSummary th.colFirst { + vertical-align:top; +} +.packagesSummary th.colLast, .packagesSummary td.colLast { + white-space:normal; +} +td.colFirst a:link, td.colFirst a:visited, +td.colSecond a:link, td.colSecond a:visited, +th.colFirst a:link, th.colFirst a:visited, +th.colSecond a:link, th.colSecond a:visited, +th.colConstructorName a:link, th.colConstructorName a:visited, +th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, +.constantValuesContainer td a:link, .constantValuesContainer td a:visited, +.allClassesContainer td a:link, .allClassesContainer td a:visited, +.allPackagesContainer td a:link, .allPackagesContainer td a:visited { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor, .altColor th { + background-color:#FFFFFF; +} +.rowColor, .rowColor th { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +td.colLast div { + padding-top:0px; +} +td.colLast a { + padding-bottom:3px; +} +/* + * Styles for formatting effect. + */ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, +.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, +.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, +.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} +.deprecationBlock { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} +div.contentContainer ul.blockList li.blockList h2 { + padding-bottom:0px; +} +/* + * Styles for IFRAME. + */ +.mainContainer { + margin:0 auto; + padding:0; + height:100%; + width:100%; + position:fixed; + top:0; + left:0; +} +.leftContainer { + height:100%; + position:fixed; + width:320px; +} +.leftTop { + position:relative; + float:left; + width:315px; + top:0; + left:0; + height:30%; + border-right:6px solid #ccc; + border-bottom:6px solid #ccc; +} +.leftBottom { + position:relative; + float:left; + width:315px; + bottom:0; + left:0; + height:70%; + border-right:6px solid #ccc; + border-top:1px solid #000; +} +.rightContainer { + position:absolute; + left:320px; + top:0; + bottom:0; + height:100%; + right:0; + border-left:1px solid #000; +} +.rightIframe { + margin:0; + padding:0; + height:100%; + right:30px; + width:100%; + overflow:visible; + margin-bottom:30px; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.resultItem { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; + background-color: #FFFFFF; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.resultHighlight { + font-weight:bold; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +#search { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; +} +#reset { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:17px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.searchTagDescResult { + font-style:italic; + font-size:11px; +} +.searchTagHolderResult { + font-style:italic; + font-size:12px; +} +.searchTagResult:before, .searchTagResult:target { + color:red; +} +.moduleGraph span { + display:none; + position:absolute; +} +.moduleGraph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.methodSignature { + white-space:normal; +} + +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} diff --git a/static/documentation/1.6/api/type-search-index.js b/static/documentation/1.6/api/type-search-index.js new file mode 100644 index 000000000..cc8f78192 --- /dev/null +++ b/static/documentation/1.6/api/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"p":"org.mapstruct.ap.internal.util","l":"AbstractElementUtilsDecorator"},{"p":"org.mapstruct.ap.internal.conversion","l":"AbstractJavaTimeToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"AbstractJodaTypeToStringConversion"},{"p":"org.mapstruct.ap.internal.model","l":"AbstractMappingMethodBuilder"},{"p":"org.mapstruct.ap.internal.conversion","l":"AbstractNumberToStringConversion"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"AbstractReference"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"AbstractToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.util","l":"AbstractTypeUtilsDecorator"},{"p":"org.mapstruct.ap.internal.model.common","l":"Accessibility"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"Accessor"},{"p":"org.mapstruct.ap.spi","l":"AccessorNamingStrategy"},{"p":"org.mapstruct.ap.internal.util","l":"AccessorNamingUtils"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"AccessorType"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"AdderWrapper"},{"p":"org.mapstruct.ap.internal.model","l":"AdditionalAnnotationsBuilder"},{"p":"org.mapstruct.ap.spi","l":"AdditionalSupportedOptionsProvider"},{"p":"org.mapstruct","l":"AfterMapping"},{"l":"All Classes","url":"allclasses-index.html"},{"p":"org.mapstruct.ap.internal.model.presence","l":"AllPresenceChecksPresenceCheck"},{"p":"org.mapstruct.ap.internal.model","l":"AnnotatedConstructor"},{"p":"org.mapstruct.ap.internal.model","l":"AnnotatedSetter"},{"p":"org.mapstruct","l":"AnnotateWith"},{"p":"org.mapstruct","l":"AnnotateWiths"},{"p":"org.mapstruct.ap.internal.model","l":"Annotation"},{"p":"org.mapstruct.ap.internal.processor","l":"AnnotationBasedComponentModelProcessor"},{"p":"org.mapstruct.ap.internal.model.annotation","l":"AnnotationElement"},{"p":"org.mapstruct.ap.internal.model.annotation","l":"AnnotationElement.AnnotationElementType"},{"p":"org.mapstruct.ap.internal.model","l":"AnnotationMapperReference"},{"p":"org.mapstruct.ap.internal.util","l":"AnnotationProcessingException"},{"p":"org.mapstruct.ap.internal.util","l":"AnnotationProcessorContext"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"ArrayCopyWrapper"},{"p":"org.mapstruct.ap.internal.model.common","l":"Assignment"},{"p":"org.mapstruct.ap.internal.model.common","l":"Assignment.AssignmentType"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"AssignmentWrapper"},{"p":"org.mapstruct.ap.spi","l":"AstModifyingAnnotationProcessor"},{"p":"org.mapstruct","l":"BeanMapping"},{"p":"org.mapstruct.ap.internal.model","l":"BeanMappingMethod"},{"p":"org.mapstruct.ap.internal.model.source","l":"BeanMappingOptions"},{"p":"org.mapstruct","l":"BeforeMapping"},{"p":"org.mapstruct.ap.internal.conversion","l":"BigDecimalToBigIntegerConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"BigDecimalToPrimitiveConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"BigDecimalToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"BigDecimalToWrapperConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"BigIntegerToPrimitiveConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"BigIntegerToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"BigIntegerToWrapperConversion"},{"p":"org.mapstruct","l":"Builder"},{"p":"org.mapstruct.ap.internal.model","l":"BeanMappingMethod.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"Decorator.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"IterableMappingMethod.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"Javadoc.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"MapMappingMethod.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"Mapper.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"NestedPropertyMappingMethod.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"NestedTargetPropertyMappingHolder.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"StreamMappingMethod.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"ValueMappingMethod.Builder"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"TargetReference.Builder"},{"p":"org.mapstruct.ap.internal.model.source","l":"ParameterProvidedMethods.Builder"},{"p":"org.mapstruct.ap.internal.model.source","l":"SourceMethod.Builder"},{"p":"org.mapstruct.ap.spi","l":"BuilderInfo.Builder"},{"p":"org.mapstruct.ap.internal.model","l":"BuilderFinisherMethodResolver"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"SourceReference.BuilderFromMapping"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"SourceReference.BuilderFromProperty"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"SourceReference.BuilderFromSourceReference"},{"p":"org.mapstruct.ap.spi","l":"BuilderInfo"},{"p":"org.mapstruct.ap.spi","l":"BuilderProvider"},{"p":"org.mapstruct.ap.internal.model.common","l":"BuilderType"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"BuiltInMappingMethods"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"BuiltInMethod"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"CalendarToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"CalendarToZonedDateTime"},{"p":"org.mapstruct.ap.spi","l":"CaseEnumTransformationStrategy"},{"p":"org.mapstruct.ap.internal.processor","l":"CdiComponentProcessor"},{"p":"org.mapstruct.ap.internal.conversion","l":"CharToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"CharWrapperToStringConversion"},{"p":"org.mapstruct.ap.internal.model","l":"CollectionAssignmentBuilder"},{"p":"org.mapstruct","l":"CollectionMappingStrategy"},{"p":"org.mapstruct.ap.internal.util","l":"Collections"},{"p":"org.mapstruct","l":"MappingConstants.ComponentModel"},{"p":"org.mapstruct","l":"Condition"},{"p":"org.mapstruct.ap.internal.model","l":"PropertyMapping.ConstantMappingBuilder"},{"p":"org.mapstruct.ap.internal.model","l":"Constructor"},{"p":"org.mapstruct.ap.internal.model.common","l":"ConstructorFragment"},{"p":"org.mapstruct.ap.internal.model","l":"ContainerMappingMethod"},{"p":"org.mapstruct.ap.internal.model","l":"ContainerMappingMethodBuilder"},{"p":"org.mapstruct","l":"Context"},{"p":"org.mapstruct.ap.internal.writer","l":"Writable.Context"},{"p":"org.mapstruct.ap.internal.model.common","l":"ConversionContext"},{"p":"org.mapstruct.ap.internal.conversion","l":"ConversionProvider"},{"p":"org.mapstruct.ap.internal.conversion","l":"Conversions"},{"p":"org.mapstruct.ap.internal.conversion","l":"ConversionUtils"},{"p":"org.mapstruct.ap.internal.conversion","l":"CreateDecimalFormat"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"CreateOrUpdateSelector"},{"p":"org.mapstruct.ap.internal.conversion","l":"CurrencyToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"DateToSqlDateConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"DateToSqlTimeConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"DateToSqlTimestampConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"DateToStringConversion"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"DateToXmlGregorianCalendar"},{"p":"org.mapstruct","l":"DecoratedWith"},{"p":"org.mapstruct.ap.internal.model","l":"Decorator"},{"p":"org.mapstruct.ap.internal.model","l":"DecoratorConstructor"},{"p":"org.mapstruct.control","l":"DeepClone"},{"p":"org.mapstruct.ap.spi","l":"DefaultAccessorNamingStrategy"},{"p":"org.mapstruct.ap.spi","l":"DefaultBuilderProvider"},{"p":"org.mapstruct.ap.internal.model.common","l":"DefaultConversionContext"},{"p":"org.mapstruct.ap.spi","l":"DefaultEnumMappingStrategy"},{"p":"org.mapstruct.ap.internal.model","l":"DefaultMapperReference"},{"p":"org.mapstruct.ap.internal.processor","l":"DefaultModelElementProcessorContext"},{"p":"org.mapstruct.ap.internal.model.source","l":"DefaultOptions"},{"p":"org.mapstruct.ap.internal.processor","l":"DefaultVersionInformation"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"DelegateAccessor"},{"p":"org.mapstruct.ap.internal.model","l":"DelegatingMethod"},{"p":"org.mapstruct.ap.internal.model.source","l":"DelegatingOptions"},{"p":"org.mapstruct.ap.internal.util","l":"EclipseElementUtilsDecorator"},{"p":"org.mapstruct.ap.internal.util","l":"EclipseTypeUtilsDecorator"},{"p":"org.mapstruct","l":"AnnotateWith.Element"},{"p":"org.mapstruct.ap.internal.util","l":"ElementUtils"},{"p":"org.mapstruct.ap.internal.model.annotation","l":"EnumAnnotationElementHolder"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"EnumConstantWrapper"},{"p":"org.mapstruct","l":"EnumMapping"},{"p":"org.mapstruct.ap.internal.model.source","l":"EnumMappingOptions"},{"p":"org.mapstruct.ap.spi","l":"EnumMappingStrategy"},{"p":"org.mapstruct.ap.internal.conversion","l":"EnumStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"EnumToIntegerConversion"},{"p":"org.mapstruct.ap.spi","l":"EnumTransformationStrategy"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"ExecutableElementAccessor"},{"p":"org.mapstruct.ap.internal.util","l":"Executables"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"ExistingInstanceSetterWrapperForCollectionsAndMaps"},{"p":"org.mapstruct.util","l":"Experimental"},{"p":"org.mapstruct.ap.internal.util","l":"Extractor"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"FactoryParameterSelector"},{"p":"org.mapstruct.ap.internal.model","l":"Field"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"FieldElementAccessor"},{"p":"org.mapstruct.ap.internal.model.common","l":"FieldReference"},{"p":"org.mapstruct.ap.internal.util","l":"Fields"},{"p":"org.mapstruct.ap.internal.util","l":"Filters"},{"p":"org.mapstruct.ap.internal.model.common","l":"FinalField"},{"p":"org.mapstruct.ap.internal.model","l":"ForgedMethod"},{"p":"org.mapstruct.ap.internal.model","l":"ForgedMethodHistory"},{"p":"org.mapstruct.ap.internal.util","l":"FormattingMessager"},{"p":"org.mapstruct.ap.internal.model.common","l":"FormattingParameters"},{"p":"org.mapstruct.ap.spi","l":"FreeBuilderAccessorNamingStrategy"},{"p":"org.mapstruct.ap.internal.util","l":"FreeBuilderConstants"},{"p":"org.mapstruct.ap.internal.writer","l":"FreeMarkerModelElementWriter"},{"p":"org.mapstruct.ap.internal.writer","l":"FreeMarkerWritable"},{"p":"org.mapstruct.ap.internal.model","l":"GeneratedType"},{"p":"org.mapstruct.ap.internal.model","l":"GeneratedType.GeneratedTypeBuilder"},{"p":"org.mapstruct.ap.internal.model","l":"GeneratedTypeMethod"},{"p":"org.mapstruct.ap.internal.conversion","l":"GetDateTimeFormatterField"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"GetterWrapperForCollectionsAndMaps"},{"p":"org.mapstruct.ap.internal.model.dependency","l":"GraphAnalyzer"},{"p":"org.mapstruct.ap.internal.model.dependency","l":"GraphAnalyzer.GraphAnalyzerBuilder"},{"p":"org.mapstruct.ap.internal.model","l":"HelperMethod"},{"p":"org.mapstruct.ap.internal.util","l":"IgnoreJRERequirement"},{"p":"org.mapstruct.ap.spi","l":"ImmutablesAccessorNamingStrategy"},{"p":"org.mapstruct.ap.spi","l":"ImmutablesBuilderProvider"},{"p":"org.mapstruct.ap.internal.util","l":"ImmutablesConstants"},{"p":"org.mapstruct.ap.internal.model.common","l":"ImplementationType"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"InheritanceSelector"},{"p":"org.mapstruct","l":"InheritConfiguration"},{"p":"org.mapstruct.ap.internal.model.source","l":"MappingOptions.InheritContext"},{"p":"org.mapstruct","l":"InheritInverseConfiguration"},{"p":"org.mapstruct","l":"InjectionStrategy"},{"p":"org.mapstruct.ap.spi.util","l":"IntrospectorUtils"},{"p":"org.mapstruct.ap.internal.model","l":"IterableCreation"},{"p":"org.mapstruct","l":"IterableMapping"},{"p":"org.mapstruct.ap.internal.model","l":"IterableMappingMethod"},{"p":"org.mapstruct.ap.internal.model.source","l":"IterableMappingOptions"},{"p":"org.mapstruct.ap.internal.processor","l":"JakartaCdiComponentProcessor"},{"p":"org.mapstruct.ap.internal.processor","l":"JakartaComponentProcessor"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"Java8FunctionWrapper"},{"p":"org.mapstruct.ap.internal.util","l":"JavacElementUtilsDecorator"},{"p":"org.mapstruct.ap.internal.util","l":"JavacTypeUtilsDecorator"},{"p":"org.mapstruct","l":"Javadoc"},{"p":"org.mapstruct.ap.internal.model","l":"Javadoc"},{"p":"org.mapstruct.ap.internal.model","l":"PropertyMapping.JavaExpressionMappingBuilder"},{"p":"org.mapstruct.ap.internal.model.presence","l":"JavaExpressionPresenceCheck"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaInstantToDateConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaLocalDateTimeToDateConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaLocalDateTimeToLocalDateConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaLocalDateTimeToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaLocalDateToDateConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaLocalDateToSqlDateConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaLocalDateToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaLocalTimeToStringConversion"},{"p":"org.mapstruct.ap.internal.util","l":"JavaStreamConstants"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaZonedDateTimeToDateConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JavaZonedDateTimeToStringConversion"},{"p":"org.mapstruct.ap.internal.util","l":"JaxbConstants"},{"p":"org.mapstruct.ap.internal.conversion","l":"JodaDateTimeToCalendarConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"JodaDateTimeToStringConversion"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"JodaDateTimeToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.conversion","l":"JodaLocalDateTimeToStringConversion"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"JodaLocalDateTimeToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.conversion","l":"JodaLocalDateToStringConversion"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"JodaLocalDateToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.conversion","l":"JodaLocalTimeToStringConversion"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"JodaLocalTimeToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.util","l":"JodaTimeConstants"},{"p":"org.mapstruct.ap.internal.conversion","l":"JodaTimeToDateConversion"},{"p":"org.mapstruct.ap.internal.processor","l":"Jsr330ComponentProcessor"},{"p":"org.mapstruct.ap.internal.model","l":"LifecycleCallbackMethodReference"},{"p":"org.mapstruct.ap.internal.model","l":"LifecycleMethodResolver"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"LocalDateTimeToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"LocalDateToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.internal.conversion","l":"LocaleToStringConversion"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"LocalVarWrapper"},{"p":"org.mapstruct","l":"MapMapping"},{"p":"org.mapstruct.ap.internal.model","l":"MapMappingMethod"},{"p":"org.mapstruct.ap.internal.model.source","l":"MapMappingOptions"},{"p":"org.mapstruct","l":"Mapper"},{"p":"org.mapstruct.ap.internal.model","l":"Mapper"},{"p":"org.mapstruct.ap.internal.processor","l":"MapperAnnotatedFormattingMessenger"},{"p":"org.mapstruct","l":"MapperConfig"},{"p":"org.mapstruct.ap.internal.model.source","l":"MapperConfigOptions"},{"p":"org.mapstruct.ap.internal.processor","l":"MapperCreationProcessor"},{"p":"org.mapstruct.ap.internal.model.source","l":"MapperOptions"},{"p":"org.mapstruct.ap.internal.model","l":"MapperReference"},{"p":"org.mapstruct.ap.internal.processor","l":"MapperRenderingProcessor"},{"p":"org.mapstruct.factory","l":"Mappers"},{"p":"org.mapstruct.ap.internal.processor","l":"MapperServiceProcessor"},{"p":"org.mapstruct","l":"Mapping"},{"p":"org.mapstruct.ap.internal.model","l":"MappingBuilderContext"},{"p":"org.mapstruct","l":"MappingConstants"},{"p":"org.mapstruct.ap.internal.model.source","l":"MappingControl"},{"p":"org.mapstruct.control","l":"MappingControl"},{"p":"org.mapstruct.control","l":"MappingControls"},{"p":"org.mapstruct.ap.internal.model","l":"ValueMappingMethod.MappingEntry"},{"p":"org.mapstruct.ap.spi","l":"MappingExclusionProvider"},{"p":"org.mapstruct","l":"MappingInheritanceStrategy"},{"p":"org.mapstruct.ap.internal.model","l":"MappingMethod"},{"p":"org.mapstruct.ap.internal.model.source","l":"MappingMethodOptions"},{"p":"org.mapstruct.ap.internal.model.source","l":"MappingMethodUtils"},{"p":"org.mapstruct.ap.internal.model.source","l":"MappingOptions"},{"p":"org.mapstruct.ap","l":"MappingProcessor"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"MappingReference"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"MappingReferences"},{"p":"org.mapstruct.ap.internal.model","l":"MappingBuilderContext.MappingResolver"},{"p":"org.mapstruct.ap.internal.processor.creation","l":"MappingResolverImpl"},{"p":"org.mapstruct","l":"Mappings"},{"p":"org.mapstruct","l":"MappingTarget"},{"p":"org.mapstruct.ap.spi","l":"MapStructProcessingEnvironment"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"MapValueAccessor"},{"p":"org.mapstruct.ap.internal.util","l":"Message"},{"p":"org.mapstruct.ap.internal.util","l":"MessageConstants"},{"p":"org.mapstruct.ap.internal.model.source","l":"Method"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"MethodFamilySelector"},{"p":"org.mapstruct.ap.internal.model.source","l":"MethodMatcher"},{"p":"org.mapstruct.ap.internal.model","l":"MethodReference"},{"p":"org.mapstruct.ap.internal.model","l":"MethodReferencePresenceCheck"},{"p":"org.mapstruct.ap.internal.processor","l":"MethodRetrievalProcessor"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"MethodSelectors"},{"p":"org.mapstruct.ap.spi","l":"MethodType"},{"p":"org.mapstruct.ap.internal.model.common","l":"ModelElement"},{"p":"org.mapstruct.ap.internal.processor","l":"ModelElementProcessor"},{"p":"org.mapstruct.ap.internal.writer","l":"ModelIncludeDirective"},{"p":"org.mapstruct.ap.internal.writer","l":"ModelWriter"},{"p":"org.mapstruct.ap.spi","l":"MoreThanOneBuilderCreationMethodException"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"MostSpecificResultTypeSelector"},{"p":"org.mapstruct","l":"Named"},{"p":"org.mapstruct.ap.internal.util","l":"NativeTypes"},{"p":"org.mapstruct.ap.internal.model.common","l":"NegatePresenceCheck"},{"p":"org.mapstruct.ap.internal.model","l":"NestedPropertyMappingMethod"},{"p":"org.mapstruct.ap.internal.model","l":"NestedTargetPropertyMappingHolder"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"NewDatatypeFactoryConstructorFragment"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"NewInstanceSetterWrapperForCollectionsAndMaps"},{"p":"org.mapstruct.ap.internal.model","l":"NoArgumentConstructor"},{"p":"org.mapstruct.control","l":"NoComplexMapping"},{"p":"org.mapstruct.ap.spi","l":"NoOpBuilderProvider"},{"p":"org.mapstruct.ap.internal.model","l":"NormalTypeMappingMethod"},{"p":"org.mapstruct.ap.internal.util","l":"Nouns"},{"p":"org.mapstruct.ap.internal.model.presence","l":"NullPresenceCheck"},{"p":"org.mapstruct","l":"NullValueCheckStrategy"},{"p":"org.mapstruct","l":"NullValueMappingStrategy"},{"p":"org.mapstruct","l":"NullValuePropertyMappingStrategy"},{"p":"org.mapstruct","l":"ObjectFactory"},{"p":"org.mapstruct.ap.internal.model","l":"ObjectFactoryMethodResolver"},{"p":"org.mapstruct.ap.internal.option","l":"Options"},{"p":"org.mapstruct.ap.internal.model.common","l":"Parameter"},{"p":"org.mapstruct.ap.internal.model.common","l":"ParameterBinding"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"ParameterElementAccessor"},{"p":"org.mapstruct.ap.internal.model.source","l":"ParameterProvidedMethods"},{"p":"org.mapstruct.ap.spi","l":"PrefixEnumTransformationStrategy"},{"p":"org.mapstruct.ap.internal.model.common","l":"PresenceCheck"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"PresenceCheckAccessor"},{"p":"org.mapstruct.ap.internal.model","l":"PresenceCheckMethodResolver"},{"p":"org.mapstruct.ap.internal.conversion","l":"PrimitiveToPrimitiveConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"PrimitiveToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"PrimitiveToWrapperConversion"},{"p":"org.mapstruct.ap.internal.processor","l":"ModelElementProcessor.ProcessorContext"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"PropertyEntry"},{"p":"org.mapstruct.ap.internal.model","l":"PropertyMapping"},{"p":"org.mapstruct.ap.internal.model","l":"PropertyMapping.PropertyMappingBuilder"},{"p":"org.mapstruct","l":"Qualifier"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"QualifierSelector"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"ReadAccessor"},{"p":"org.mapstruct.ap.internal.util.accessor","l":"ReadDelegateAccessor"},{"p":"org.mapstruct.ap.internal.util","l":"RepeatableAnnotations"},{"p":"org.mapstruct","l":"ReportingPolicy"},{"p":"org.mapstruct.ap.internal.model.common","l":"Type.ResolvedPair"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"ReturnWrapper"},{"p":"org.mapstruct.ap.internal.conversion","l":"ReverseConversion"},{"p":"org.mapstruct.ap.internal.util","l":"RoundContext"},{"p":"org.mapstruct.ap.internal.model","l":"NestedPropertyMappingMethod.SafePropertyEntry"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"SelectedMethod"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"SelectionContext"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"SelectionCriteria"},{"p":"org.mapstruct.ap.internal.model.source","l":"SelectionParameters"},{"p":"org.mapstruct.ap.internal.util","l":"Services"},{"p":"org.mapstruct.ap.internal.model","l":"ServicesEntry"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"SetterWrapper"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"SetterWrapperForCollectionsAndMaps"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"SetterWrapperForCollectionsAndMapsWithNullCheck"},{"p":"org.mapstruct.ap.internal.conversion","l":"SimpleConversion"},{"p":"org.mapstruct.ap.internal.model.source","l":"SourceMethod"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"SourceReference"},{"p":"org.mapstruct.ap.internal.model.common","l":"SourceRHS"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"SourceRhsSelector"},{"p":"org.mapstruct.ap.internal.processor","l":"SpringComponentProcessor"},{"p":"org.mapstruct.ap.internal.conversion","l":"StaticParseToStringConversion"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"StreamAdderWrapper"},{"p":"org.mapstruct.ap.internal.model","l":"StreamMappingMethod"},{"p":"org.mapstruct.ap.internal.conversion","l":"StringBuilderToStringConversion"},{"p":"org.mapstruct.ap.internal.util","l":"Strings"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"StringToXmlGregorianCalendar"},{"p":"org.mapstruct.ap.spi","l":"StripPrefixEnumTransformationStrategy"},{"p":"org.mapstruct.ap.spi","l":"StripSuffixEnumTransformationStrategy"},{"p":"org.mapstruct","l":"SubclassExhaustiveStrategy"},{"p":"org.mapstruct","l":"SubclassMapping"},{"p":"org.mapstruct.ap.internal.model","l":"SubclassMapping"},{"p":"org.mapstruct.ap.internal.model.source","l":"SubclassMappingOptions"},{"p":"org.mapstruct","l":"SubclassMappings"},{"p":"org.mapstruct.ap.internal.model.source","l":"SubclassValidator"},{"p":"org.mapstruct.ap.spi","l":"SuffixEnumTransformationStrategy"},{"p":"org.mapstruct.ap.internal.model.presence","l":"SuffixPresenceCheck"},{"p":"org.mapstruct.ap.internal.model","l":"SupportingConstructorFragment"},{"p":"org.mapstruct.ap.internal.model","l":"SupportingField"},{"p":"org.mapstruct.ap.internal.model","l":"SupportingMappingMethod"},{"p":"org.mapstruct","l":"TargetPropertyName"},{"p":"org.mapstruct.ap.internal.model.beanmapping","l":"TargetReference"},{"p":"org.mapstruct","l":"TargetType"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"TargetTypeSelector"},{"p":"org.mapstruct.ap.internal.model.common","l":"Type"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"SelectionCriteria.Type"},{"p":"org.mapstruct.ap.internal.model","l":"TypeConversion"},{"p":"org.mapstruct.ap.internal.model.common","l":"TypeFactory"},{"p":"org.mapstruct.ap.spi","l":"TypeHierarchyErroneousException"},{"p":"org.mapstruct.ap.internal.model.source.selector","l":"TypeSelector"},{"p":"org.mapstruct.ap.internal.util","l":"TypeUtils"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"UpdateWrapper"},{"p":"org.mapstruct.ap.internal.conversion","l":"URLToStringConversion"},{"p":"org.mapstruct.control","l":"MappingControl.Use"},{"p":"org.mapstruct.ap.internal.conversion","l":"UUIDToStringConversion"},{"p":"org.mapstruct","l":"ValueMapping"},{"p":"org.mapstruct.ap.internal.model","l":"ValueMappingMethod"},{"p":"org.mapstruct.ap.internal.model.source","l":"ValueMappingOptions"},{"p":"org.mapstruct","l":"ValueMappings"},{"p":"org.mapstruct.ap.internal.version","l":"VersionInformation"},{"p":"org.mapstruct.ap.internal.model.assignment","l":"WrapperForCollectionsAndMaps"},{"p":"org.mapstruct.ap.internal.conversion","l":"WrapperToStringConversion"},{"p":"org.mapstruct.ap.internal.conversion","l":"WrapperToWrapperConversion"},{"p":"org.mapstruct.ap.internal.writer","l":"Writable"},{"p":"org.mapstruct.ap.internal.util","l":"XmlConstants"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToCalendar"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToDate"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToJodaDateTime"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToJodaLocalDate"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToJodaLocalDateTime"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToJodaLocalTime"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToLocalDate"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToLocalDateTime"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"XmlGregorianCalendarToString"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"ZonedDateTimeToCalendar"},{"p":"org.mapstruct.ap.internal.model.source.builtin","l":"ZonedDateTimeToXmlGregorianCalendar"}] \ No newline at end of file diff --git a/static/documentation/1.6/api/type-search-index.zip b/static/documentation/1.6/api/type-search-index.zip new file mode 100644 index 000000000..437ab9c68 Binary files /dev/null and b/static/documentation/1.6/api/type-search-index.zip differ diff --git a/static/documentation/1.6/reference/html/index.html b/static/documentation/1.6/reference/html/index.html new file mode 100644 index 000000000..b53687806 --- /dev/null +++ b/static/documentation/1.6/reference/html/index.html @@ -0,0 +1,9155 @@ + + + + + + + + +MapStruct 1.6.0.Beta1 Reference Guide + + + + + + + +
    +
    +

    Preface

    +
    +
    +

    This is the reference documentation of MapStruct, an annotation processor for generating type-safe, performant and dependency-free bean mapping code. +This guide covers all the functionality provided by MapStruct. In case this guide doesn’t answer all your questions just join the MapStruct GitHub Discussions to get help.

    +
    +
    +

    You found a typo or other error in this guide? Please let us know by opening an issue in the MapStruct GitHub repository, +or, better yet, help the community and send a pull request for fixing it!

    +
    + +
    +
    +
    +

    1. Introduction

    +
    +
    +

    MapStruct is a Java annotation processor for the generation of type-safe bean mapping classes.

    +
    +
    +

    All you have to do is to define a mapper interface which declares any required mapping methods. During compilation, MapStruct will generate an implementation of this interface. This implementation uses plain Java method invocations for mapping between source and target objects, i.e. no reflection or similar.

    +
    +
    +

    Compared to writing mapping code from hand, MapStruct saves time by generating code which is tedious and error-prone to write. Following a convention over configuration approach, MapStruct uses sensible defaults but steps out of your way when it comes to configuring or implementing special behavior.

    +
    +
    +

    Compared to dynamic mapping frameworks, MapStruct offers the following advantages:

    +
    +
    +
      +
    • +

      Fast execution by using plain method invocations instead of reflection

      +
    • +
    • +

      Compile-time type safety: Only objects and attributes mapping to each other can be mapped, no accidental mapping of an order entity into a customer DTO etc.

      +
    • +
    • +

      Clear error-reports at build time, if

      +
      +
        +
      • +

        mappings are incomplete (not all target properties are mapped)

        +
      • +
      • +

        mappings are incorrect (cannot find a proper mapping method or type conversion)

        +
      • +
      +
      +
    • +
    +
    +
    +
    +
    +

    2. Set up

    +
    +
    +

    MapStruct is a Java annotation processor based on JSR 269 and as such can be used within command line builds (javac, Ant, Maven etc.) as well as from within your IDE.

    +
    +
    +

    It comprises the following artifacts:

    +
    +
    +
      +
    • +

      org.mapstruct:mapstruct: contains the required annotations such as @Mapping

      +
    • +
    • +

      org.mapstruct:mapstruct-processor: contains the annotation processor which generates mapper implementations

      +
    • +
    +
    +
    +

    2.1. Apache Maven

    +
    +

    For Maven based projects add the following to your POM file in order to use MapStruct:

    +
    +
    +
    Example 1. Maven configuration
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +
    ...
    +<properties>
    +    <org.mapstruct.version>1.6.0.Beta1</org.mapstruct.version>
    +</properties>
    +...
    +<dependencies>
    +    <dependency>
    +        <groupId>org.mapstruct</groupId>
    +        <artifactId>mapstruct</artifactId>
    +        <version>${org.mapstruct.version}</version>
    +    </dependency>
    +</dependencies>
    +...
    +<build>
    +    <plugins>
    +        <plugin>
    +            <groupId>org.apache.maven.plugins</groupId>
    +            <artifactId>maven-compiler-plugin</artifactId>
    +            <version>3.8.1</version>
    +            <configuration>
    +                <source>1.8</source>
    +                <target>1.8</target>
    +                <annotationProcessorPaths>
    +                    <path>
    +                        <groupId>org.mapstruct</groupId>
    +                        <artifactId>mapstruct-processor</artifactId>
    +                        <version>${org.mapstruct.version}</version>
    +                    </path>
    +                </annotationProcessorPaths>
    +            </configuration>
    +        </plugin>
    +    </plugins>
    +</build>
    +...
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    If you are working with the Eclipse IDE, make sure to have a current version of the M2E plug-in. +When importing a Maven project configured as shown above, it will set up the MapStruct annotation processor so it runs right in the IDE, whenever you save a mapper type. +Neat, isn’t it?

    +
    +
    +

    To double check that everything is working as expected, go to your project’s properties and select "Java Compiler" → "Annotation Processing" → "Factory Path". +The MapStruct processor JAR should be listed and enabled there. +Any processor options configured via the compiler plug-in (see below) should be listed under "Java Compiler" → "Annotation Processing".

    +
    +
    +

    If the processor is not kicking in, check that the configuration of annotation processors through M2E is enabled. +To do so, go to "Preferences" → "Maven" → "Annotation Processing" and select "Automatically configure JDT APT". +Alternatively, specify the following in the properties section of your POM file: <m2e.apt.activation>jdt_apt</m2e.apt.activation>.

    +
    +
    +

    Also make sure that your project is using Java 1.8 or later (project properties → "Java Compiler" → "Compile Compliance Level"). +It will not work with older versions.

    +
    +
    +
    +
    +
    +

    2.2. Gradle

    +
    +

    Add the following to your Gradle build file in order to enable MapStruct:

    +
    +
    +
    Example 2. Gradle configuration
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    ...
    +plugins {
    +    ...
    +    id "com.diffplug.eclipse.apt" version "3.26.0" // Only for Eclipse
    +}
    +
    +dependencies {
    +    ...
    +    implementation "org.mapstruct:mapstruct:${mapstructVersion}"
    +    annotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
    +
    +    // If you are using mapstruct in test code
    +    testAnnotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
    +}
    +...
    +
    +
    +
    +
    +
    +

    You can find a complete example in the mapstruct-examples project on GitHub.

    +
    +
    +
    +

    2.3. Apache Ant

    +
    +

    Add the javac task configured as follows to your build.xml file in order to enable MapStruct in your Ant-based project. Adjust the paths as required for your project layout.

    +
    +
    +
    Example 3. Ant configuration
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    ...
    +<javac
    +    srcdir="src/main/java"
    +    destdir="target/classes"
    +    classpath="path/to/mapstruct-1.6.0.Beta1.jar">
    +    <compilerarg line="-processorpath path/to/mapstruct-processor-1.6.0.Beta1.jar"/>
    +    <compilerarg line="-s target/generated-sources"/>
    +</javac>
    +...
    +
    +
    +
    +
    +
    +

    You can find a complete example in the mapstruct-examples project on GitHub.

    +
    +
    +
    +

    2.4. Configuration options

    +
    +

    The MapStruct code generator can be configured using annotation processor options.

    +
    +
    +

    When invoking javac directly, these options are passed to the compiler in the form -Akey=value. When using MapStruct via Maven, any processor options can be passed using compilerArgs within the configuration of the Maven processor plug-in like this:

    +
    +
    +
    Example 4. Maven configuration
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +
    ...
    +<plugin>
    +    <groupId>org.apache.maven.plugins</groupId>
    +    <artifactId>maven-compiler-plugin</artifactId>
    +    <version>3.5.1</version>
    +    <configuration>
    +        <source>1.8</source>
    +        <target>1.8</target>
    +        <annotationProcessorPaths>
    +            <path>
    +                <groupId>org.mapstruct</groupId>
    +                <artifactId>mapstruct-processor</artifactId>
    +                <version>${org.mapstruct.version}</version>
    +            </path>
    +        </annotationProcessorPaths>
    +        <!-- due to problem in maven-compiler-plugin, for verbose mode add showWarnings -->
    +        <showWarnings>true</showWarnings>
    +        <compilerArgs>
    +            <arg>
    +                -Amapstruct.suppressGeneratorTimestamp=true
    +            </arg>
    +            <arg>
    +                -Amapstruct.suppressGeneratorVersionInfoComment=true
    +            </arg>
    +            <arg>
    +                -Amapstruct.verbose=true
    +            </arg>
    +        </compilerArgs>
    +    </configuration>
    +</plugin>
    +...
    +
    +
    +
    +
    +
    +
    Example 5. Gradle configuration
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    ...
    +compileJava {
    +    options.compilerArgs += [
    +        '-Amapstruct.suppressGeneratorTimestamp=true',
    +        '-Amapstruct.suppressGeneratorVersionInfoComment=true',
    +        '-Amapstruct.verbose=true'
    +    ]
    +}
    +...
    +
    +
    +
    +
    +
    +

    The following options exist:

    +
    + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 1. MapStruct processor options
    OptionPurposeDefault

    mapstruct. +suppressGeneratorTimestamp

    +

    If set to true, the creation of a time stamp in the @Generated annotation in the generated mapper classes is suppressed.

    +

    false

    mapstruct.verbose

    +

    If set to true, MapStruct in which MapStruct logs its major decisions. Note, at the moment of writing in Maven, also showWarnings needs to be added due to a problem in the maven-compiler-plugin configuration.

    +

    false

    mapstruct. +suppressGeneratorVersionInfoComment

    +

    If set to true, the creation of the comment attribute in the @Generated annotation in the generated mapper classes is suppressed. The comment contains information about the version of MapStruct and about the compiler used for the annotation processing.

    +

    false

    mapstruct.defaultComponentModel

    +

    The name of the component model (see Retrieving a mapper) based on which mappers should be generated.

    +
    +
    +

    Supported values are:

    +
    +
    +
      +
    • +

      default: the mapper uses no component model, instances are typically retrieved via Mappers#getMapper(Class)

      +
    • +
    • +

      cdi: the generated mapper is an application-scoped (from javax.enterprise.context or jakarta.enterprise.context, depending on which one is available with javax.inject having priority) CDI bean and can be retrieved via @Inject

      +
    • +
    • +

      spring: the generated mapper is a singleton-scoped Spring bean and can be retrieved via @Autowired

      +
    • +
    • +

      jsr330: the generated mapper is annotated with {@code @Named} and can be retrieved via @Inject (from javax.inject or jakarta.inject, depending which one is available with javax.inject having priority), e.g. using Spring

      +
    • +
    • +

      jakarta: the generated mapper is annotated with {@code @Named} and can be retrieved via @Inject (from jakarta.inject), e.g. using Spring

      +
    • +
    • +

      jakarta-cdi: the generated mapper is an application-scoped (from jakarta.enterprise.context) CDI bean and can be retrieved via @Inject

      +
    • +
    +
    +
    +

    If a component model is given for a specific mapper via @Mapper#componentModel(), the value from the annotation takes precedence.

    +

    default

    mapstruct.defaultInjectionStrategy

    +

    The type of the injection in mapper via parameter uses. This is only used on annotated based component models + such as CDI, Spring and JSR 330.

    +
    +
    +

    Supported values are:

    +
    +
    +
      +
    • +

      field: dependencies will be injected in fields

      +
    • +
    • +

      constructor: will be generated constructor. Dependencies will be injected via constructor.

      +
    • +
    +
    +
    +

    When CDI componentModel a default constructor will also be generated. +If a injection strategy is given for a specific mapper via @Mapper#injectionStrategy(), the value from the annotation takes precedence over the option.

    +

    field

    mapstruct.unmappedTargetPolicy

    +

    The default reporting policy to be applied in case an attribute of the target object of a mapping method is not populated with a source value.

    +
    +
    +

    Supported values are:

    +
    +
    +
      +
    • +

      ERROR: any unmapped target property will cause the mapping code generation to fail

      +
    • +
    • +

      WARN: any unmapped target property will cause a warning at build time

      +
    • +
    • +

      IGNORE: unmapped target properties are ignored

      +
    • +
    +
    +
    +

    If a policy is given for a specific mapper via @Mapper#unmappedTargetPolicy(), the value from the annotation takes precedence. +If a policy is given for a specific bean mapping via @BeanMapping#unmappedTargetPolicy(), it takes precedence over both @Mapper#unmappedTargetPolicy() and the option.

    +

    WARN

    mapstruct.unmappedSourcePolicy

    +

    The default reporting policy to be applied in case an attribute of the source object of a mapping method is not populated with a target value.

    +
    +
    +

    Supported values are:

    +
    +
    +
      +
    • +

      ERROR: any unmapped source property will cause the mapping code generation to fail

      +
    • +
    • +

      WARN: any unmapped source property will cause a warning at build time

      +
    • +
    • +

      IGNORE: unmapped source properties are ignored

      +
    • +
    +
    +
    +

    If a policy is given for a specific mapper via @Mapper#unmappedSourcePolicy(), the value from the annotation takes precedence. +If a policy is given for a specific bean mapping via @BeanMapping#ignoreUnmappedSourceProperties(), it takes precedence over both @Mapper#unmappedSourcePolicy() and the option.

    +

    WARN

    mapstruct. +disableBuilders

    +

    If set to true, then MapStruct will not use builder patterns when doing the mapping. This is equivalent to doing @Mapper( builder = @Builder( disableBuilder = true ) ) for all of your mappers.

    +

    false

    mapstruct.nullValueIterableMappingStrategy

    +

    The strategy to be applied when null is passed as a source value to an iterable mapping.

    +
    +
    +

    Supported values are:

    +
    +
    +
      +
    • +

      RETURN_NULL: if null is passed as a source value, then null will be returned

      +
    • +
    • +

      RETURN_DEFAULT: if null is passed then a default value (empty collection) will be returned

      +
    • +
    +
    +
    +

    If a strategy is given for a specific mapper via @Mapper#nullValueIterableMappingStrategy(), the value from the annotation takes precedence. +If a strategy is given for a specific iterable mapping via @IterableMapping#nullValueMappingStrategy(), it takes precedence over both @Mapper#nullValueIterableMappingStrategy() and the option.

    +

    RETURN_NULL

    mapstruct.nullValueMapMappingStrategy

    +

    The strategy to be applied when null is passed as a source value to a map mapping.

    +
    +
    +

    Supported values are:

    +
    +
    +
      +
    • +

      RETURN_NULL: if null is passed as a source value, then null will be returned

      +
    • +
    • +

      RETURN_DEFAULT: if null is passed then a default value (empty map) will be returned

      +
    • +
    +
    +
    +

    If a strategy is given for a specific mapper via @Mapper#nullValueMapMappingStrategy(), the value from the annotation takes precedence. +If a strategy is given for a specific map mapping via @MapMapping#nullValueMappingStrategy(), it takes precedence over both @Mapper#nullValueMapMappingStrategy() and the option.

    +

    RETURN_NULL

    +
    +
    +

    2.5. Using MapStruct with the Java Module System

    +
    +

    MapStruct can be used with Java 9 and higher versions.

    +
    +
    +

    To allow usage of the @Generated annotation java.annotation.processing.Generated (part of the java.compiler module) can be enabled.

    +
    +
    +
    +

    2.6. IDE Integration

    +
    +

    There are optional MapStruct plugins for IntelliJ and Eclipse that allow you to have additional completion support (and more) in the annotations.

    +
    +
    +

    2.6.1. IntelliJ

    +
    +

    The MapStruct IntelliJ plugin offers assistance in projects that use MapStruct.

    +
    +
    +

    Some features include:

    +
    +
    +
      +
    • +

      Code completion in target, source, expression

      +
    • +
    • +

      Go To Declaration for properties in target and source

      +
    • +
    • +

      Find Usages of properties in target and source

      +
    • +
    • +

      Refactoring support

      +
    • +
    • +

      Errors and Quick Fixes

      +
    • +
    +
    +
    +
    +

    2.6.2. Eclipse

    +
    +

    The MapStruct Eclipse Plugin offers assistance in projects that use MapStruct.

    +
    +
    +

    Some features include:

    +
    +
    +
      +
    • +

      Code completion in target and source

      +
    • +
    • +

      Quick Fixes

      +
    • +
    +
    +
    +
    +
    +
    +
    +

    3. Defining a mapper

    +
    +
    +

    In this section you’ll learn how to define a bean mapper with MapStruct and which options you have to do so.

    +
    +
    +

    3.1. Basic mappings

    +
    +

    To create a mapper simply define a Java interface with the required mapping method(s) and annotate it with the org.mapstruct.Mapper annotation:

    +
    +
    +
    Example 6. Java interface to define a mapper
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +public interface CarMapper {
    +
    +    @Mapping(target = "manufacturer", source = "make")
    +    @Mapping(target = "seatCount", source = "numberOfSeats")
    +    CarDto carToCarDto(Car car);
    +
    +    @Mapping(target = "fullName", source = "name")
    +    PersonDto personToPersonDto(Person person);
    +}
    +
    +
    +
    +
    +
    +

    The @Mapper annotation causes the MapStruct code generator to create an implementation of the CarMapper interface during build-time.

    +
    +
    +

    In the generated method implementations all readable properties from the source type (e.g. Car) will be copied into the corresponding property in the target type (e.g. CarDto):

    +
    +
    +
      +
    • +

      When a property has the same name as its target entity counterpart, it will be mapped implicitly.

      +
    • +
    • +

      When a property has a different name in the target entity, its name can be specified via the @Mapping annotation.

      +
    • +
    +
    +
    + + + + + +
    + + +
    +

    The property name as defined in the JavaBeans specification must be specified in the @Mapping annotation, e.g. seatCount for a property with the accessor methods getSeatCount() and setSeatCount().

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    By means of the @BeanMapping(ignoreByDefault = true) the default behavior will be explicit mapping, meaning that all mappings have to be specified by means of the @Mapping and no warnings will be issued on missing target properties. +This allows to ignore all fields, except the ones that are explicitly defined through @Mapping.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Fluent setters are also supported. +Fluent setters are setters that return the same type as the type being modified.

    +
    +
    +

    E.g.

    +
    +
    +
    +
    public Builder seatCount(int seatCount) {
    +    this.seatCount = seatCount;
    +    return this;
    +}
    +
    +
    +
    +
    +
    +

    To get a better understanding of what MapStruct does have a look at the following implementation of the carToCarDto() method as generated by MapStruct:

    +
    +
    +
    Example 7. Code generated by MapStruct
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +
    // GENERATED CODE
    +public class CarMapperImpl implements CarMapper {
    +
    +    @Override
    +    public CarDto carToCarDto(Car car) {
    +        if ( car == null ) {
    +            return null;
    +        }
    +
    +        CarDto carDto = new CarDto();
    +
    +        if ( car.getFeatures() != null ) {
    +            carDto.setFeatures( new ArrayList<String>( car.getFeatures() ) );
    +        }
    +        carDto.setManufacturer( car.getMake() );
    +        carDto.setSeatCount( car.getNumberOfSeats() );
    +        carDto.setDriver( personToPersonDto( car.getDriver() ) );
    +        carDto.setPrice( String.valueOf( car.getPrice() ) );
    +        if ( car.getCategory() != null ) {
    +            carDto.setCategory( car.getCategory().toString() );
    +        }
    +        carDto.setEngine( engineToEngineDto( car.getEngine() ) );
    +
    +        return carDto;
    +    }
    +
    +    @Override
    +    public PersonDto personToPersonDto(Person person) {
    +        //...
    +    }
    +
    +    private EngineDto engineToEngineDto(Engine engine) {
    +        if ( engine == null ) {
    +            return null;
    +        }
    +
    +        EngineDto engineDto = new EngineDto();
    +
    +        engineDto.setHorsePower(engine.getHorsePower());
    +        engineDto.setFuel(engine.getFuel());
    +
    +        return engineDto;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The general philosophy of MapStruct is to generate code which looks as much as possible as if you had written it yourself from hand. In particular this means that the values are copied from source to target by plain getter/setter invocations instead of reflection or similar.

    +
    +
    +

    As the example shows the generated code takes into account any name mappings specified via @Mapping. +If the type of a mapped attribute is different in source and target entity, +MapStruct will either apply an automatic conversion (as e.g. for the price property, see also Implicit type conversions) +or optionally invoke / create another mapping method (as e.g. for the driver / engine property, see also Mapping object references). +MapStruct will only create a new mapping method if and only if the source and target property are properties of a Bean and they themselves are Beans or simple properties. +i.e. they are not Collection or Map type properties.

    +
    +
    +

    Collection-typed attributes with the same element type will be copied by creating a new instance of the target collection type containing the elements from the source property. For collection-typed attributes with different element types each element will be mapped individually and added to the target collection (see Mapping collections).

    +
    +
    +

    MapStruct takes all public properties of the source and target types into account. This includes properties declared on super-types.

    +
    +
    +
    +

    3.2. Mapping Composition

    +
    +

    MapStruct supports the use of meta annotations. The @Mapping annotation supports now @Target with ElementType#ANNOTATION_TYPE in addition to ElementType#METHOD. This allows @Mapping to be used on other (user defined) annotations for re-use purposes. For example:

    +
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    @Retention(RetentionPolicy.CLASS)
    +@Mapping(target = "id", ignore = true)
    +@Mapping(target = "creationDate", expression = "java(new java.util.Date())")
    +@Mapping(target = "name", source = "groupName")
    +public @interface ToEntity { }
    +
    +
    +
    +
    +
    +

    Can be used to characterise an Entity without the need to have a common base type. For instance, ShelveEntity and BoxEntity do not share a common base type in the StorageMapper below.

    +
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    @Mapper
    +public interface StorageMapper {
    +
    +    StorageMapper INSTANCE = Mappers.getMapper( StorageMapper.class );
    +
    +    @ToEntity
    +    @Mapping( target = "weightLimit", source = "maxWeight")
    +    ShelveEntity map(ShelveDto source);
    +
    +    @ToEntity
    +    @Mapping( target = "label", source = "designation")
    +    BoxEntity map(BoxDto source);
    +}
    +
    +
    +
    +
    +
    +

    Still, they do have some properties in common. The @ToEntity assumes both target beans ShelveEntity and BoxEntity have properties: "id", "creationDate" and "name". It furthermore assumes that the source beans ShelveDto and BoxDto always have a property "groupName". This concept is also known as "duck-typing". In other words, if it quacks like duck, walks like a duck its probably a duck.

    +
    +
    +

    Error messages are not mature yet: the method on which the problem occurs is displayed, as well as the concerned values in the @Mapping annotation. However, the composition aspect is not visible. The messages are "as if" the @Mapping would be present on the concerned method directly. +Therefore, the user should use this feature with care, especially when uncertain when a property is always present.

    +
    +
    +

    A more typesafe (but also more verbose) way would be to define base classes / interfaces on the target bean and the source bean and use @InheritConfiguration to achieve the same result (see Mapping configuration inheritance).

    +
    +
    +
    +

    3.3. Adding custom methods to mappers

    +
    +

    In some cases it can be required to manually implement a specific mapping from one type to another which can’t be generated by MapStruct. One way to handle this is to implement the custom method on another class which then is used by mappers generated by MapStruct (see Invoking other mappers).

    +
    +
    +

    Alternatively, when using Java 8 or later, you can implement custom methods directly in a mapper interface as default methods. The generated code will invoke the default methods if the argument and return types match.

    +
    +
    +

    As an example let’s assume the mapping from Person to PersonDto requires some special logic which can’t be generated by MapStruct. You could then define the mapper from the previous example like this:

    +
    +
    +
    Example 8. Mapper which defines a custom mapping with a default method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    @Mapper
    +public interface CarMapper {
    +
    +    @Mapping(...)
    +    ...
    +    CarDto carToCarDto(Car car);
    +
    +    default PersonDto personToPersonDto(Person person) {
    +        //hand-written mapping logic
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The class generated by MapStruct implements the method carToCarDto(). The generated code in carToCarDto() will invoke the manually implemented personToPersonDto() method when mapping the driver attribute.

    +
    +
    +

    A mapper could also be defined in the form of an abstract class instead of an interface and implement the custom methods directly in the mapper class. In this case MapStruct will generate an extension of the abstract class with implementations of all abstract methods. An advantage of this approach over declaring default methods is that additional fields could be declared in the mapper class.

    +
    +
    +

    The previous example where the mapping from Person to PersonDto requires some special logic could then be defined like this:

    +
    +
    +
    Example 9. Mapper defined by an abstract class
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    @Mapper
    +public abstract class CarMapper {
    +
    +    @Mapping(...)
    +    ...
    +    public abstract CarDto carToCarDto(Car car);
    +
    +    public PersonDto personToPersonDto(Person person) {
    +        //hand-written mapping logic
    +    }
    +}
    +
    +
    +
    +
    +
    +

    MapStruct will generate a sub-class of CarMapper with an implementation of the carToCarDto() method as it is declared abstract. The generated code in carToCarDto() will invoke the manually implemented personToPersonDto() method when mapping the driver attribute.

    +
    +
    +
    +

    3.4. Mapping methods with several source parameters

    +
    +

    MapStruct also supports mapping methods with several source parameters. This is useful e.g. in order to combine several entities into one data transfer object. The following shows an example:

    +
    +
    +
    Example 10. Mapping method with several source parameters
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper
    +public interface AddressMapper {
    +
    +    @Mapping(target = "description", source = "person.description")
    +    @Mapping(target = "houseNumber", source = "address.houseNo")
    +    DeliveryAddressDto personAndAddressToDeliveryAddressDto(Person person, Address address);
    +}
    +
    +
    +
    +
    +
    +

    The shown mapping method takes two source parameters and returns a combined target object. As with single-parameter mapping methods properties are mapped by name.

    +
    +
    +

    In case several source objects define a property with the same name, the source parameter from which to retrieve the property must be specified using the @Mapping annotation as shown for the description property in the example. An error will be raised when such an ambiguity is not resolved. For properties which only exist once in the given source objects it is optional to specify the source parameter’s name as it can be determined automatically.

    +
    +
    + + + + + +
    + + +
    +

    Specifying the parameter in which the property resides is mandatory when using the @Mapping annotation.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Mapping methods with several source parameters will return null in case all the source parameters are null. Otherwise the target object will be instantiated and all properties from the provided parameters will be propagated.

    +
    +
    +
    +
    +

    MapStruct also offers the possibility to directly refer to a source parameter.

    +
    +
    +
    Example 11. Mapping method directly referring to a source parameter
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper
    +public interface AddressMapper {
    +
    +    @Mapping(target = "description", source = "person.description")
    +    @Mapping(target = "houseNumber", source = "hn")
    +    DeliveryAddressDto personAndAddressToDeliveryAddressDto(Person person, Integer hn);
    +}
    +
    +
    +
    +
    +
    +

    In this case the source parameter is directly mapped into the target as the example above demonstrates. The parameter hn, a non bean type (in this case java.lang.Integer) is mapped to houseNumber.

    +
    +
    +
    +

    3.5. Mapping nested bean properties to current target

    +
    +

    If you don’t want explicitly name all properties from nested source bean, you can use . as target. + This will tell MapStruct to map every property from source bean to target object. The following shows an example:

    +
    +
    +
    Example 12. use of "target this" annotation "."
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +
     @Mapper
    + public interface CustomerMapper {
    +
    +     @Mapping( target = "name", source = "record.name" )
    +     @Mapping( target = ".", source = "record" )
    +     @Mapping( target = ".", source = "account" )
    +     Customer customerDtoToCustomer(CustomerDto customerDto);
    + }
    +
    +
    +
    +
    +
    +

    The generated code will map every property from CustomerDto.record to Customer directly, without need to manually name any of them. +The same goes for Customer.account.

    +
    +
    +

    When there are conflicts, these can be resolved by explicitely defining the mapping. For instance in the example above. name occurs in CustomerDto.record and in CustomerDto.account. The mapping @Mapping( target = "name", source = "record.name" ) resolves this conflict.

    +
    +
    +

    This "target this" notation can be very useful when mapping hierarchical objects to flat objects and vice versa (@InheritInverseConfiguration).

    +
    +
    +
    +

    3.6. Updating existing bean instances

    +
    +

    In some cases you need mappings which don’t create a new instance of the target type but instead update an existing instance of that type. This sort of mapping can be realized by adding a parameter for the target object and marking this parameter with @MappingTarget. The following shows an example:

    +
    +
    +
    Example 13. Update method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    @Mapper
    +public interface CarMapper {
    +
    +    void updateCarFromDto(CarDto carDto, @MappingTarget Car car);
    +}
    +
    +
    +
    +
    +
    +

    The generated code of the updateCarFromDto() method will update the passed Car instance with the properties from the given CarDto object. There may be only one parameter marked as mapping target. Instead of void you may also set the method’s return type to the type of the target parameter, which will cause the generated implementation to update the passed mapping target and return it as well. This allows for fluent invocations of mapping methods.

    +
    +
    +

    For CollectionMappingStrategy.ACCESSOR_ONLY Collection- or map-typed properties of the target bean to be updated will be cleared and then populated with the values from the corresponding source collection or map. Otherwise, For CollectionMappingStrategy.ADDER_PREFERRED or CollectionMappingStrategy.TARGET_IMMUTABLE the target will not be cleared and the values will be populated immediately.

    +
    +
    +
    +

    3.7. Mappings with direct field access

    +
    +

    MapStruct also supports mappings of public fields that have no getters/setters. MapStruct will +use the fields as read/write accessor if it cannot find suitable getter/setter methods for the property.

    +
    +
    +

    A field is considered as a read accessor if it is public or public final. If a field is static it is not +considered as a read accessor.

    +
    +
    +

    A field is considered as a write accessor only if it is public. If a field is final and/or static it is not +considered as a write accessor.

    +
    +
    +

    Small example:

    +
    +
    +
    Example 14. Example classes for mapping
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +
    public class Customer {
    +
    +    private Long id;
    +    private String name;
    +
    +    //getters and setter omitted for brevity
    +}
    +
    +public class CustomerDto {
    +
    +    public Long id;
    +    public String customerName;
    +}
    +
    +@Mapper
    +public interface CustomerMapper {
    +
    +    CustomerMapper INSTANCE = Mappers.getMapper( CustomerMapper.class );
    +
    +    @Mapping(target = "name", source = "customerName")
    +    Customer toCustomer(CustomerDto customerDto);
    +
    +    @InheritInverseConfiguration
    +    CustomerDto fromCustomer(Customer customer);
    +}
    +
    +
    +
    +
    +
    +

    For the configuration from above, the generated mapper looks like:

    +
    +
    +
    Example 15. Generated mapper for example classes
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +
    // GENERATED CODE
    +public class CustomerMapperImpl implements CustomerMapper {
    +
    +    @Override
    +    public Customer toCustomer(CustomerDto customerDto) {
    +        // ...
    +        customer.setId( customerDto.id );
    +        customer.setName( customerDto.customerName );
    +        // ...
    +    }
    +
    +    @Override
    +    public CustomerDto fromCustomer(Customer customer) {
    +        // ...
    +        customerDto.id = customer.getId();
    +        customerDto.customerName = customer.getName();
    +        // ...
    +    }
    +}
    +
    +
    +
    +
    +
    +

    You can find the complete example in the +mapstruct-examples-field-mapping +project on GitHub.

    +
    +
    +
    +

    3.8. Using builders

    +
    +

    MapStruct also supports mapping of immutable types via builders. +When performing a mapping MapStruct checks if there is a builder for the type being mapped. +This is done via the BuilderProvider SPI. +If a Builder exists for a certain type, then that builder will be used for the mappings.

    +
    +
    +

    The default implementation of the BuilderProvider assumes the following:

    +
    +
    +
      +
    • +

      The type has a parameterless public static builder creation method that returns a builder. +So for example Person has a public static method that returns PersonBuilder.

      +
    • +
    • +

      The builder type has a parameterless public method (build method) that returns the type being built. +In our example PersonBuilder has a method returning Person.

      +
    • +
    • +

      In case there are multiple build methods, MapStruct will look for a method called build, if such method exists +then this would be used, otherwise a compilation error would be created.

      +
    • +
    • +

      A specific build method can be defined by using @Builder within: @BeanMapping, @Mapper or @MapperConfig

      +
    • +
    • +

      In case there are multiple builder creation methods that satisfy the above conditions then a MoreThanOneBuilderCreationMethodException +will be thrown from the DefaultBuilderProvider SPI. +In case of a MoreThanOneBuilderCreationMethodException MapStruct will write a warning in the compilation and not use any builder.

      +
    • +
    +
    +
    +

    If such type is found then MapStruct will use that type to perform the mapping to (i.e. it will look for setters into that type). +To finish the mapping MapStruct generates code that will invoke the build method of the builder.

    +
    +
    + + + + + +
    + + +
    +

    Builder detection can be switched off by means of @Builder#disableBuilder. MapStruct will fall back on regular getters / setters in case builders are disabled.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    The Object factories are also considered for the builder type. +E.g. If an object factory exists for our PersonBuilder then this factory would be used instead of the builder creation method.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Detected builders influence @BeforeMapping and @AfterMapping behavior. See chapter Mapping customization with before-mapping and after-mapping methods for more information.

    +
    +
    +
    +
    +
    Example 16. Person with Builder example
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +
    public class Person {
    +
    +    private final String name;
    +
    +    protected Person(Person.Builder builder) {
    +        this.name = builder.name;
    +    }
    +
    +    public static Person.Builder builder() {
    +        return new Person.Builder();
    +    }
    +
    +    public static class Builder {
    +
    +        private String name;
    +
    +        public Builder name(String name) {
    +            this.name = name;
    +            return this;
    +        }
    +
    +        public Person create() {
    +            return new Person( this );
    +        }
    +    }
    +}
    +
    +
    +
    +
    +
    +
    Example 17. Person Mapper definition
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +
    public interface PersonMapper {
    +
    +    Person map(PersonDto dto);
    +}
    +
    +
    +
    +
    +
    +
    Example 18. Generated mapper with builder
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    // GENERATED CODE
    +public class PersonMapperImpl implements PersonMapper {
    +
    +    public Person map(PersonDto dto) {
    +        if (dto == null) {
    +            return null;
    +        }
    +
    +        Person.Builder builder = Person.builder();
    +
    +        builder.name( dto.getName() );
    +
    +        return builder.create();
    +    }
    +}
    +
    +
    +
    +
    +
    +

    Supported builder frameworks:

    +
    +
    +
      +
    • +

      Lombok - It is required to have the Lombok classes in a separate module. +See for more information at rzwitserloot/lombok#1538 and to set up Lombok with MapStruct, refer to Lombok.

      +
    • +
    • +

      AutoValue

      +
    • +
    • +

      Immutables - When Immutables are present on the annotation processor path then the ImmutablesAccessorNamingStrategy and ImmutablesBuilderProvider would be used by default

      +
    • +
    • +

      FreeBuilder - When FreeBuilder is present on the annotation processor path then the FreeBuilderAccessorNamingStrategy would be used by default. +When using FreeBuilder then the JavaBean convention should be followed, otherwise MapStruct won’t recognize the fluent getters.

      +
    • +
    • +

      It also works for custom builders (handwritten ones) if the implementation supports the defined rules for the default BuilderProvider. +Otherwise, you would need to write a custom BuilderProvider

      +
    • +
    +
    +
    + + + + + +
    + + +
    +

    In case you want to disable using builders then you can pass the MapStruct processor option mapstruct.disableBuilders to the compiler. e.g. -Amapstruct.disableBuilders=true.

    +
    +
    +
    +
    +
    +

    3.9. Using Constructors

    +
    +

    MapStruct supports using constructors for mapping target types. +When doing a mapping MapStruct checks if there is a builder for the type being mapped. +If there is no builder, then MapStruct looks for a single accessible constructor. +When there are multiple constructors then the following is done to pick the one which should be used:

    +
    +
    +
      +
    • +

      If a constructor is annotated with an annotation named @Default (from any package, see Non-shipped annotations) it will be used.

      +
    • +
    • +

      If a single public constructor exists then it will be used to construct the object, and the other non public constructors will be ignored.

      +
    • +
    • +

      If a parameterless constructor exists then it will be used to construct the object, and the other constructors will be ignored.

      +
    • +
    • +

      If there are multiple eligible constructors then there will be a compilation error due to ambiguous constructors. In order to break the ambiguity an annotation named @Default (from any package, see Non-shipped annotations) can used.

      +
    • +
    +
    +
    +
    Example 19. Deciding which constructor to use
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +
    public class Vehicle {
    +
    +    protected Vehicle() { }
    +
    +    // MapStruct will use this constructor, because it is a single public constructor
    +    public Vehicle(String color) { }
    +}
    +
    +public class Car {
    +
    +    // MapStruct will use this constructor, because it is a parameterless empty constructor
    +    public Car() { }
    +
    +    public Car(String make, String color) { }
    +}
    +
    +public class Truck {
    +
    +    public Truck() { }
    +
    +    // MapStruct will use this constructor, because it is annotated with @Default
    +    @Default
    +    public Truck(String make, String color) { }
    +}
    +
    +public class Van {
    +
    +    // There will be a compilation error when using this class because MapStruct cannot pick a constructor
    +
    +    public Van(String make) { }
    +
    +    public Van(String make, String color) { }
    +
    +}
    +
    +
    +
    +
    +
    +

    When using a constructor then the names of the parameters of the constructor will be used and matched to the target properties. +When the constructor has an annotation named @ConstructorProperties (from any package, see Non-shipped annotations) then this annotation will be used to get the names of the parameters.

    +
    +
    + + + + + +
    + + +
    +

    When an object factory method or a method annotated with @ObjectFactory exists, it will take precedence over any constructor defined in the target. +The target object constructor will not be used in that case.

    +
    +
    +
    +
    +
    Example 20. Person with constructor parameters
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    public class Person {
    +
    +    private final String name;
    +    private final String surname;
    +
    +    public Person(String name, String surname) {
    +        this.name = name;
    +        this.surname = surname;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    Example 21. Person With Constructor Mapper definition
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +
    public interface PersonMapper {
    +
    +    Person map(PersonDto dto);
    +}
    +
    +
    +
    +
    +
    +
    Example 22. Generated mapper with constructor
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +
    // GENERATED CODE
    +public class PersonMapperImpl implements PersonMapper {
    +
    +    public Person map(PersonDto dto) {
    +        if (dto == null) {
    +            return null;
    +        }
    +
    +        String name;
    +        String surname;
    +        name = dto.getName();
    +        surname = dto.getSurname();
    +
    +        Person person = new Person( name, surname );
    +
    +        return person;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    +

    3.10. Mapping Map to Bean

    +
    +

    There are situations when a mapping from a Map<String, ???> into a specific bean is needed. +MapStruct offers a transparent way of doing such a mapping by using the target bean properties (or defined through Mapping#source) to extract the values from the map. +Such a mapping looks like:

    +
    +
    +
    Example 23. Example classes for mapping map to bean
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    public class Customer {
    +
    +    private Long id;
    +    private String name;
    +
    +    //getters and setter omitted for brevity
    +}
    +
    +@Mapper
    +public interface CustomerMapper {
    +
    +    @Mapping(target = "name", source = "customerName")
    +    Customer toCustomer(Map<String, String> map);
    +
    +}
    +
    +
    +
    +
    +
    +
    Example 24. Generated mapper for mapping map to bean
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    // GENERATED CODE
    +public class CustomerMapperImpl implements CustomerMapper {
    +
    +    @Override
    +    public Customer toCustomer(Map<String, String> map) {
    +        // ...
    +        if ( map.containsKey( "id" ) ) {
    +            customer.setId( Integer.parseInt( map.get( "id" ) ) );
    +        }
    +        if ( map.containsKey( "customerName" ) ) {
    +            customer.setName( map.get( "customerName" ) );
    +        }
    +        // ...
    +    }
    +}
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    All existing rules about mapping between different types and using other mappers defined with Mapper#uses or custom methods in the mappers are applied. +i.e. You can map from Map<String, Integer> where for each property a conversion from Integer into the respective property will be needed.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    When a raw map or a map that does not have a String as a key is used, then a warning will be generated. +The warning is not generated if the map itself is mapped into some other target property directly as is.

    +
    +
    +
    +
    +
    +

    3.11. Adding annotations

    +
    +

    Other frameworks sometimes requires you to add annotations to certain classes so that they can easily detect the mappers. +Using the @AnnotateWith annotation you can generate an annotation at the specified location.

    +
    +
    +

    For example Apache Camel has a @Converter annotation which you can apply to generated mappers using the @AnnotateWith annotation.

    +
    +
    +
    Example 25. AnnotateWith source example
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper
    +@AnnotateWith(
    +  value = Converter.class,
    +  elements = @AnnotateWith.Element( name = "generateBulkLoader", booleans = true )
    +)
    +public interface MyConverter {
    +    @AnnotateWith( Converter.class )
    +    DomainObject map( DtoObject dto );
    +}
    +
    +
    +
    +
    +
    +
    Example 26. AnnotateWith generated mapper
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Converter( generateBulkLoader = true )
    +public class MyConverterImpl implements MyConverter {
    +    @Converter
    +    public DomainObject map( DtoObject dto ) {
    +        // default mapping behaviour
    +    }
    +}
    +
    +
    +
    +
    +
    +
    +

    3.12. Adding Javadoc comments

    +
    +

    MapStruct provides support for defining Javadoc comments in the generated mapper implementation using the +org.mapstruct.Javadoc annotation.

    +
    +
    +

    This functionality could be relevant especially in situations where certain Javadoc standards need to be met or +to deal with Javadoc validation constraints.

    +
    +
    +

    The @Javadoc annotation defines attributes for the different Javadoc elements.

    +
    +
    +

    Consider the following example:

    +
    +
    +
    Example 27. Javadoc annotation example
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +@Javadoc(
    +    value = "This is the description",
    +    authors = { "author1", "author2" },
    +    deprecated = "Use {@link OtherMapper} instead",
    +    since = "0.1"
    +)
    +public interface MyAnnotatedWithJavadocMapper {
    +    //...
    +}
    +
    +
    +
    +
    +
    +
    Example 28. Javadoc annotated generated mapper
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +
    /**
    +* This is the description
    +*
    +* @author author1
    +* @author author2
    +*
    +* @deprecated Use {@link OtherMapper} instead
    +* @since 0.1
    +*/
    +public class MyAnnotatedWithJavadocMapperImpl implements MyAnnotatedWithJavadocMapper {
    +    //...
    +}
    +
    +
    +
    +
    +
    +

    The entire Javadoc comment block can be provided directly as well.

    +
    +
    +
    Example 29. Javadoc annotation example with the entire Javadoc comment block provided directly
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    @Mapper
    +@Javadoc(
    +    "This is the description\n"
    +  + "\n"
    +  + "@author author1\n"
    +  + "@author author2\n"
    +  + "\n"
    +  + "@deprecated Use {@link OtherMapper} instead\n"
    +  + "@since 0.1\n"
    +)
    +public interface MyAnnotatedWithJavadocMapper {
    +    //...
    +}
    +
    +
    +
    +
    +
    +

    Or using Text blocks:

    +
    +
    +
    Example 30. Javadoc annotation example with the entire Javadoc comment block provided directly using Text blocks
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    @Mapper
    +@Javadoc(
    +    """
    +    This is the description
    +
    +    @author author1
    +    @author author2
    +
    +    @deprecated Use {@link OtherMapper} instead
    +    @since 0.1
    +    """
    +)
    +public interface MyAnnotatedWithJavadocMapper {
    +    //...
    +}
    +
    +
    +
    +
    +
    +
    +
    +
    +

    4. Retrieving a mapper

    +
    +
    +

    4.1. The Mappers factory (no dependency injection)

    +
    +

    When not using a DI framework, Mapper instances can be retrieved via the org.mapstruct.factory.Mappers class. Just invoke the getMapper() method, passing the interface type of the mapper to return:

    +
    +
    +
    Example 31. Using the Mappers factory
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +
    CarMapper mapper = Mappers.getMapper( CarMapper.class );
    +
    +
    +
    +
    +
    +

    By convention, a mapper interface should define a member called INSTANCE which holds a single instance of the mapper type:

    +
    +
    +
    Example 32. Declaring an instance of a mapper (interface)
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper
    +public interface CarMapper {
    +
    +    CarMapper INSTANCE = Mappers.getMapper( CarMapper.class );
    +
    +    CarDto carToCarDto(Car car);
    +}
    +
    +
    +
    +
    +
    +
    +
    Example 33. Declaring an instance of a mapper (abstract class)
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper
    +public abstract class CarMapper {
    +
    +    public static final CarMapper INSTANCE = Mappers.getMapper( CarMapper.class );
    +
    +    CarDto carToCarDto(Car car);
    +}
    +
    +
    +
    +
    +
    +
    +

    This pattern makes it very easy for clients to use mapper objects without repeatedly instantiating new instances:

    +
    +
    +
    Example 34. Accessing a mapper
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +
    Car car = ...;
    +CarDto dto = CarMapper.INSTANCE.carToCarDto( car );
    +
    +
    +
    +
    +
    +

    Note that mappers generated by MapStruct are stateless and thread-safe and thus can safely be accessed from several threads at the same time.

    +
    +
    +
    +

    4.2. Using dependency injection

    +
    +

    If you’re working with a dependency injection framework such as CDI (Contexts and Dependency Injection for JavaTM EE) or the Spring Framework, it is recommended to obtain mapper objects via dependency injection and not via the Mappers class as described above. For that purpose you can specify the component model which generated mapper classes should be based on either via @Mapper#componentModel or using a processor option as described in Configuration options.

    +
    +
    +

    Currently there is support for CDI and Spring (the latter either via its custom annotations or using the JSR 330 annotations). See Configuration options for the allowed values of the componentModel attribute which are the same as for the mapstruct.defaultComponentModel processor option and constants are defined in a class MappingConstants.ComponentModel. In both cases the required annotations will be added to the generated mapper implementations classes in order to make the same subject to dependency injection. The following shows an example using CDI:

    +
    +
    +
    Example 35. A mapper using the CDI component model
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    @Mapper(componentModel = MappingConstants.ComponentModel.CDI)
    +public interface CarMapper {
    +
    +    CarDto carToCarDto(Car car);
    +}
    +
    +
    +
    +
    +
    +
    +

    The generated mapper implementation will be marked with the @ApplicationScoped annotation and thus can be injected into fields, constructor arguments etc. using the @Inject annotation:

    +
    +
    +
    Example 36. Obtaining a mapper via dependency injection
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +
    @Inject
    +private CarMapper mapper;
    +
    +
    +
    +
    +
    +

    A mapper which uses other mapper classes (see Invoking other mappers) will obtain these mappers using the configured component model. So if CarMapper from the previous example was using another mapper, this other mapper would have to be an injectable CDI bean as well.

    +
    +
    +
    +

    4.3. Injection strategy

    +
    +

    When using dependency injection, you can choose between constructor, field, or setter injection. +This can be done by either providing the injection strategy via @Mapper or @MapperConfig annotation.

    +
    +
    +
    Example 37. Using constructor injection
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +
    @Mapper(componentModel = MappingConstants.ComponentModel.CDI, uses = EngineMapper.class, injectionStrategy = InjectionStrategy.CONSTRUCTOR)
    +public interface CarMapper {
    +    CarDto carToCarDto(Car car);
    +}
    +
    +
    +
    +
    +
    +

    The generated mapper will inject classes defined in the uses attribute if MapStruct has detected that it needs to use an instance of it for a mapping. +When InjectionStrategy#CONSTRUCTOR is used, the constructor will have the appropriate annotation and the fields won’t. +When InjectionStrategy#FIELD is used, the annotation is on the field itself. +When InjectionStrategy#SETTER is used the annotation is on a generated setter method. +For now, the default injection strategy is field injection, but it can be configured with Configuration options. +It is recommended to use constructor injection to simplify testing.

    +
    +
    +

    When you define mappers in Spring with circular dependencies compilation may fail. +In that case utilize the InjectionStrategy#SETTER strategy.

    +
    +
    + + + + + +
    + + +
    +

    For abstract classes or decorators setter injection should be used.

    +
    +
    +
    +
    +
    +
    +
    +

    5. Data type conversions

    +
    +
    +

    Not always a mapped attribute has the same type in the source and target objects. For instance an attribute may be of type int in the source bean but of type Long in the target bean.

    +
    +
    +

    Another example are references to other objects which should be mapped to the corresponding types in the target model. E.g. the class Car might have a property driver of the type Person which needs to be converted into a PersonDto object when mapping a Car object.

    +
    +
    +

    In this section you’ll learn how MapStruct deals with such data type conversions.

    +
    +
    +

    5.1. Implicit type conversions

    +
    +

    MapStruct takes care of type conversions automatically in many cases. If for instance an attribute is of type int in the source bean but of type String in the target bean, the generated code will transparently perform a conversion by calling String#valueOf(int) and Integer#parseInt(String), respectively.

    +
    +
    +

    Currently the following conversions are applied automatically:

    +
    +
    +
      +
    • +

      Between all Java primitive data types and their corresponding wrapper types, e.g. between int and Integer, boolean and Boolean etc. The generated code is null aware, i.e. when converting a wrapper type into the corresponding primitive type a null check will be performed.

      +
    • +
    • +

      Between all Java primitive number types and the wrapper types, e.g. between int and long or byte and Integer.

      +
    • +
    +
    +
    + + + + + +
    + + +
    +

    Converting from larger data types to smaller ones (e.g. from long to int) can cause a value or precision loss. The Mapper and MapperConfig annotations have a method typeConversionPolicy to control warnings / errors. Due to backward compatibility reasons the default value is ReportingPolicy.IGNORE.

    +
    +
    +
    +
    +
      +
    • +

      Between all Java primitive types (including their wrappers) and String, e.g. between int and String or Boolean and String. A format string as understood by java.text.DecimalFormat can be specified.

      +
    • +
    +
    +
    +
    Example 38. Conversion from int to String
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper
    +public interface CarMapper {
    +
    +    @Mapping(source = "price", numberFormat = "$#.00")
    +    CarDto carToCarDto(Car car);
    +
    +    @IterableMapping(numberFormat = "$#.00")
    +    List<String> prices(List<Integer> prices);
    +}
    +
    +
    +
    +
    +
    +
      +
    • +

      Between enum types and String.

      +
    • +
    • +

      Between enum types and Integer, according to enum.ordinal().

      +
      +
        +
      • +

        When converting from an Integer, the value needs to be less than the number of values of the enum, otherwise an ArrayOutOfBoundsException is thrown.

        +
      • +
      +
      +
    • +
    • +

      Between big number types (java.math.BigInteger, java.math.BigDecimal) and Java primitive types (including their wrappers) as well as String. A format string as understood by java.text.DecimalFormat can be specified.

      +
    • +
    +
    +
    +
    Example 39. Conversion from BigDecimal to String
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper
    +public interface CarMapper {
    +
    +    @Mapping(source = "power", numberFormat = "#.##E0")
    +    CarDto carToCarDto(Car car);
    +
    +}
    +
    +
    +
    +
    +
    +
      +
    • +

      Between JAXBElement<T> and T, List<JAXBElement<T>> and List<T>

      +
    • +
    • +

      Between java.util.Calendar/java.util.Date and JAXB’s XMLGregorianCalendar

      +
    • +
    • +

      Between java.util.Date/XMLGregorianCalendar and String. A format string as understood by java.text.SimpleDateFormat can be specified via the dateFormat option as this:

      +
    • +
    +
    +
    +
    Example 40. Conversion from Date to String
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper
    +public interface CarMapper {
    +
    +    @Mapping(source = "manufacturingDate", dateFormat = "dd.MM.yyyy")
    +    CarDto carToCarDto(Car car);
    +
    +    @IterableMapping(dateFormat = "dd.MM.yyyy")
    +    List<String> stringListToDateList(List<Date> dates);
    +}
    +
    +
    +
    +
    +
    +
      +
    • +

      Between Jodas org.joda.time.DateTime, org.joda.time.LocalDateTime, org.joda.time.LocalDate, org.joda.time.LocalTime and String. A format string as understood by java.text.SimpleDateFormat can be specified via the dateFormat option (see above).

      +
    • +
    • +

      Between Jodas org.joda.time.DateTime and javax.xml.datatype.XMLGregorianCalendar, java.util.Calendar.

      +
    • +
    • +

      Between Jodas org.joda.time.LocalDateTime, org.joda.time.LocalDate and javax.xml.datatype.XMLGregorianCalendar, java.util.Date.

      +
    • +
    • +

      Between java.time.LocalDate, java.time.LocalDateTime and javax.xml.datatype.XMLGregorianCalendar.

      +
    • +
    • +

      Between java.time.ZonedDateTime, java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime from Java 8 Date-Time package and String. A format string as understood by java.text.SimpleDateFormat can be specified via the dateFormat option (see above).

      +
    • +
    • +

      Between java.time.Instant, java.time.Duration, java.time.Period from Java 8 Date-Time package and String using the parse method in each class to map from String and using toString to map into String.

      +
    • +
    • +

      Between java.time.ZonedDateTime from Java 8 Date-Time package and java.util.Date where, when mapping a ZonedDateTime from a given Date, the system default timezone is used.

      +
    • +
    • +

      Between java.time.LocalDateTime from Java 8 Date-Time package and java.util.Date where timezone UTC is used as the timezone.

      +
    • +
    • +

      Between java.time.LocalDate from Java 8 Date-Time package and java.util.Date / java.sql.Date where timezone UTC is used as the timezone.

      +
    • +
    • +

      Between java.time.Instant from Java 8 Date-Time package and java.util.Date.

      +
    • +
    • +

      Between java.time.LocalDateTime from Java 8 Date-Time package and java.time.LocalDate from the same package.

      +
    • +
    • +

      Between java.time.ZonedDateTime from Java 8 Date-Time package and java.util.Calendar.

      +
    • +
    • +

      Between java.sql.Date and java.util.Date

      +
    • +
    • +

      Between java.sql.Time and java.util.Date

      +
    • +
    • +

      Between java.sql.Timestamp and java.util.Date

      +
    • +
    • +

      When converting from a String, omitting Mapping#dateFormat, it leads to usage of the default pattern and date format symbols for the default locale. An exception to this rule is XmlGregorianCalendar which results in parsing the String according to XML Schema 1.0 Part 2, Section 3.2.7-14.1, Lexical Representation.

      +
    • +
    • +

      Between java.util.Currency and String.

      +
      +
        +
      • +

        When converting from a String, the value needs to be a valid ISO-4217 alphabetic code otherwise an IllegalArgumentException is thrown.

        +
      • +
      +
      +
    • +
    • +

      Between java.util.UUID and String.

      +
      +
        +
      • +

        When converting from a String, the value needs to be a valid UUID otherwise an IllegalArgumentException is thrown.

        +
      • +
      +
      +
    • +
    • +

      Between String and StringBuilder

      +
    • +
    • +

      Between java.net.URL and String.

      +
      +
        +
      • +

        When converting from a String, the value needs to be a valid URL otherwise a MalformedURLException is thrown.

        +
      • +
      +
      +
    • +
    • +

      Between java.util.Locale and String.

      +
      +
        +
      • +

        When converting from a Locale, the resulting String will be a well-formed IETF BCP 47 language tag representing the locale. When converting from a String, the locale that best represents the language tag will be returned. See Locale.forLanguageTag() and Locale.toLanguageTag() for more information.

        +
      • +
      +
      +
    • +
    +
    +
    +
    +

    5.2. Mapping object references

    +
    +

    Typically an object has not only primitive attributes but also references other objects. E.g. the Car class could contain a reference to a Person object (representing the car’s driver) which should be mapped to a PersonDto object referenced by the CarDto class.

    +
    +
    +

    In this case just define a mapping method for the referenced object type as well:

    +
    +
    +
    Example 41. Mapper with one mapping method using another
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper
    +public interface CarMapper {
    +
    +    CarDto carToCarDto(Car car);
    +
    +    PersonDto personToPersonDto(Person person);
    +}
    +
    +
    +
    +
    +
    +

    The generated code for the carToCarDto() method will invoke the personToPersonDto() method for mapping the driver attribute, while the generated implementation for personToPersonDto() performs the mapping of person objects.

    +
    +
    +

    That way it is possible to map arbitrary deep object graphs. When mapping from entities into data transfer objects it is often useful to cut references to other entities at a certain point. To do so, implement a custom mapping method (see the next section) which e.g. maps a referenced entity to its id in the target object.

    +
    +
    +

    When generating the implementation of a mapping method, MapStruct will apply the following routine for each attribute pair in the source and target object:

    +
    +
    +
      +
    1. +

      If source and target attribute have the same type, the value will be simply copied direct from source to target. If the attribute is a collection (e.g. a List) a copy of the collection will be set into the target attribute.

      +
    2. +
    3. +

      If source and target attribute type differ, check whether there is another mapping method which has the type of the source attribute as parameter type and the type of the target attribute as return type. If such a method exists it will be invoked in the generated mapping implementation.

      +
    4. +
    5. +

      If no such method exists MapStruct will look whether a built-in conversion for the source and target type of the attribute exists. If this is the case, the generated mapping code will apply this conversion.

      +
    6. +
    7. +

      If no such method exists MapStruct will apply complex conversions:

      +
      +
        +
      1. +

        mapping method, the result mapped by mapping method, like this: target = method1( method2( source ) )

        +
      2. +
      3. +

        built-in conversion, the result mapped by mapping method, like this: target = method( conversion( source ) )

        +
      4. +
      5. +

        mapping method, the result mapped by build-in conversion, like this: target = conversion( method( source ) )

        +
      6. +
      +
      +
    8. +
    9. +

      If no such method was found MapStruct will try to generate an automatic sub-mapping method that will do the mapping between the source and target attributes.

      +
    10. +
    11. +

      If MapStruct could not create a name based mapping method an error will be raised at build time, indicating the non-mappable attribute and its path.

      +
    12. +
    +
    +
    +

    A mapping control (MappingControl) can be defined on all levels (@MapperConfig, @Mapper, @BeanMapping, @Mapping), the latter taking precedence over the former. For example: @Mapper( mappingControl = NoComplexMapping.class ) takes precedence over @MapperConfig( mappingControl = DeepClone.class ). @IterableMapping and @MapMapping work similar as @Mapping. MappingControl is experimental from MapStruct 1.4. +MappingControl has an enum that corresponds to the first 4 options above: MappingControl.Use#DIRECT, MappingControl.Use#MAPPING_METHOD, MappingControl.Use#BUILT_IN_CONVERSION and MappingControl.Use#COMPLEX_MAPPING the presence of which allows the user to switch on a option. The absence of an enum switches off a mapping option. Default they are all present enabling all mapping options.

    +
    +
    + + + + + +
    + + +
    +

    In order to stop MapStruct from generating automatic sub-mapping methods as in 5. above, one can use @Mapper( disableSubMappingMethodsGeneration = true ).

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    The user has full control over the mapping by means of meta annotations. Some handy ones have been defined such as @DeepClone which only allows direct mappings. The result: if source and target type are the same, MapStruct will make a deep clone of the source. Sub-mappings-methods have to be allowed (default option).

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    During the generation of automatic sub-mapping methods Shared configurations will not be taken into consideration, yet. +Follow issue #1086 for more information.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Constructor properties of the target object are also considered as target properties. +You can read more about that in Using Constructors

    +
    +
    +
    +
    +
    +

    5.3. Controlling nested bean mappings

    +
    +

    As explained above, MapStruct will generate a method based on the name of the source and target property. Unfortunately, in many occasions these names do not match.

    +
    +
    +

    The ‘.’ notation in an @Mapping source or target type can be used to control how properties should be mapped when names do not match. +There is an elaborate example in our examples repository to explain how this problem can be overcome.

    +
    +
    +

    In the simplest scenario there’s a property on a nested level that needs to be corrected. +Take for instance a property fish which has an identical name in FishTankDto and FishTank. +For this property MapStruct automatically generates a mapping: FishDto fishToFishDto(Fish fish). +MapStruct cannot possibly be aware of the deviating properties kind and type. +Therefore this can be addressed in a mapping rule: @Mapping(target="fish.kind", source="fish.type"). +This tells MapStruct to deviate from looking for a name kind at this level and map it to type.

    +
    +
    +
    Example 42. Mapper controlling nested beans mappings I
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +public interface FishTankMapper {
    +
    +    @Mapping(target = "fish.kind", source = "fish.type")
    +    @Mapping(target = "fish.name", ignore = true)
    +    @Mapping(target = "ornament", source = "interior.ornament")
    +    @Mapping(target = "material.materialType", source = "material")
    +    @Mapping(target = "quality.report.organisation.name", source = "quality.report.organisationName")
    +    FishTankDto map( FishTank source );
    +}
    +
    +
    +
    +
    +
    +

    The same constructs can be used to ignore certain properties at a nesting level, as is demonstrated in the second @Mapping rule.

    +
    +
    +

    MapStruct can even be used to “cherry pick” properties when source and target do not share the same nesting level (the same number of properties). +This can be done in the source – and in the target type. This is demonstrated in the next 2 rules: @Mapping(target="ornament", source="interior.ornament") and @Mapping(target="material.materialType", source="material").

    +
    +
    +

    The latter can even be done when mappings first share a common base. +For example: all properties that share the same name of Quality are mapped to QualityDto. +Likewise, all properties of Report are mapped to ReportDto, with one exception: organisation in OrganisationDto is left empty (since there is no organization at the source level). +Only the name is populated with the organisationName from Report. +This is demonstrated in @Mapping(target="quality.report.organisation.name", source="quality.report.organisationName")

    +
    +
    +

    Coming back to the original example: what if kind and type would be beans themselves? +In that case MapStruct would again generate a method continuing to map. +Such is demonstrated in the next example:

    +
    +
    +
    Example 43. Mapper controlling nested beans mappings II
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    @Mapper
    +public interface FishTankMapperWithDocument {
    +
    +    @Mapping(target = "fish.kind", source = "fish.type")
    +    @Mapping(target = "fish.name", expression = "java(\"Jaws\")")
    +    @Mapping(target = "plant", ignore = true )
    +    @Mapping(target = "ornament", ignore = true )
    +    @Mapping(target = "material", ignore = true)
    +    @Mapping(target = "quality.document", source = "quality.report")
    +    @Mapping(target = "quality.document.organisation.name", constant = "NoIdeaInc" )
    +    FishTankWithNestedDocumentDto map( FishTank source );
    +
    +}
    +
    +
    +
    +
    +
    +

    Note what happens in @Mapping(target="quality.document", source="quality.report"). +DocumentDto does not exist as such on the target side. It is mapped from Report. +MapStruct continues to generate mapping code here. That mapping itself can be guided towards another name. +This even works for constants and expression. Which is shown in the final example: @Mapping(target="quality.document.organisation.name", constant="NoIdeaInc").

    +
    +
    +

    MapStruct will perform a null check on each nested property in the source.

    +
    +
    + + + + + +
    + + +
    +

    Instead of configuring everything via the parent method we encourage users to explicitly write their own nested methods. +This puts the configuration of the nested mapping into one place (method) where it can be reused from several methods in the upper level, +instead of re-configuring the same things on all of those upper methods.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    In some cases the ReportingPolicy that is going to be used for the generated nested method would be IGNORE. +This means that it is possible for MapStruct not to report unmapped target properties in nested mappings.

    +
    +
    +
    +
    +
    +

    5.4. Invoking custom mapping method

    +
    +

    Sometimes mappings are not straightforward and some fields require custom logic.

    +
    +
    +

    The example below demonstrates how the properties length, width and height in FishTank can be mapped to the VolumeDto bean, which is a member of FishTankWithVolumeDto. VolumeDto contains the properties volume and description. Custom logic is achieved by defining a method which takes FishTank instance as a parameter and returns a VolumeDto. MapStruct will take the entire parameter source and generate code to call the custom method mapVolume in order to map the FishTank object to the target property volume.

    +
    +
    +

    The remainder of the fields could be mapped the regular way: using mappings defined defined by means of @Mapping annotations.

    +
    +
    +
    Example 44. Manually implemented mapping method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +
    public class FishTank {
    +    Fish fish;
    +    String material;
    +    Quality quality;
    +    int length;
    +    int width;
    +    int height;
    +}
    +
    +public class FishTankWithVolumeDto {
    +    FishDto fish;
    +    MaterialDto material;
    +    QualityDto quality;
    +    VolumeDto volume;
    +}
    +
    +public class VolumeDto {
    +    int volume;
    +    String description;
    +}
    +
    +@Mapper
    +public abstract class FishTankMapperWithVolume {
    +
    +    @Mapping(target = "fish.kind", source = "source.fish.type")
    +    @Mapping(target = "material.materialType", source = "source.material")
    +    @Mapping(target = "quality.document", source = "source.quality.report")
    +    @Mapping(target = "volume", source = "source")
    +    abstract FishTankWithVolumeDto map(FishTank source);
    +
    +    VolumeDto mapVolume(FishTank source) {
    +        int volume = source.length * source.width * source.height;
    +        String desc = volume < 100 ? "Small" : "Large";
    +        return new VolumeDto(volume, desc);
    +    }
    +}
    +
    +
    +
    +
    +
    +

    Note the @Mapping annotation where source field is equal to "source", indicating the parameter name source itself in the method map(FishTank source) instead of a (target) property in FishTank.

    +
    +
    +
    +

    5.5. Invoking other mappers

    +
    +

    In addition to methods defined on the same mapper type MapStruct can also invoke mapping methods defined in other classes, be it mappers generated by MapStruct or hand-written mapping methods. This can be useful to structure your mapping code in several classes (e.g. with one mapper type per application module) or if you want to provide custom mapping logic which can’t be generated by MapStruct.

    +
    +
    +

    For instance the Car class might contain an attribute manufacturingDate while the corresponding DTO attribute is of type String. In order to map this attribute, you could implement a mapper class like this:

    +
    +
    +
    Example 45. Manually implemented mapper class
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +
    public class DateMapper {
    +
    +    public String asString(Date date) {
    +        return date != null ? new SimpleDateFormat( "yyyy-MM-dd" )
    +            .format( date ) : null;
    +    }
    +
    +    public Date asDate(String date) {
    +        try {
    +            return date != null ? new SimpleDateFormat( "yyyy-MM-dd" )
    +                .parse( date ) : null;
    +        }
    +        catch ( ParseException e ) {
    +            throw new RuntimeException( e );
    +        }
    +    }
    +}
    +
    +
    +
    +
    +
    +

    In the @Mapper annotation at the CarMapper interface reference the DateMapper class like this:

    +
    +
    +
    Example 46. Referencing another mapper class
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    @Mapper(uses=DateMapper.class)
    +public interface CarMapper {
    +
    +    CarDto carToCarDto(Car car);
    +}
    +
    +
    +
    +
    +
    +

    When generating code for the implementation of the carToCarDto() method, MapStruct will look for a method which maps a Date object into a String, find it on the DateMapper class and generate an invocation of asString() for mapping the manufacturingDate attribute.

    +
    +
    +

    Generated mappers retrieve referenced mappers using the component model configured for them. If e.g. CDI was used as component model for CarMapper, DateMapper would have to be a CDI bean as well. When using the default component model, any hand-written mapper classes to be referenced by MapStruct generated mappers must declare a public no-args constructor in order to be instantiable.

    +
    +
    +
    +

    5.6. Passing the mapping target type to custom mappers

    +
    +

    When having a custom mapper hooked into the generated mapper with @Mapper#uses(), an additional parameter of type Class (or a super-type of it) can be defined in the custom mapping method in order to perform general mapping tasks for specific target object types. That attribute must be annotated with @TargetType for MapStruct to generate calls that pass the Class instance representing the corresponding property type of the target bean.

    +
    +
    +

    For instance, the CarDto could have a property owner of type Reference that contains the primary key of a Person entity. You could now create a generic custom mapper that resolves any Reference objects to their corresponding managed JPA entity instances.

    +
    +
    +
    Example 47. Mapping method expecting mapping target type as parameter
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +
    @ApplicationScoped // CDI component model
    +public class ReferenceMapper {
    +
    +    @PersistenceContext
    +    private EntityManager entityManager;
    +
    +    public <T extends BaseEntity> T resolve(Reference reference, @TargetType Class<T> entityClass) {
    +        return reference != null ? entityManager.find( entityClass, reference.getPk() ) : null;
    +    }
    +
    +    public Reference toReference(BaseEntity entity) {
    +        return entity != null ? new Reference( entity.getPk() ) : null;
    +    }
    +}
    +
    +@Mapper(componentModel = MappingConstants.ComponentModel.CDI, uses = ReferenceMapper.class )
    +public interface CarMapper {
    +
    +    Car carDtoToCar(CarDto carDto);
    +}
    +
    +
    +
    +
    +
    +

    MapStruct will then generate something like this:

    +
    +
    +
    Example 48. Generated code
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +
    //GENERATED CODE
    +@ApplicationScoped
    +public class CarMapperImpl implements CarMapper {
    +
    +    @Inject
    +    private ReferenceMapper referenceMapper;
    +
    +    @Override
    +    public Car carDtoToCar(CarDto carDto) {
    +        if ( carDto == null ) {
    +            return null;
    +        }
    +
    +        Car car = new Car();
    +
    +        car.setOwner( referenceMapper.resolve( carDto.getOwner(), Owner.class ) );
    +        // ...
    +
    +        return car;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    +

    5.7. Passing context or state objects to custom methods

    +
    +

    Additional context or state information can be passed through generated mapping methods to custom methods with @Context parameters. Such parameters are passed to other mapping methods, @ObjectFactory methods (see Object factories) or @BeforeMapping / @AfterMapping methods (see Mapping customization with before-mapping and after-mapping methods) when applicable and can thus be used in custom code.

    +
    +
    +

    @Context parameters are searched for @ObjectFactory methods, which are called on the provided context parameter value if applicable.

    +
    +
    +

    @Context parameters are also searched for @BeforeMapping / @AfterMapping methods, which are called on the provided context parameter value if applicable.

    +
    +
    +

    Note: no null checks are performed before calling before/after mapping methods on context parameters. The caller needs to make sure that null is not passed in that case.

    +
    +
    +

    For generated code to call a method that is declared with @Context parameters, the declaration of the mapping method being generated needs to contain at least those (or assignable) @Context parameters as well. The generated code will not create new instances of missing @Context parameters nor will it pass a literal null instead.

    +
    +
    +
    Example 49. Using @Context parameters for passing data down to hand-written property mapping methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    public abstract CarDto toCar(Car car, @Context Locale translationLocale);
    +
    +protected OwnerManualDto translateOwnerManual(OwnerManual ownerManual, @Context Locale locale) {
    +    // manually implemented logic to translate the OwnerManual with the given Locale
    +}
    +
    +
    +
    +
    +
    +

    MapStruct will then generate something like this:

    +
    +
    +
    Example 50. Generated code
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    //GENERATED CODE
    +public CarDto toCar(Car car, Locale translationLocale) {
    +    if ( car == null ) {
    +        return null;
    +    }
    +
    +    CarDto carDto = new CarDto();
    +
    +    carDto.setOwnerManual( translateOwnerManual( car.getOwnerManual(), translationLocale );
    +    // more generated mapping code
    +
    +    return carDto;
    +}
    +
    +
    +
    +
    +
    +
    +

    5.8. Mapping method resolution

    +
    +

    When mapping a property from one type to another, MapStruct looks for the most specific method which maps the source type into the target type. The method may either be declared on the same mapper interface or on another mapper which is registered via @Mapper#uses(). The same applies for factory methods (see Object factories).

    +
    +
    +

    The algorithm for finding a mapping or factory method resembles Java’s method resolution algorithm as much as possible. In particular, methods with a more specific source type will take precedence (e.g. if there are two methods, one which maps the searched source type, and another one which maps a super-type of the same). In case more than one most-specific method is found, an error will be raised.

    +
    +
    + + + + + +
    + + +
    +

    When working with JAXB, e.g. when converting a String to a corresponding JAXBElement<String>, MapStruct will take the scope and name attributes of @XmlElementDecl annotations into account when looking for a mapping method. This makes sure that the created JAXBElement instances will have the right QNAME value. You can find a test which maps JAXB objects here.

    +
    +
    +
    +
    +
    +

    5.9. Mapping method selection based on qualifiers

    +
    +

    In many occasions one requires mapping methods with the same method signature (apart from the name) that have different behavior. +MapStruct has a handy mechanism to deal with such situations: @Qualifier (org.mapstruct.Qualifier). +A ‘qualifier’ is a custom annotation that the user can write, ‘stick onto’ a mapping method which is included as used mapper +and can be referred to in a bean property mapping, iterable mapping or map mapping. +Multiple qualifiers can be ‘stuck onto’ a method and mapping.

    +
    +
    +

    So, let’s say there is a hand-written method to map titles with a String return type and String argument amongst many other referenced mappers with the same String return type - String argument signature:

    +
    +
    +
    Example 51. Several mapping methods with identical source and target types
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    public class Titles {
    +
    +    public String translateTitleEG(String title) {
    +        // some mapping logic
    +    }
    +
    +    public String translateTitleGE(String title) {
    +        // some mapping logic
    +    }
    +}
    +
    +
    +
    +
    +
    +

    And a mapper using this handwritten mapper, in which source and target have a property 'title' that should be mapped:

    +
    +
    +
    Example 52. Mapper causing an ambiguous mapping method error
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +
    @Mapper( uses = Titles.class )
    +public interface MovieMapper {
    +
    +     GermanRelease toGerman( OriginalRelease movies );
    +
    +}
    +
    +
    +
    +
    +
    +

    Without the use of qualifiers, this would result in an ambiguous mapping method error, because 2 qualifying methods are found (translateTitleEG, translateTitleGE) and MapStruct would not have a hint which one to choose.

    +
    +
    +

    Enter the qualifier approach:

    +
    +
    +
    Example 53. Declaring a qualifier type
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    import org.mapstruct.Qualifier;
    +
    +@Qualifier
    +@Target(ElementType.TYPE)
    +@Retention(RetentionPolicy.CLASS)
    +public @interface TitleTranslator {
    +}
    +
    +
    +
    +
    +
    +

    And, some qualifiers to indicate which translator to use to map from source language to target language:

    +
    +
    +
    Example 54. Declaring qualifier types for mapping methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    import org.mapstruct.Qualifier;
    +
    +@Qualifier
    +@Target(ElementType.METHOD)
    +@Retention(RetentionPolicy.CLASS)
    +public @interface EnglishToGerman {
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    import org.mapstruct.Qualifier;
    +
    +@Qualifier
    +@Target(ElementType.METHOD)
    +@Retention(RetentionPolicy.CLASS)
    +public @interface GermanToEnglish {
    +}
    +
    +
    +
    +
    +
    +

    Please take note of the target TitleTranslator on type level, EnglishToGerman, GermanToEnglish on method level!

    +
    +
    +

    Then, using the qualifiers, the mapping could look like this:

    +
    +
    +
    Example 55. Mapper using qualifiers
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper( uses = Titles.class )
    +public interface MovieMapper {
    +
    +     @Mapping( target = "title", qualifiedBy = { TitleTranslator.class, EnglishToGerman.class } )
    +     GermanRelease toGerman( OriginalRelease movies );
    +
    +}
    +
    +
    +
    +
    +
    +
    Example 56. Custom mapper qualifying the methods it provides
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    @TitleTranslator
    +public class Titles {
    +
    +    @EnglishToGerman
    +    public String translateTitleEG(String title) {
    +        // some mapping logic
    +    }
    +
    +    @GermanToEnglish
    +    public String translateTitleGE(String title) {
    +        // some mapping logic
    +    }
    +}
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Please make sure the used retention policy equals retention policy CLASS (@Retention(RetentionPolicy.CLASS)).

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    A class / method annotated with a qualifier will not qualify anymore for mappings that do not have the qualifiedBy element.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    The same mechanism is also present on bean mappings: @BeanMapping#qualifiedBy: it selects the factory method marked with the indicated qualifier.

    +
    +
    +
    +
    +

    In many occasions, declaring a new annotation to aid the selection process can be too much for what you try to achieve. For those situations, MapStruct has the @Named annotation. This annotation is a pre-defined qualifier (annotated with @Qualifier itself) and can be used to name a Mapper or, more directly a mapping method by means of its value. The same example above would look like:

    +
    +
    +
    Example 57. Custom mapper, annotating the methods to qualify by means of @Named
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    @Named("TitleTranslator")
    +public class Titles {
    +
    +    @Named("EnglishToGerman")
    +    public String translateTitleEG(String title) {
    +        // some mapping logic
    +    }
    +
    +    @Named("GermanToEnglish")
    +    public String translateTitleGE(String title) {
    +        // some mapping logic
    +    }
    +}
    +
    +
    +
    +
    +
    +
    Example 58. Mapper using named
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper( uses = Titles.class )
    +public interface MovieMapper {
    +
    +     @Mapping( target = "title", qualifiedByName = { "TitleTranslator", "EnglishToGerman" } )
    +     GermanRelease toGerman( OriginalRelease movies );
    +
    +}
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Although the used mechanism is the same, the user has to be a bit more careful. Refactoring the name of a defined qualifier in an IDE will neatly refactor all other occurrences as well. This is obviously not the case for changing a name.

    +
    +
    +
    +
    +
    +

    5.10. Combining qualifiers with defaults

    +
    +

    Please note that the Mapping#defaultValue is in essence a String, which needs to be converted to the Mapping#target. Providing a Mapping#qualifiedByName or Mapping#qualifiedBy will force MapStruct to use that method. If you want different behavior for the Mapping#defaultValue, then please provide an appropriate mapping method. This mapping method needs to transforms a String into the desired type of Mapping#target and also be annotated so that it can be found by the Mapping#qualifiedByName or Mapping#qualifiedBy.

    +
    +
    +
    Example 59. Mapper using defaultValue
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    @Mapper
    +public interface MovieMapper {
    +
    +     @Mapping( target = "category", qualifiedByName = "CategoryToString", defaultValue = "DEFAULT" )
    +     GermanRelease toGerman( OriginalRelease movies );
    +
    +     @Named("CategoryToString")
    +     default String defaultValueForQualifier(Category cat) {
    +         // some mapping logic
    +     }
    +}
    +
    +
    +
    +
    +
    +

    In the above example in case that category is null, the method CategoryToString( Enum.valueOf( Category.class, "DEFAULT" ) ) will be called and the result will be set to the category field.

    +
    +
    +
    Example 60. Mapper using defaultValue and default method.
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +
    @Mapper
    +public interface MovieMapper {
    +
    +     @Mapping( target = "category", qualifiedByName = "CategoryToString", defaultValue = "Unknown" )
    +     GermanRelease toGerman( OriginalRelease movies );
    +
    +     @Named("CategoryToString")
    +     default String defaultValueForQualifier(Category cat) {
    +         // some mapping logic
    +     }
    +
    +     @Named("CategoryToString")
    +     default String defaultValueForQualifier(String value) {
    +         return value;
    +     }
    +}
    +
    +
    +
    +
    +
    +

    In the above example in case that category is null, the method defaultValueForQualifier( "Unknown" ) will be called and the result will be set to the category field.

    +
    +
    +

    If the above mentioned methods do not work there is the option to use defaultExpression to set the default value.

    +
    +
    +
    Example 61. Mapper using defaultExpression
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    @Mapper
    +public interface MovieMapper {
    +
    +     @Mapping( target = "category", qualifiedByName = "CategoryToString", defaultExpression = "java(\"Unknown\")" )
    +     GermanRelease toGerman( OriginalRelease movies );
    +
    +     @Named("CategoryToString")
    +     default String defaultValueForQualifier(Category cat) {
    +         // some mapping logic
    +     }
    +}
    +
    +
    +
    +
    +
    +
    +
    +
    +

    6. Mapping collections

    +
    +
    +

    The mapping of collection types (List, Set etc.) is done in the same way as mapping bean types, i.e. by defining mapping methods with the required source and target types in a mapper interface. MapStruct supports a wide range of iterable types from the Java Collection Framework.

    +
    +
    +

    The generated code will contain a loop which iterates over the source collection, converts each element and puts it into the target collection. If a mapping method for the collection element types is found in the given mapper or the mapper it uses, this method is invoked to perform the element conversion. Alternatively, if an implicit conversion for the source and target element types exists, this conversion routine will be invoked. The following shows an example:

    +
    +
    +
    Example 62. Mapper with collection mapping methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper
    +public interface CarMapper {
    +
    +    Set<String> integerSetToStringSet(Set<Integer> integers);
    +
    +    List<CarDto> carsToCarDtos(List<Car> cars);
    +
    +    CarDto carToCarDto(Car car);
    +}
    +
    +
    +
    +
    +
    +

    The generated implementation of the integerSetToStringSet performs the conversion from Integer to String for each element, while the generated carsToCarDtos() method invokes the carToCarDto() method for each contained element as shown in the following:

    +
    +
    +
    Example 63. Generated collection mapping methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +
    //GENERATED CODE
    +@Override
    +public Set<String> integerSetToStringSet(Set<Integer> integers) {
    +    if ( integers == null ) {
    +        return null;
    +    }
    +
    +    Set<String> set = new LinkedHashSet<String>();
    +
    +    for ( Integer integer : integers ) {
    +        set.add( String.valueOf( integer ) );
    +    }
    +
    +    return set;
    +}
    +
    +@Override
    +public List<CarDto> carsToCarDtos(List<Car> cars) {
    +    if ( cars == null ) {
    +        return null;
    +    }
    +
    +    List<CarDto> list = new ArrayList<CarDto>();
    +
    +    for ( Car car : cars ) {
    +        list.add( carToCarDto( car ) );
    +    }
    +
    +    return list;
    +}
    +
    +
    +
    +
    +
    +

    Note that MapStruct will look for a collection mapping method with matching parameter and return type, when mapping a collection-typed attribute of a bean, e.g. from Car#passengers (of type List<Person>) to CarDto#passengers (of type List<PersonDto>).

    +
    +
    +
    Example 64. Usage of collection mapping method to map a bean property
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +
    //GENERATED CODE
    +carDto.setPassengers( personsToPersonDtos( car.getPassengers() ) );
    +...
    +
    +
    +
    +
    +
    +

    Some frameworks and libraries only expose JavaBeans getters but no setters for collection-typed properties. Types generated from an XML schema using JAXB adhere to this pattern by default. In this case the generated code for mapping such a property invokes its getter and adds all the mapped elements:

    +
    +
    +
    Example 65. Usage of an adding method for collection mapping
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +
    //GENERATED CODE
    +carDto.getPassengers().addAll( personsToPersonDtos( car.getPassengers() ) );
    +...
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    It is not allowed to declare mapping methods with an iterable source (from a java package) and a non-iterable target or the other way around. An error will be raised when detecting this situation.

    +
    +
    +
    +
    +

    6.1. Mapping maps

    +
    +

    Also map-based mapping methods are supported. The following shows an example:

    +
    +
    +
    Example 66. Map mapping method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    public interface SourceTargetMapper {
    +
    +    @MapMapping(valueDateFormat = "dd.MM.yyyy")
    +    Map<String, String> longDateMapToStringStringMap(Map<Long, Date> source);
    +}
    +
    +
    +
    +
    +
    +

    Similar to iterable mappings, the generated code will iterate through the source map, convert each value and key (either by means of an implicit conversion or by invoking another mapping method) and put them into the target map:

    +
    +
    +
    Example 67. Generated implementation of map mapping method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +
    //GENERATED CODE
    +@Override
    +public Map<Long, Date> stringStringMapToLongDateMap(Map<String, String> source) {
    +    if ( source == null ) {
    +        return null;
    +    }
    +
    +    Map<Long, Date> map = new LinkedHashMap<Long, Date>();
    +
    +    for ( Map.Entry<String, String> entry : source.entrySet() ) {
    +
    +        Long key = Long.parseLong( entry.getKey() );
    +        Date value;
    +        try {
    +            value = new SimpleDateFormat( "dd.MM.yyyy" ).parse( entry.getValue() );
    +        }
    +        catch( ParseException e ) {
    +            throw new RuntimeException( e );
    +        }
    +
    +        map.put( key, value );
    +    }
    +
    +    return map;
    +}
    +
    +
    +
    +
    +
    +
    +

    6.2. Collection mapping strategies

    +
    +

    MapStruct has a CollectionMappingStrategy, with the possible values: ACCESSOR_ONLY, SETTER_PREFERRED, ADDER_PREFERRED and TARGET_IMMUTABLE.

    +
    +
    +

    In the table below, the dash - indicates a property name. Next, the trailing s indicates the plural form. The table explains the options and how they are applied to the presence/absence of a set-s, add- and / or get-s method on the target object:

    +
    + + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 2. Collection mapping strategy options
    OptionOnly target set-s AvailableOnly target add- AvailableBoth set-s / add- AvailableNo set-s / add- AvailableExisting Target(@TargetType)

    ACCESSOR_ONLY

    set-s

    get-s

    set-s

    get-s

    get-s

    SETTER_PREFERRED

    set-s

    add-

    set-s

    get-s

    get-s

    ADDER_PREFERRED

    set-s

    add-

    add-

    get-s

    get-s

    TARGET_IMMUTABLE

    set-s

    exception

    set-s

    exception

    set-s

    +
    +

    Some background: An adder method is typically used in case of generated (JPA) entities, to add a single element (entity) to an underlying collection. Invoking the adder establishes a parent-child relation between parent - the bean (entity) on which the adder is invoked - and its child(ren), the elements (entities) in the collection. To find the appropriate adder, MapStruct will try to make a match between the generic parameter type of the underlying collection and the single argument of a candidate adder. When there are more candidates, the plural setter / getter name is converted to singular and will be used in addition to make a match.

    +
    +
    +

    The option DEFAULT should not be used explicitly. It is used to distinguish between an explicit user desire to override the default in a @MapperConfig from the implicit Mapstruct choice in a @Mapper. The option DEFAULT is synonymous to ACCESSOR_ONLY.

    +
    +
    + + + + + +
    + + +
    +

    When working with an adder method and JPA entities, Mapstruct assumes that the target collections are initialized with a collection implementation (e.g. an ArrayList). You can use factories to create a new target entity with intialized collections instead of Mapstruct creating the target entity by its constructor.

    +
    +
    +
    +
    +
    +

    6.3. Implementation types used for collection mappings

    +
    +

    When an iterable or map mapping method declares an interface type as return type, one of its implementation types will be instantiated in the generated code. The following table shows the supported interface types and their corresponding implementation types as instantiated in the generated code:

    +
    + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 3. Collection mapping implementation types
    Interface typeImplementation type

    Iterable

    ArrayList

    Collection

    ArrayList

    List

    ArrayList

    Set

    LinkedHashSet

    SortedSet

    TreeSet

    NavigableSet

    TreeSet

    Map

    LinkedHashMap

    SortedMap

    TreeMap

    NavigableMap

    TreeMap

    ConcurrentMap

    ConcurrentHashMap

    ConcurrentNavigableMap

    ConcurrentSkipListMap

    +
    +
    +
    +
    +

    7. Mapping Streams

    +
    +
    +

    The mapping of java.util.Stream is done in a similar way as the mapping of collection types, i.e. by defining mapping +methods with the required source and target types in a mapper interface.

    +
    +
    +

    The generated code will contain the creation of a Stream from the provided Iterable/array or will collect the +provided Stream into an Iterable/array. If a mapping method or an implicit conversion for the source and target +element types exists, then this conversion will be done in Stream#map(). The following shows an example:

    +
    +
    +
    Example 68. Mapper with stream mapping methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper
    +public interface CarMapper {
    +
    +    Set<String> integerStreamToStringSet(Stream<Integer> integers);
    +
    +    List<CarDto> carsToCarDtos(Stream<Car> cars);
    +
    +    CarDto carToCarDto(Car car);
    +}
    +
    +
    +
    +
    +
    +

    The generated implementation of the integerStreamToStringSet() performs the conversion from Integer to String for +each element, while the generated carsToCarDtos() method invokes the carToCarDto() method for each contained +element as shown in the following:

    +
    +
    +
    Example 69. Generated stream mapping methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +
    //GENERATED CODE
    +@Override
    +public Set<String> integerStreamToStringSet(Stream<Integer> integers) {
    +    if ( integers == null ) {
    +        return null;
    +    }
    +
    +    return integers.map( integer -> String.valueOf( integer ) )
    +        .collect( Collectors.toCollection( LinkedHashSet<String>::new ) );
    +}
    +
    +@Override
    +public List<CarDto> carsToCarDtos(Stream<Car> cars) {
    +    if ( cars == null ) {
    +        return null;
    +    }
    +
    +    return cars.map( car -> carToCarDto( car ) )
    +        .collect( Collectors.toCollection( ArrayList<CarDto>::new ) );
    +}
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    If a mapping from a Stream to an Iterable or an array is performed, then the passed Stream will be consumed +and it will no longer be possible to consume it.

    +
    +
    +
    +
    +

    The same implementation types as in Implementation types used for collection mappings are used for the creation of the +collection when doing Stream to Iterable mapping.

    +
    +
    +
    +
    +

    8. Mapping Values

    +
    +
    +

    8.1. Mapping enum to enum types

    +
    +

    MapStruct supports the generation of methods which map one Java enum type into another.

    +
    +
    +

    By default, each constant from the source enum is mapped to a constant with the same name in the target enum type. If required, a constant from the source enum may be mapped to a constant with another name with help of the @ValueMapping annotation. Several constants from the source enum can be mapped to the same constant in the target type.

    +
    +
    +

    The following shows an example:

    +
    +
    +
    Example 70. Enum mapping method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +
    @Mapper
    +public interface OrderMapper {
    +
    +    OrderMapper INSTANCE = Mappers.getMapper( OrderMapper.class );
    +
    +    @ValueMappings({
    +        @ValueMapping(target = "SPECIAL", source = "EXTRA"),
    +        @ValueMapping(target = "DEFAULT", source = "STANDARD"),
    +        @ValueMapping(target = "DEFAULT", source = "NORMAL")
    +    })
    +    ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
    +}
    +
    +
    +
    +
    +
    +
    Example 71. Enum mapping method result
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +
    // GENERATED CODE
    +public class OrderMapperImpl implements OrderMapper {
    +
    +    @Override
    +    public ExternalOrderType orderTypeToExternalOrderType(OrderType orderType) {
    +        if ( orderType == null ) {
    +            return null;
    +        }
    +
    +        ExternalOrderType externalOrderType_;
    +
    +        switch ( orderType ) {
    +            case EXTRA: externalOrderType_ = ExternalOrderType.SPECIAL;
    +            break;
    +            case STANDARD: externalOrderType_ = ExternalOrderType.DEFAULT;
    +            break;
    +            case NORMAL: externalOrderType_ = ExternalOrderType.DEFAULT;
    +            break;
    +            case RETAIL: externalOrderType_ = ExternalOrderType.RETAIL;
    +            break;
    +            case B2B: externalOrderType_ = ExternalOrderType.B2B;
    +            break;
    +            default: throw new IllegalArgumentException( "Unexpected enum constant: " + orderType );
    +        }
    +
    +        return externalOrderType_;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    By default an error will be raised by MapStruct in case a constant of the source enum type does not have a corresponding constant with the same name in the target type and also is not mapped to another constant via @ValueMapping. This ensures that all constants are mapped in a safe and predictable manner. The generated +mapping method will throw an IllegalStateException if for some reason an unrecognized source value occurs.

    +
    +
    +

    MapStruct also has a mechanism for mapping any remaining (unspecified) mappings to a default. This can be used only once in a set of value mappings and only applies to the source. It comes in two flavors: <ANY_REMAINING> and <ANY_UNMAPPED>. They cannot be used at the same time.

    +
    +
    +

    In case of source <ANY_REMAINING> MapStruct will continue to map a source enum constant to a target enum constant with the same name. The remainder of the source enum constants will be mapped to the target specified in the @ValueMapping with <ANY_REMAINING> source.

    +
    +
    +

    MapStruct will not attempt such name based mapping for <ANY_UNMAPPED> and directly apply the target specified in the @ValueMapping with <ANY_UNMAPPED> source to the remainder.

    +
    +
    +

    MapStruct is able to handle null sources and null targets by means of the <NULL> keyword.

    +
    +
    +

    In addition, the constant value <THROW_EXCEPTION> can be used for throwing an exception for particular value mappings. This value is only applicable to ValueMapping#target() and not ValueMapping#source() since MapStruct can’t map from exceptions.

    +
    +
    + + + + + +
    + + +
    +

    Constants for <ANY_REMAINING>, <ANY_UNMAPPED>, <THROW_EXCEPTION> and <NULL> are available in the MappingConstants class.

    +
    +
    +
    +
    +

    Finally @InheritInverseConfiguration and @InheritConfiguration can be used in combination with @ValueMappings. <ANY_REMAINING> and <ANY_UNMAPPED> will be ignored in that case.

    +
    +
    +

    The following code snippets exemplify the use of the aforementioned constants.

    +
    +
    +
    Example 72. Enum mapping method, <NULL> and <ANY_REMAINING>
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +
    @Mapper
    +public interface SpecialOrderMapper {
    +
    +    SpecialOrderMapper INSTANCE = Mappers.getMapper( SpecialOrderMapper.class );
    +
    +    @ValueMappings({
    +        @ValueMapping( source = MappingConstants.NULL, target = "DEFAULT" ),
    +        @ValueMapping( source = "STANDARD", target = MappingConstants.NULL ),
    +        @ValueMapping( source = MappingConstants.ANY_REMAINING, target = "SPECIAL" )
    +    })
    +    ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
    +}
    +
    +
    +
    +
    +
    +
    Example 73. Enum mapping method result, <NULL> and <ANY_REMAINING>
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +
    // GENERATED CODE
    +public class SpecialOrderMapperImpl implements SpecialOrderMapper {
    +
    +    @Override
    +    public ExternalOrderType orderTypeToExternalOrderType(OrderType orderType) {
    +        if ( orderType == null ) {
    +            return ExternalOrderType.DEFAULT;
    +        }
    +
    +        ExternalOrderType externalOrderType_;
    +
    +        switch ( orderType ) {
    +            case STANDARD: externalOrderType_ = null;
    +            break;
    +            case RETAIL: externalOrderType_ = ExternalOrderType.RETAIL;
    +            break;
    +            case B2B: externalOrderType_ = ExternalOrderType.B2B;
    +            break;
    +            default: externalOrderType_ = ExternalOrderType.SPECIAL;
    +        }
    +
    +        return externalOrderType_;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    Note: MapStruct would have refrained from mapping the RETAIL and B2B when <ANY_UNMAPPED> was used instead of <ANY_REMAINING>.

    +
    +
    +
    Example 74. Enum mapping method with <THROW_EXCEPTION>
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    @Mapper
    +public interface SpecialOrderMapper {
    +
    +    SpecialOrderMapper INSTANCE = Mappers.getMapper( SpecialOrderMapper.class );
    +
    +    @ValueMappings({
    +        @ValueMapping( source = "STANDARD", target = "DEFAULT" ),
    +        @ValueMapping( source = "C2C", target = MappingConstants.THROW_EXCEPTION )
    +    })
    +    ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
    +}
    +
    +
    +
    +
    +
    +
    Example 75. Enum mapping method with <THROW_EXCEPTION> result
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +
    // GENERATED CODE
    +public class SpecialOrderMapperImpl implements SpecialOrderMapper {
    +
    +    @Override
    +    public ExternalOrderType orderTypeToExternalOrderType(OrderType orderType) {
    +        if ( orderType == null ) {
    +            return null;
    +        }
    +
    +        ExternalOrderType externalOrderType;
    +
    +        switch ( orderType ) {
    +            case STANDARD: externalOrderType = ExternalOrderType.DEFAULT;
    +            break;
    +            case C2C: throw new IllegalArgumentException( "Unexpected enum constant: " + orderType );
    +            default: throw new IllegalArgumentException( "Unexpected enum constant: " + orderType );
    +        }
    +
    +        return externalOrderType;
    +    }
    +}
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    The mapping of enum to enum via the @Mapping annotation is DEPRECATED. It will be removed from future versions of MapStruct. Please adapt existing enum mapping methods to make use of @ValueMapping instead.

    +
    +
    +
    +
    +
    +

    8.2. Mapping enum-to-String or String-to-enum

    +
    +

    MapStruct supports enum to a String mapping along the same lines as is described in enum-to-enum types. There are similarities and differences:

    +
    +
    +

    enum to String

    +
    +
    +
      +
    1. +

      Similarity: All not explicit defined mappings will result in each source enum constant value being mapped a String value with the same constant value.

      +
    2. +
    3. +

      Similarity: <ANY_UNMAPPED> stops after handling defined mapping and proceeds to the switch/default clause value.

      +
    4. +
    5. +

      Difference: <ANY_REMAINING> will result in an error. It acts on the premise that there is name similarity between enum constants in source and target which does not make sense for a String type.

      +
    6. +
    7. +

      Difference: Given 1. and 3. there will never be unmapped values.

      +
    8. +
    9. +

      Similarity: <THROW_EXCEPTION> can be used for throwing an exception for particular enum values.

      +
    10. +
    +
    +
    +

    String to enum

    +
    +
    +
      +
    1. +

      Similarity: All not explicit defined mappings will result in the target enum constant mapped from the String value when that matches the target enum constant name.

      +
    2. +
    3. +

      Similarity: <ANY_UNMAPPED> stops after handling defined mapping and proceeds to the switch/default clause value.

      +
    4. +
    5. +

      Similarity: <ANY_REMAINING> will create a mapping for each target enum constant and proceed to the switch/default clause value.

      +
    6. +
    7. +

      Difference: A switch/default value needs to be provided to have a determined outcome (enum has a limited set of values, String has unlimited options). Failing to specify <ANY_REMAINING> or <ANY_UNMAPPED> will result in a warning.

      +
    8. +
    9. +

      Similarity: <THROW_EXCEPTION> can be used for throwing an exception for any arbitrary String value.

      +
    10. +
    +
    +
    +
    +

    8.3. Custom name transformation

    +
    +

    When no @ValueMapping(s) are defined then each constant from the source enum is mapped to a constant with the same name in the target enum type. +However, there are cases where the source enum needs to be transformed before doing the mapping. +E.g. a suffix needs to be applied to map from the source into the target enum.

    +
    +
    +
    Example 76. Enum types
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    public enum CheeseType {
    +
    +    BRIE,
    +    ROQUEFORT
    +}
    +
    +public enum CheeseTypeSuffixed {
    +
    +    BRIE_TYPE,
    +    ROQUEFORT_TYPE
    +}
    +
    +
    +
    +
    +
    +
    Example 77. Enum mapping method with custom name transformation strategy
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    @Mapper
    +public interface CheeseMapper {
    +
    +    CheeseMapper INSTANCE = Mappers.getMapper( CheeseMapper.class );
    +
    +    @EnumMapping(nameTransformationStrategy = "suffix", configuration = "_TYPE")
    +    CheeseTypeSuffixed map(CheeseType cheese);
    +
    +    @InheritInverseConfiguration
    +    CheeseType map(CheeseTypeSuffix cheese);
    +}
    +
    +
    +
    +
    +
    +
    Example 78. Enum mapping method with custom name transformation strategy result
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +
    // GENERATED CODE
    +public class CheeseSuffixMapperImpl implements CheeseSuffixMapper {
    +
    +    @Override
    +    public CheeseTypeSuffixed map(CheeseType cheese) {
    +        if ( cheese == null ) {
    +            return null;
    +        }
    +
    +        CheeseTypeSuffixed cheeseTypeSuffixed;
    +
    +        switch ( cheese ) {
    +            case BRIE: cheeseTypeSuffixed = CheeseTypeSuffixed.BRIE_TYPE;
    +            break;
    +            case ROQUEFORT: cheeseTypeSuffixed = CheeseTypeSuffixed.ROQUEFORT_TYPE;
    +            break;
    +            default: throw new IllegalArgumentException( "Unexpected enum constant: " + cheese );
    +        }
    +
    +        return cheeseTypeSuffixed;
    +    }
    +
    +    @Override
    +    public CheeseType map(CheeseTypeSuffixed cheese) {
    +        if ( cheese == null ) {
    +            return null;
    +        }
    +
    +        CheeseType cheeseType;
    +
    +        switch ( cheese ) {
    +            case BRIE_TYPE: cheeseType = CheeseType.BRIE;
    +            break;
    +            case ROQUEFORT_TYPE: cheeseType = CheeseType.ROQUEFORT;
    +            break;
    +            default: throw new IllegalArgumentException( "Unexpected enum constant: " + cheese );
    +        }
    +
    +        return cheeseType;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    MapStruct provides the following out of the box enum name transformation strategies:

    +
    +
    +
      +
    • +

      suffix - Applies a suffix on the source enum

      +
    • +
    • +

      stripSuffix - Strips a suffix from the source enum

      +
    • +
    • +

      prefix - Applies a prefix on the source enum

      +
    • +
    • +

      stripPrefix - Strips a prefix from the source enum

      +
    • +
    • +

      case - Applies case transformation to the source enum. Supported case transformations are:

      +
      +
        +
      • +

        upper - Performs upper case transformation to the source enum

        +
      • +
      • +

        lower - Performs lower case transformation to the source enum

        +
      • +
      • +

        capital - Performs capitalisation of the first character of every word in the source enum and everything else to lowercase. A word is split by "_"

        +
      • +
      +
      +
    • +
    +
    +
    +

    It is also possible to register custom strategies. +For more information on how to do that have a look at Custom Enum Transformation Strategy

    +
    +
    +
    +

    8.4. ValueMapping Composition

    +
    +

    The @ValueMapping annotation supports now @Target with ElementType#ANNOTATION_TYPE in addition to ElementType#METHOD. +This allows @ValueMapping to be used on other (user defined) annotations for re-use purposes. +For example:

    +
    +
    +
    Example 79. Custom value mapping annotations
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    @Retention( RetentionPolicy.CLASS )
    +@ValueMapping(source = "EXTRA", target = "SPECIAL")
    +@ValueMapping(source = MappingConstants.ANY_REMAINING, target = "DEFAULT")
    +public @interface CustomValueAnnotation {
    +}
    +
    +
    +
    +
    +
    +

    It can be used to describe some common value mapping relationships to avoid duplicate declarations, as in the following example:

    +
    +
    +
    Example 80. Using custom combination annotations
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +public interface ValueMappingCompositionMapper {
    +
    +    @CustomValueAnnotation
    +    ExternalOrderType orderTypeToExternalOrderType(OrderType orderType);
    +
    +    @CustomValueAnnotation
    +    @ValueMapping(source = "STANDARD", target = "SPECIAL")
    +    ExternalOrderType duplicateAnnotation(OrderType orderType);
    +}
    +
    +
    +
    +
    +
    +
    +
    +
    +

    9. Object factories

    +
    +
    +

    By default, the generated code for mapping one bean type into another or updating a bean will call the default constructor to instantiate the target type.

    +
    +
    +

    Alternatively you can plug in custom object factories which will be invoked to obtain instances of the target type. One use case for this is JAXB which creates ObjectFactory classes for obtaining new instances of schema types.

    +
    +
    +

    To make use of custom factories register them via @Mapper#uses() as described in Invoking other mappers, or implement them directly in your mapper. When creating the target object of a bean mapping, MapStruct will look for a parameterless method, a method annotated with @ObjectFactory, or a method with only one @TargetType parameter that returns the required target type and invoke this method instead of calling the default constructor:

    +
    +
    +
    Example 81. Custom object factories
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +
    public class DtoFactory {
    +
    +     public CarDto createCarDto() {
    +         return // ... custom factory logic
    +     }
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +
    public class EntityFactory {
    +
    +     public <T extends BaseEntity> T createEntity(@TargetType Class<T> entityClass) {
    +         return // ... custom factory logic
    +     }
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper(uses= { DtoFactory.class, EntityFactory.class } )
    +public interface CarMapper {
    +
    +    CarMapper INSTANCE = Mappers.getMapper( CarMapper.class );
    +
    +    CarDto carToCarDto(Car car);
    +
    +    Car carDtoToCar(CarDto carDto);
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +
    //GENERATED CODE
    +public class CarMapperImpl implements CarMapper {
    +
    +    private final DtoFactory dtoFactory = new DtoFactory();
    +
    +    private final EntityFactory entityFactory = new EntityFactory();
    +
    +    @Override
    +    public CarDto carToCarDto(Car car) {
    +        if ( car == null ) {
    +            return null;
    +        }
    +
    +        CarDto carDto = dtoFactory.createCarDto();
    +
    +        //map properties...
    +
    +        return carDto;
    +    }
    +
    +    @Override
    +    public Car carDtoToCar(CarDto carDto) {
    +        if ( carDto == null ) {
    +            return null;
    +        }
    +
    +        Car car = entityFactory.createEntity( Car.class );
    +
    +        //map properties...
    +
    +        return car;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    Example 82. Custom object factories with update methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper(uses = { DtoFactory.class, EntityFactory.class, CarMapper.class } )
    +public interface OwnerMapper {
    +
    +    OwnerMapper INSTANCE = Mappers.getMapper( OwnerMapper.class );
    +
    +    void updateOwnerDto(Owner owner, @MappingTarget OwnerDto ownerDto);
    +
    +    void updateOwner(OwnerDto ownerDto, @MappingTarget Owner owner);
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +
    //GENERATED CODE
    +public class OwnerMapperImpl implements OwnerMapper {
    +
    +    private final DtoFactory dtoFactory = new DtoFactory();
    +
    +    private final EntityFactory entityFactory = new EntityFactory();
    +
    +    private final OwnerMapper ownerMapper = Mappers.getMapper( OwnerMapper.class );
    +
    +    @Override
    +    public void updateOwnerDto(Owner owner, @MappingTarget OwnerDto ownerDto) {
    +        if ( owner == null ) {
    +            return;
    +        }
    +
    +        if ( owner.getCar() != null ) {
    +            if ( ownerDto.getCar() == null ) {
    +                ownerDto.setCar( dtoFactory.createCarDto() );
    +            }
    +            // update car within ownerDto
    +        }
    +        else {
    +            ownerDto.setCar( null );
    +        }
    +
    +       // updating other properties
    +    }
    +
    +    @Override
    +    public void updateOwner(OwnerDto ownerDto, @MappingTarget Owner owner) {
    +        if ( ownerDto == null ) {
    +            return;
    +        }
    +
    +        if ( ownerDto.getCar() != null ) {
    +            if ( owner.getCar() == null ) {
    +                owner.setCar( entityFactory.createEntity( Car.class ) );
    +            }
    +            // update car within owner
    +        }
    +        else {
    +            owner.setCar( null );
    +        }
    +
    +       // updating other properties
    +    }
    +}
    +
    +
    +
    +
    +
    +

    In addition, annotating a factory method with @ObjectFactory lets you gain access to the mapping sources. +Source objects can be added as parameters in the same way as for mapping method. The @ObjectFactory +annotation is necessary to let MapStruct know that the given method is only a factory method.

    +
    +
    +
    Example 83. Custom object factories with @ObjectFactory
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    public class DtoFactory {
    +
    +     @ObjectFactory
    +     public CarDto createCarDto(Car car) {
    +         return // ... custom factory logic
    +     }
    +}
    +
    +
    +
    +
    +
    +
    +
    +

    10. Advanced mapping options

    +
    +
    +

    This chapter describes several advanced options which allow to fine-tune the behavior of the generated mapping code as needed.

    +
    +
    +

    10.1. Default values and constants

    +
    +

    Default values can be specified to set a predefined value to a target property if the corresponding source property is null. Constants can be specified to set such a predefined value in any case. Default values and constants are specified as String values. When the target type is a primitive or a boxed type, the String value is taken literal. Bit / octal / decimal / hex patterns are allowed in such a case as long as they are a valid literal. +In all other cases, constant or default values are subject to type conversion either via built-in conversions or the invocation of other mapping methods in order to match the type required by the target property.

    +
    +
    +

    A mapping with a constant must not include a reference to a source property. The following example shows some mappings using default values and constants:

    +
    +
    +
    Example 84. Mapping method with default values and constants
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +
    @Mapper(uses = StringListMapper.class)
    +public interface SourceTargetMapper {
    +
    +    SourceTargetMapper INSTANCE = Mappers.getMapper( SourceTargetMapper.class );
    +
    +    @Mapping(target = "stringProperty", source = "stringProp", defaultValue = "undefined")
    +    @Mapping(target = "longProperty", source = "longProp", defaultValue = "-1")
    +    @Mapping(target = "stringConstant", constant = "Constant Value")
    +    @Mapping(target = "integerConstant", constant = "14")
    +    @Mapping(target = "longWrapperConstant", constant = "3001")
    +    @Mapping(target = "dateConstant", dateFormat = "dd-MM-yyyy", constant = "09-01-2014")
    +    @Mapping(target = "stringListConstants", constant = "jack-jill-tom")
    +    Target sourceToTarget(Source s);
    +}
    +
    +
    +
    +
    +
    +

    If s.getStringProp() == null, then the target property stringProperty will be set to "undefined" instead of applying the value from s.getStringProp(). If s.getLongProperty() == null, then the target property longProperty will be set to -1. +The String "Constant Value" is set as is to the target property stringConstant. The value "3001" is type-converted to the Long (wrapper) class of target property longWrapperConstant. Date properties also require a date format. The constant "jack-jill-tom" demonstrates how the hand-written class StringListMapper is invoked to map the dash-separated list into a List<String>.

    +
    +
    +
    +

    10.2. Expressions

    +
    +

    By means of Expressions it will be possible to include constructs from a number of languages.

    +
    +
    +

    Currently only Java is supported as a language. This feature is e.g. useful to invoke constructors. The entire source object is available for usage in the expression. Care should be taken to insert only valid Java code: MapStruct will not validate the expression at generation-time, but errors will show up in the generated classes during compilation.

    +
    +
    +

    The example below demonstrates how two source properties can be mapped to one target:

    +
    +
    +
    Example 85. Mapping method using an expression
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper
    +public interface SourceTargetMapper {
    +
    +    SourceTargetMapper INSTANCE = Mappers.getMapper( SourceTargetMapper.class );
    +
    +    @Mapping(target = "timeAndFormat",
    +         expression = "java( new org.sample.TimeAndFormat( s.getTime(), s.getFormat() ) )")
    +    Target sourceToTarget(Source s);
    +}
    +
    +
    +
    +
    +
    +

    The example demonstrates how the source properties time and format are composed into one target property TimeAndFormat. Please note that the fully qualified package name is specified because MapStruct does not take care of the import of the TimeAndFormat class (unless it’s used otherwise explicitly in the SourceTargetMapper). This can be resolved by defining imports on the @Mapper annotation.

    +
    +
    +
    Example 86. Declaring an import
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    imports org.sample.TimeAndFormat;
    +
    +@Mapper( imports = TimeAndFormat.class )
    +public interface SourceTargetMapper {
    +
    +    SourceTargetMapper INSTANCE = Mappers.getMapper( SourceTargetMapper.class );
    +
    +    @Mapping(target = "timeAndFormat",
    +         expression = "java( new TimeAndFormat( s.getTime(), s.getFormat() ) )")
    +    Target sourceToTarget(Source s);
    +}
    +
    +
    +
    +
    +
    +
    +

    10.3. Default Expressions

    +
    +

    Default expressions are a combination of default values and expressions. They will only be used when the source attribute is null.

    +
    +
    +

    The same warnings and restrictions apply to default expressions that apply to expressions. Only Java is supported, and MapStruct will not validate the expression at generation-time.

    +
    +
    +

    The example below demonstrates how a default expression can be used to set a value when the source attribute is not present (e.g. is null):

    +
    +
    +
    Example 87. Mapping method using a default expression
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    imports java.util.UUID;
    +
    +@Mapper( imports = UUID.class )
    +public interface SourceTargetMapper {
    +
    +    SourceTargetMapper INSTANCE = Mappers.getMapper( SourceTargetMapper.class );
    +
    +    @Mapping(target="id", source="sourceId", defaultExpression = "java( UUID.randomUUID().toString() )")
    +    Target sourceToTarget(Source s);
    +}
    +
    +
    +
    +
    +
    +

    The example demonstrates how to use defaultExpression to set an ID field if the source field is null, this could be used to take the existing sourceId from the source object if it is set, or create a new Id if it isn’t. Please note that the fully qualified package name is specified because MapStruct does not take care of the import of the UUID class (unless it’s used otherwise explicitly in the SourceTargetMapper). This can be resolved by defining imports on the @Mapper annotation (see Expressions).

    +
    +
    +
    +

    10.4. Subclass Mapping

    +
    +

    When both input and result types have an inheritance relation, you would want the correct specialization be mapped to the matching specialization. +Suppose an Apple and a Banana, which are both specializations of Fruit.

    +
    +
    +
    Example 88. Specifying the sub class mappings of a fruit mapping
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +
    @Mapper
    +public interface FruitMapper {
    +
    +    @SubclassMapping( source = AppleDto.class, target = Apple.class )
    +    @SubclassMapping( source = BananaDto.class, target = Banana.class )
    +    Fruit map( FruitDto source );
    +
    +}
    +
    +
    +
    +
    +
    +

    If you would just use a normal mapping both the AppleDto and the BananaDto would be made into a Fruit object, instead of an Apple and a Banana object. +By using the subclass mapping an AppleDtoToApple mapping will be used for AppleDto objects, and an BananaDtoToBanana mapping will be used for BananaDto objects. +If you try to map a GrapeDto it would still turn it into a Fruit.

    +
    +
    +

    In the case that the Fruit is an abstract class or an interface, you would get a compile error.

    +
    +
    +

    To allow mappings for abstract classes or interfaces you need to set the subclassExhaustiveStrategy to RUNTIME_EXCEPTION, you can do this at the @MapperConfig, @Mapper or @BeanMapping annotations. If you then pass a GrapeDto an IllegalArgumentException will be thrown because it is unknown how to map a GrapeDto. +Adding the missing (@SubclassMapping) for it will fix that.

    +
    +
    +

    Mapping method selection based on qualifiers can be used to further control which methods may be chosen to map a specific subclass. For that, you will need to use one of SubclassMapping#qualifiedByName or SubclassMapping#qualifiedBy.

    +
    +
    + + + + + +
    + + +
    +

    If the mapping method for the subclasses does not exist it will be created and any other annotations on the fruit mapping method will be inherited by the newly generated mappings.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Combining @SubclassMapping with update methods is not supported. +If you try to use subclass mappings there will be a compile error. +The same issue exists for the @Context and @TargetType parameters.

    +
    +
    +
    +
    +
    +

    10.5. Determining the result type

    +
    +

    When result types have an inheritance relation, selecting either mapping method (@Mapping) or a factory method (@BeanMapping) can become ambiguous. Suppose an Apple and a Banana, which are both specializations of Fruit.

    +
    +
    +
    Example 89. Specifying the result type of a bean mapping method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper( uses = FruitFactory.class )
    +public interface FruitMapper {
    +
    +    @BeanMapping( resultType = Apple.class )
    +    Fruit map( FruitDto source );
    +
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    public class FruitFactory {
    +
    +    public Apple createApple() {
    +        return new Apple( "Apple" );
    +    }
    +
    +    public Banana createBanana() {
    +        return new Banana( "Banana" );
    +    }
    +}
    +
    +
    +
    +
    +
    +

    So, which Fruit must be factorized in the mapping method Fruit map(FruitDto source);? A Banana or an Apple? Here’s where the @BeanMapping#resultType comes in handy. It controls the factory method to select, or in absence of a factory method, the return type to create.

    +
    +
    + + + + + +
    + + +
    +

    The same mechanism is present on mapping: @Mapping#resultType and works like you expect it would: it selects the mapping method with the desired result type when present.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    The mechanism is also present on iterable mapping and map mapping. @IterableMapping#elementTargetType is used to select the mapping method with the desired element in the resulting Iterable. For the @MapMapping a similar purpose is served by means of #MapMapping#keyTargetType and MapMapping#valueTargetType.

    +
    +
    +
    +
    +
    +

    10.6. Controlling mapping result for 'null' arguments

    +
    +

    MapStruct offers control over the object to create when the source argument of the mapping method equals null. By default null will be returned.

    +
    +
    +

    However, by specifying nullValueMappingStrategy = NullValueMappingStrategy.RETURN_DEFAULT on @BeanMapping, @IterableMapping, @MapMapping, or globally on @Mapper or @MapperConfig, the mapping result can be altered to return empty default values. This means for:

    +
    +
    +
      +
    • +

      Bean mappings: an 'empty' target bean will be returned, with the exception of constants and expressions, they will be populated when present.

      +
    • +
    • +

      Iterables / Arrays: an empty iterable will be returned.

      +
    • +
    • +

      Maps: an empty map will be returned.

      +
    • +
    +
    +
    +

    The strategy works in a hierarchical fashion. Setting nullValueMappingStrategy on mapping method level will override @Mapper#nullValueMappingStrategy, and @Mapper#nullValueMappingStrategy will override @MapperConfig#nullValueMappingStrategy.

    +
    +
    +
    +

    10.7. Controlling mapping result for 'null' collection or map arguments

    +
    +

    With Controlling mapping result for 'null' arguments it is possible to control how the return type should be constructed when the source argument of the mapping method is null. +That is applied for all mapping methods (bean, iterable or map mapping methods).

    +
    +
    +

    However, MapStruct also offers a more dedicated way to control how collections / maps should be mapped. +e.g. return default (empty) collections / maps, but return null for beans.

    +
    +
    +

    For collections (iterables) this can be controlled through:

    +
    +
    +
      +
    • +

      MapperConfig#nullValueIterableMappingStrategy

      +
    • +
    • +

      Mapper#nullValueIterableMappingStrategy

      +
    • +
    • +

      IterableMapping#nullValueMappingStrategy

      +
    • +
    +
    +
    +

    For maps this can be controlled through:

    +
    +
    +
      +
    • +

      MapperConfig#nullValueMapMappingStrategy

      +
    • +
    • +

      Mapper#nullValueMapMappingStrategy

      +
    • +
    • +

      MapMapping#nullValueMappingStrategy

      +
    • +
    +
    +
    +

    How the value of the NullValueMappingStrategy is applied is the same as in Controlling mapping result for 'null' arguments

    +
    +
    +
    +

    10.8. Controlling mapping result for 'null' properties in bean mappings (update mapping methods only).

    +
    +

    MapStruct offers control over the property to set in an @MappingTarget annotated target bean when the source property equals null or the presence check method results in 'absent'.

    +
    +
    +

    By default the target property will be set to null.

    +
    +
    +

    However:

    +
    +
    +
      +
    1. +

      By specifying nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.SET_TO_DEFAULT on @Mapping, @BeanMapping, @Mapper or @MapperConfig, the mapping result can be altered to return default values. +For List MapStruct generates an ArrayList, for Map a LinkedHashMap, for arrays an empty array, for String "" and for primitive / boxed types a representation of false or 0. +For all other objects an new instance is created. Please note that a default constructor is required. If not available, use the @Mapping#defaultValue.

      +
    2. +
    3. +

      By specifying nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE on @Mapping, @BeanMapping, @Mapper or @MapperConfig, the mapping result will be equal to the original value of the @MappingTarget annotated target.

      +
    4. +
    +
    +
    +

    The strategy works in a hierarchical fashion. Setting nullValuePropertyMappingStrategy on mapping method level will override @Mapper#nullValuePropertyMappingStrategy, and @Mapper#nullValuePropertyMappingStrategy will override @MapperConfig#nullValuePropertyMappingStrategy.

    +
    +
    + + + + + +
    + + +
    +

    Some types of mappings (collections, maps), in which MapStruct is instructed to use a getter or adder as target accessor (see CollectionMappingStrategy), MapStruct will always generate a source property +null check, regardless of the value of the NullValuePropertyMappingStrategy, to avoid addition of null to the target collection or map. Since the target is assumed to be initialised this strategy will not be applied.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    NullValuePropertyMappingStrategy also applies when the presence checker returns not present.

    +
    +
    +
    +
    +
    +

    10.9. Controlling checking result for 'null' properties in bean mapping

    +
    +

    MapStruct offers control over when to generate a null check. By default (nullValueCheckStrategy = NullValueCheckStrategy.ON_IMPLICIT_CONVERSION) a null check will be generated for:

    +
    +
    +
      +
    • +

      direct setting of source value to target value when target is primitive and source is not.

      +
    • +
    • +

      applying type conversion and then:

      +
      +
        +
      1. +

        calling the setter on the target.

        +
      2. +
      3. +

        calling another type conversion and subsequently calling the setter on the target.

        +
      4. +
      5. +

        calling a mapping method and subsequently calling the setter on the target.

        +
      6. +
      +
      +
    • +
    +
    +
    +

    First calling a mapping method on the source property is not protected by a null check. Therefore generated mapping methods will do a null check prior to carrying out mapping on a source property. Handwritten mapping methods must take care of null value checking. They have the possibility to add 'meaning' to null. For instance: mapping null to a default value.

    +
    +
    +

    The option nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS will always include a null check when source is non primitive, unless a source presence checker is defined on the source bean.

    +
    +
    +

    The strategy works in a hierarchical fashion. @Mapping#nullValueCheckStrategy will override @BeanMapping#nullValueCheckStrategy, @BeanMapping#nullValueCheckStrategy will override @Mapper#nullValueCheckStrategy and @Mapper#nullValueCheckStrategy will override @MaperConfig#nullValueCheckStrategy.

    +
    +
    +
    +

    10.10. Source presence checking

    +
    +

    Some frameworks generate bean properties that have a source presence checker. Often this is in the form of a method hasXYZ, XYZ being a property on the source bean in a bean mapping method. MapStruct will call this hasXYZ instead of performing a null check when it finds such hasXYZ method.

    +
    +
    + + + + + +
    + + +
    +

    The source presence checker name can be changed in the MapStruct service provider interface (SPI). It can also be deactivated in this way.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Some types of mappings (collections, maps), in which MapStruct is instructed to use a getter or adder as target accessor (see CollectionMappingStrategy), MapStruct will always generate a source property +null check, regardless the value of the NullValueCheckStrategy to avoid addition of null to the target collection or map.

    +
    +
    +
    +
    +
    +

    10.11. Conditional Mapping

    +
    +

    Conditional Mapping is a type of Source presence checking. +The difference is that it allows users to write custom condition methods that will be invoked to check if a property needs to be mapped or not.

    +
    +
    +

    A custom condition method is a method that is annotated with org.mapstruct.Condition and returns boolean.

    +
    +
    +

    e.g. if you only want to map a String property when it is not null, and it is not empty then you can do something like:

    +
    +
    +
    Example 90. Mapper using custom condition check method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +public interface CarMapper {
    +
    +    CarDto carToCarDto(Car car);
    +
    +    @Condition
    +    default boolean isNotEmpty(String value) {
    +        return value != null && !value.isEmpty();
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The generated mapper will look like:

    +
    +
    +
    Example 91. Custom condition check in generated implementation
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +
    // GENERATED CODE
    +public class CarMapperImpl implements CarMapper {
    +
    +    @Override
    +    public CarDto carToCarDto(Car car) {
    +        if ( car == null ) {
    +            return null;
    +        }
    +
    +        CarDto carDto = new CarDto();
    +
    +        if ( isNotEmpty( car.getOwner() ) ) {
    +            carDto.setOwner( car.getOwner() );
    +        }
    +
    +        // Mapping of other properties
    +
    +        return carDto;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    When using this in combination with an update mapping method it will replace the null-check there, for example:

    +
    +
    +
    Example 92. Update mapper using custom condition check method
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +public interface CarMapper {
    +
    +    CarDto carToCarDto(Car car, @MappingTarget CarDto carDto);
    +
    +    @Condition
    +    default boolean isNotEmpty(String value) {
    +        return value != null && !value.isEmpty();
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The generated update mapper will look like:

    +
    +
    +
    Example 93. Custom condition check in generated implementation
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +
    // GENERATED CODE
    +public class CarMapperImpl implements CarMapper {
    +
    +    @Override
    +    public CarDto carToCarDto(Car car, CarDto carDto) {
    +        if ( car == null ) {
    +            return carDto;
    +        }
    +
    +        if ( isNotEmpty( car.getOwner() ) ) {
    +            carDto.setOwner( car.getOwner() );
    +        } else {
    +            carDto.setOwner( null );
    +        }
    +
    +        // Mapping of other properties
    +
    +        return carDto;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    Additionally @TargetPropertyName of type java.lang.String can be used in custom condition check method:

    +
    +
    +
    Example 94. Mapper using custom condition check method with @TargetPropertyName
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    @Mapper
    +public interface CarMapper {
    +
    +    CarDto carToCarDto(Car car, @MappingTarget CarDto carDto);
    +
    +    @Condition
    +    default boolean isNotEmpty(String value, @TargetPropertyName String name) {
    +        if ( name.equals( "owner" ) {
    +           return value != null
    +                    && !value.isEmpty()
    +                    && !value.equals( value.toLowerCase() );
    +        }
    +        return value != null && !value.isEmpty();
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The generated mapper with @TargetPropertyName will look like:

    +
    +
    +
    Example 95. Custom condition check in generated implementation
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +
    // GENERATED CODE
    +public class CarMapperImpl implements CarMapper {
    +
    +    @Override
    +    public CarDto carToCarDto(Car car, CarDto carDto) {
    +        if ( car == null ) {
    +            return carDto;
    +        }
    +
    +        if ( isNotEmpty( car.getOwner(), "owner" ) ) {
    +            carDto.setOwner( car.getOwner() );
    +        } else {
    +            carDto.setOwner( null );
    +        }
    +
    +        // Mapping of other properties
    +
    +        return carDto;
    +    }
    +}
    +
    +
    +
    +
    +
    + + + + + +
    + + +
    +

    If there is a custom @Condition method applicable for the property it will have a precedence over a presence check method in the bean itself.

    +
    +
    +
    +
    + + + + + +
    + + +
    +

    Methods annotated with @Condition in addition to the value of the source property can also have the source parameter as an input.

    +
    +
    +

    @TargetPropertyName parameter can only be used in @Condition methods.

    +
    +
    +
    +
    +

    Mapping method selection based on qualifiers is also valid for @Condition methods. +In order to use a more specific condition method you will need to use one of Mapping#conditionQualifiedByName or Mapping#conditionQualifiedBy.

    +
    +
    +
    +

    10.12. Exceptions

    +
    +

    Calling applications may require handling of exceptions when calling a mapping method. These exceptions could be thrown by hand-written logic and by the generated built-in mapping methods or type-conversions of MapStruct. When the calling application requires handling of exceptions, a throws clause can be defined in the mapping method:

    +
    +
    +
    Example 96. Mapper using custom method declaring checked exception
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    @Mapper(uses = HandWritten.class)
    +public interface CarMapper {
    +
    +    CarDto carToCarDto(Car car) throws GearException;
    +}
    +
    +
    +
    +
    +
    +

    The hand written logic might look like this:

    +
    +
    +
    Example 97. Custom mapping method declaring checked exception
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    public class HandWritten {
    +
    +    private static final String[] GEAR = {"ONE", "TWO", "THREE", "OVERDRIVE", "REVERSE"};
    +
    +    public String toGear(Integer gear) throws GearException, FatalException {
    +        if ( gear == null ) {
    +            throw new FatalException("null is not a valid gear");
    +        }
    +
    +        if ( gear < 0 && gear > GEAR.length ) {
    +            throw new GearException("invalid gear");
    +        }
    +        return GEAR[gear];
    +    }
    +}
    +
    +
    +
    +
    +
    +

    MapStruct now, wraps the FatalException in a try-catch block and rethrows an unchecked RuntimeException. MapStruct delegates handling of the GearException to the application logic because it is defined as throws clause in the carToCarDto method:

    +
    +
    +
    Example 98. try-catch block in generated implementation
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +
    // GENERATED CODE
    +@Override
    +public CarDto carToCarDto(Car car) throws GearException {
    +    if ( car == null ) {
    +        return null;
    +    }
    +
    +    CarDto carDto = new CarDto();
    +    try {
    +        carDto.setGear( handWritten.toGear( car.getGear() ) );
    +    }
    +    catch ( FatalException e ) {
    +        throw new RuntimeException( e );
    +    }
    +
    +    return carDto;
    +}
    +
    +
    +
    +
    +
    +

    Some notes on null checks. MapStruct does provide null checking only when required: when applying type-conversions or constructing a new type by invoking its constructor. This means that the user is responsible in hand-written code for returning valid non-null objects. Also null objects can be handed to hand-written code, since MapStruct does not want to make assumptions on the meaning assigned by the user to a null object. Hand-written code has to deal with this.

    +
    +
    +
    +
    +
    +

    11. Reusing mapping configurations

    +
    +
    +

    This chapter discusses different means of reusing mapping configurations for several mapping methods: "inheritance" of configuration from other methods and sharing central configuration between multiple mapper types.

    +
    +
    +

    11.1. Mapping configuration inheritance

    +
    +

    Method-level configuration annotations such as @Mapping, @BeanMapping, @IterableMapping, etc., can be inherited from one mapping method to a similar method using the annotation @InheritConfiguration:

    +
    +
    +
    Example 99. Update method inheriting its configuration
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper
    +public interface CarMapper {
    +
    +    @Mapping(target = "numberOfSeats", source = "seatCount")
    +    Car carDtoToCar(CarDto car);
    +
    +    @InheritConfiguration
    +    void carDtoIntoCar(CarDto carDto, @MappingTarget Car car);
    +}
    +
    +
    +
    +
    +
    +

    The example above declares a mapping method carDtoToCar() with a configuration to define how the property numberOfSeats in the type Car shall be mapped. The update method that performs the mapping on an existing instance of Car needs the same configuration to successfully map all properties. Declaring @InheritConfiguration on the method lets MapStruct search for inheritance candidates to apply the annotations of the method that is inherited from.

    +
    +
    +

    One method A can inherit the configuration from another method B if all types of A (source types and result type) are assignable to the corresponding types of B.

    +
    +
    +

    Methods that are considered for inheritance need to be defined in the current mapper, a super class/interface, or in the shared configuration interface (as described in Shared configurations).

    +
    +
    +

    In case more than one method is applicable as source for the inheritance, the method name must be specified within the annotation: @InheritConfiguration( name = "carDtoToCar" ).

    +
    +
    +

    A method can use @InheritConfiguration and override or amend the configuration by additionally applying @Mapping, @BeanMapping, etc.

    +
    +
    + + + + + +
    + + +
    +

    @InheritConfiguration cannot refer to methods in a used mapper.

    +
    +
    +
    +
    +
    +

    11.2. Inverse mappings

    +
    +

    In case of bi-directional mappings, e.g. from entity to DTO and from DTO to entity, the mapping rules for the forward method and the reverse method are often similar and can simply be inversed by switching source and target.

    +
    +
    +

    Use the annotation @InheritInverseConfiguration to indicate that a method shall inherit the inverse configuration of the corresponding reverse method.

    +
    +
    +

    In the example below, there is no need to write the inverse mapping manually. Think of a case where there are several mappings, so writing the inverse ones can be cumbersome and error prone.

    +
    +
    +
    Example 100. Inverse mapping method inheriting its configuration and ignoring some of them
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +public interface CarMapper {
    +
    +    @Mapping(target = "seatCount", source = "numberOfSeats")
    +    CarDto carToDto(Car car);
    +
    +    @InheritInverseConfiguration
    +    @Mapping(target = "numberOfSeats", ignore = true)
    +    Car carDtoToCar(CarDto carDto);
    +}
    +
    +
    +
    +
    +
    +

    Here the carDtoToCar() method is the reverse mapping method for carToDto(). Note that any attribute mappings from carToDto() will be applied to the corresponding reverse mapping method as well. They are automatically reversed and copied to the method with the @InheritInverseConfiguration annotation.

    +
    +
    +

    Specific mappings from the inversed method can (optionally) be overridden by ignore, expression or constant in the mapping, e.g. like this: @Mapping(target = "numberOfSeats", ignore=true).

    +
    +
    +

    A method A is considered a reverse method of a method B, if the result type of A is the same as the single source type of B and if the single source type of A is the same as the result type of B.

    +
    +
    +

    Methods that are considered for inverse inheritance need to be defined in the current mapper, a super class/interface.

    +
    +
    +

    If multiple methods qualify, the method from which to inherit the configuration needs to be specified using the name property like this: @InheritInverseConfiguration(name = "carToDto").

    +
    +
    +

    @InheritConfiguration takes, in case of conflict precedence over @InheritInverseConfiguration.

    +
    +
    +

    Configurations are inherited transitively. So if method C defines a mapping @Mapping( target = "x", ignore = true), B defines a mapping @Mapping( target = "y", ignore = true), then if A inherits from B inherits from C, A will inherit mappings for both property x and y.

    +
    +
    +

    @Mapping#expression, @Mapping#defaultExpression, @Mapping#defaultValue and @Mapping#constant are excluded (silently ignored) in @InheritInverseConfiguration.

    +
    +
    +

    @Mapping#ignore is only applied when @Mapping#source is also present in @InheritInverseConfiguration.

    +
    +
    +

    Reverse mapping of nested source properties is experimental as of the 1.1.0.Beta2 release. Reverse mapping will take place automatically when the source property name and target property name are identical. Otherwise, @Mapping should specify both the target name and source name. In all cases, a suitable mapping method needs to be in place for the reverse mapping.

    +
    +
    + + + + + +
    + + +
    +

    @InheritInverseConfiguration cannot refer to methods in a used mapper.

    +
    +
    +
    +
    +
    +

    11.3. Shared configurations

    +
    +

    MapStruct offers the possibility to define a shared configuration by pointing to a central interface annotated with @MapperConfig. For a mapper to use the shared configuration, the configuration interface needs to be defined in the @Mapper#config property.

    +
    +
    +

    The @MapperConfig annotation has the same attributes as the @Mapper annotation. Any attributes not given via @Mapper will be inherited from the shared configuration. Attributes specified in @Mapper take precedence over the attributes specified via the referenced configuration class. List properties such as uses are simply combined:

    +
    +
    +
    Example 101. Mapper configuration class and mapper using it
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +
    @MapperConfig(
    +    uses = CustomMapperViaMapperConfig.class,
    +    unmappedTargetPolicy = ReportingPolicy.ERROR
    +)
    +public interface CentralConfig {
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    @Mapper(config = CentralConfig.class, uses = { CustomMapperViaMapper.class } )
    +// Effective configuration:
    +// @Mapper(
    +//     uses = { CustomMapperViaMapper.class, CustomMapperViaMapperConfig.class },
    +//     unmappedTargetPolicy = ReportingPolicy.ERROR
    +// )
    +public interface SourceTargetMapper {
    +  ...
    +}
    +
    +
    +
    +
    +
    +
    +

    The interface holding the @MapperConfig annotation may also declare prototypes of mapping methods that can be used to inherit method-level mapping annotations from. Such prototype methods are not meant to be implemented or used as part of the mapper API.

    +
    +
    +
    Example 102. Mapper configuration class with prototype methods
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    @MapperConfig(
    +    uses = CustomMapperViaMapperConfig.class,
    +    unmappedTargetPolicy = ReportingPolicy.ERROR,
    +    mappingInheritanceStrategy = MappingInheritanceStrategy.AUTO_INHERIT_FROM_CONFIG
    +)
    +public interface CentralConfig {
    +
    +    // Not intended to be generated, but to carry inheritable mapping annotations:
    +    @Mapping(target = "primaryKey", source = "technicalKey")
    +    BaseEntity anyDtoToEntity(BaseDto dto);
    +}
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +
    @Mapper(config = CentralConfig.class, uses = { CustomMapperViaMapper.class } )
    +public interface SourceTargetMapper {
    +
    +    @Mapping(target = "numberOfSeats", source = "seatCount")
    +    // additionally inherited from CentralConfig, because Car extends BaseEntity and CarDto extends BaseDto:
    +    // @Mapping(target = "primaryKey", source = "technicalKey")
    +    Car toCar(CarDto car)
    +}
    +
    +
    +
    +
    +
    +

    The attributes @Mapper#mappingInheritanceStrategy() / @MapperConfig#mappingInheritanceStrategy() configure when the method-level mapping configuration annotations are inherited from prototype methods in the interface to methods in the mapper:

    +
    +
    +
      +
    • +

      EXPLICIT (default): the configuration will only be inherited, if the target mapping method is annotated with @InheritConfiguration and the source and target types are assignable to the corresponding types of the prototype method, all as described in Mapping configuration inheritance.

      +
    • +
    • +

      AUTO_INHERIT_FROM_CONFIG: the configuration will be inherited automatically, if the source and target types of the target mapping method are assignable to the corresponding types of the prototype method. If multiple prototype methods match, the ambiguity must be resolved using @InheritConfiguration(name = …​) which will cause AUTO_INHERIT_FROM_CONFIG to be ignored.

      +
    • +
    • +

      AUTO_INHERIT_REVERSE_FROM_CONFIG: the inverse configuration will be inherited automatically, if the source and target types of the target mapping method are assignable to the corresponding types of the prototype method. If multiple prototype methods match, the ambiguity must be resolved using @InheritInverseConfiguration(name = …​) which will cause `AUTO_INHERIT_REVERSE_FROM_CONFIG to be ignored.

      +
    • +
    • +

      AUTO_INHERIT_ALL_FROM_CONFIG: both the configuration and the inverse configuration will be inherited automatically. The same rules apply as for AUTO_INHERIT_FROM_CONFIG or AUTO_INHERIT_REVERSE_FROM_CONFIG.

      +
    • +
    +
    +
    +
    +
    +
    +

    12. Customizing mappings

    +
    +
    +

    Sometimes it’s needed to apply custom logic before or after certain mapping methods. MapStruct provides two ways for doing so: decorators which allow for a type-safe customization of specific mapping methods and the before-mapping and after-mapping lifecycle methods which allow for a generic customization of mapping methods with given source or target types.

    +
    +
    +

    12.1. Mapping customization with decorators

    +
    +

    In certain cases it may be required to customize a generated mapping method, e.g. to set an additional property in the target object which can’t be set by a generated method implementation. MapStruct supports this requirement using decorators.

    +
    +
    + + + + + +
    + + +When working with the component model cdi, use CDI decorators with MapStruct mappers instead of the @DecoratedWith annotation described here. +
    +
    +
    +

    To apply a decorator to a mapper class, specify it using the @DecoratedWith annotation.

    +
    +
    +
    Example 103. Applying a decorator
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +@DecoratedWith(PersonMapperDecorator.class)
    +public interface PersonMapper {
    +
    +    PersonMapper INSTANCE = Mappers.getMapper( PersonMapper.class );
    +
    +    PersonDto personToPersonDto(Person person);
    +
    +    AddressDto addressToAddressDto(Address address);
    +}
    +
    +
    +
    +
    +
    +

    The decorator must be a sub-type of the decorated mapper type. You can make it an abstract class which allows to only implement those methods of the mapper interface which you want to customize. For all non-implemented methods, a simple delegation to the original mapper will be generated using the default generation routine.

    +
    +
    +

    The PersonMapperDecorator shown below customizes the personToPersonDto(). It sets an additional attribute which is not present in the source type of the mapping. The addressToAddressDto() method is not customized.

    +
    +
    +
    Example 104. Implementing a decorator
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    public abstract class PersonMapperDecorator implements PersonMapper {
    +
    +    private final PersonMapper delegate;
    +
    +    public PersonMapperDecorator(PersonMapper delegate) {
    +        this.delegate = delegate;
    +    }
    +
    +    @Override
    +    public PersonDto personToPersonDto(Person person) {
    +        PersonDto dto = delegate.personToPersonDto( person );
    +        dto.setFullName( person.getFirstName() + " " + person.getLastName() );
    +        return dto;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The example shows how you can optionally inject a delegate with the generated default implementation and use this delegate in your customized decorator methods.

    +
    +
    +

    For a mapper with componentModel = "default", define a constructor with a single parameter which accepts the type of the decorated mapper.

    +
    +
    +

    When working with the component models spring or jsr330, this needs to be handled differently.

    +
    +
    +

    12.1.1. Decorators with the Spring component model

    +
    +

    When using @DecoratedWith on a mapper with component model spring, the generated implementation of the original mapper is annotated with the Spring annotation @Qualifier("delegate"). To autowire that bean in your decorator, add that qualifier annotation as well:

    +
    +
    +
    Example 105. Spring-based decorator
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +
    public abstract class PersonMapperDecorator implements PersonMapper {
    +
    +     @Autowired
    +     @Qualifier("delegate")
    +     private PersonMapper delegate;
    +
    +     @Override
    +     public PersonDto personToPersonDto(Person person) {
    +         PersonDto dto = delegate.personToPersonDto( person );
    +         dto.setName( person.getFirstName() + " " + person.getLastName() );
    +
    +         return dto;
    +     }
    + }
    +
    +
    +
    +
    +
    +

    The generated class that extends the decorator is annotated with Spring’s @Primary annotation. To autowire the decorated mapper in the application, nothing special needs to be done:

    +
    +
    +
    Example 106. Using a decorated mapper
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +
    @Autowired
    +private PersonMapper personMapper; // injects the decorator, with the injected original mapper
    +
    +
    +
    +
    +
    +
    +

    12.1.2. Decorators with the JSR 330 component model

    +
    +

    JSR 330 doesn’t specify qualifiers and only allows to specifically name the beans. Hence, the generated implementation of the original mapper is annotated with @Named("fully-qualified-name-of-generated-implementation") (please note that when using a decorator, the class name of the mapper implementation ends with an underscore). To inject that bean in your decorator, add the same annotation to the delegate field (e.g. by copy/pasting it from the generated class):

    +
    +
    +
    Example 107. JSR 330 based decorator
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +
    public abstract class PersonMapperDecorator implements PersonMapper {
    +
    +    @Inject
    +    @Named("org.examples.PersonMapperImpl_")
    +    private PersonMapper delegate;
    +
    +    @Override
    +    public PersonDto personToPersonDto(Person person) {
    +        PersonDto dto = delegate.personToPersonDto( person );
    +        dto.setName( person.getFirstName() + " " + person.getLastName() );
    +
    +        return dto;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    Unlike with the other component models, the usage site must be aware if a mapper is decorated or not, as for decorated mappers, the parameterless @Named annotation must be added to select the decorator to be injected:

    +
    +
    +
    Example 108. Using a decorated mapper with JSR 330
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +
    @Inject
    +@Named
    +private PersonMapper personMapper; // injects the decorator, with the injected original mapper
    +
    +
    +
    +
    +
    +
    +
    +

    12.2. Mapping customization with before-mapping and after-mapping methods

    +
    +

    Decorators may not always fit the needs when it comes to customizing mappers. For example, if you need to perform the customization not only for a few selected methods, but for all methods that map specific super-types: in that case, you can use callback methods that are invoked before the mapping starts or after the mapping finished.

    +
    +
    +

    Callback methods can be implemented in the abstract mapper itself, in a type reference in Mapper#uses, or in a type used as @Context parameter.

    +
    +
    +
    Example 109. Mapper with @BeforeMapping and @AfterMapping hooks
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +
    @Mapper
    +public abstract class VehicleMapper {
    +
    +    @BeforeMapping
    +    protected void flushEntity(AbstractVehicle vehicle) {
    +        // I would call my entity manager's flush() method here to make sure my entity
    +        // is populated with the right @Version before I let it map into the DTO
    +    }
    +
    +    @AfterMapping
    +    protected void fillTank(AbstractVehicle vehicle, @MappingTarget AbstractVehicleDto result) {
    +        result.fuelUp( new Fuel( vehicle.getTankCapacity(), vehicle.getFuelType() ) );
    +    }
    +
    +    public abstract CarDto toCarDto(Car car);
    +}
    +
    +// Generates something like this:
    +public class VehicleMapperImpl extends VehicleMapper {
    +
    +    public CarDto toCarDto(Car car) {
    +        flushEntity( car );
    +
    +        if ( car == null ) {
    +            return null;
    +        }
    +
    +        CarDto carDto = new CarDto();
    +        // attributes mapping ...
    +
    +        fillTank( car, carDto );
    +
    +        return carDto;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    If the @BeforeMapping / @AfterMapping method has parameters, the method invocation is only generated if the return type of the method (if non-void) is assignable to the return type of the mapping method and all parameters can be assigned by the source or target parameters of the mapping method:

    +
    +
    +
      +
    • +

      A parameter annotated with @MappingTarget is populated with the target instance of the mapping.

      +
    • +
    • +

      A parameter annotated with @TargetType is populated with the target type of the mapping.

      +
    • +
    • +

      Parameters annotated with @Context are populated with the context parameters of the mapping method.

      +
    • +
    • +

      Any other parameter is populated with a source parameter of the mapping.

      +
    • +
    +
    +
    +

    For non-void methods, the return value of the method invocation is returned as the result of the mapping method if it is not null.

    +
    +
    +

    As with mapping methods, it is possible to specify type parameters for before/after-mapping methods.

    +
    +
    +
    Example 110. Mapper with @AfterMapping hook that returns a non-null value
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +
    @Mapper
    +public abstract class VehicleMapper {
    +
    +    @PersistenceContext
    +    private EntityManager entityManager;
    +
    +    @AfterMapping
    +    protected <T> T attachEntity(@MappingTarget T entity) {
    +        return entityManager.merge(entity);
    +    }
    +
    +    public abstract CarDto toCarDto(Car car);
    +}
    +
    +// Generates something like this:
    +public class VehicleMapperImpl extends VehicleMapper {
    +
    +    public CarDto toCarDto(Car car) {
    +        if ( car == null ) {
    +            return null;
    +        }
    +
    +        CarDto carDto = new CarDto();
    +        // attributes mapping ...
    +
    +        CarDto target = attachEntity( carDto );
    +        if ( target != null ) {
    +            return target;
    +        }
    +
    +        return carDto;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    All before/after-mapping methods that can be applied to a mapping method will be used. Mapping method selection based on qualifiers can be used to further control which methods may be chosen and which not. For that, the qualifier annotation needs to be applied to the before/after-method and referenced in BeanMapping#qualifiedBy or IterableMapping#qualifiedBy.

    +
    +
    +

    The order of the method invocation is determined primarily by their variant:

    +
    +
    +
      +
    1. +

      @BeforeMapping methods without parameters, a @MappingTarget parameter or a @TargetType parameter are called before any null-checks on source parameters and constructing a new target bean.

      +
    2. +
    3. +

      @BeforeMapping methods with a @MappingTarget parameter are called after constructing a new target bean.

      +
    4. +
    5. +

      @AfterMapping methods are called at the end of the mapping method before the last return statement.

      +
    6. +
    +
    +
    +

    Within those groups, the method invocations are ordered by their location of definition:

    +
    +
    +
      +
    1. +

      Methods declared on @Context parameters, ordered by the parameter order.

      +
    2. +
    3. +

      Methods implemented in the mapper itself.

      +
    4. +
    5. +

      Methods from types referenced in Mapper#uses(), in the order of the type declaration in the annotation.

      +
    6. +
    7. +

      Methods declared in one type are used after methods declared in their super-type.

      +
    8. +
    +
    +
    +

    Important: the order of methods declared within one type can not be guaranteed, as it depends on the compiler and the processing environment implementation.

    +
    +
    + + + + + +
    + + +
    +

    Before/After-mapping methods can also be used with builders:

    +
    +
    +
      +
    • +

      @BeforeMapping methods with a @MappingTarget parameter of the real target will not be invoked because it is only available after the mapping was already performed.

      +
    • +
    • +

      To be able to modify the object that is going to be built, the @AfterMapping annotated method must have the builder as @MappingTarget annotated parameter. The build method is called when the @AfterMapping annotated method scope finishes.

      +
    • +
    • +

      The @AfterMapping annotated method can also have the real target as @TargetType or @MappingTarget. It will be invoked after the real target was built (first the methods annotated with @TargetType, then the methods annotated with @MappingTarget)

      +
    • +
    +
    +
    +
    +
    +
    +
    +
    +

    13. Using the MapStruct SPI

    +
    +
    +

    To use a custom SPI implementation, it must be located in a separate JAR file together with a file named after the SPI (e.g. org.mapstruct.ap.spi.AccessorNamingStrategy) in META-INF/services/ with the fully qualified name of your custom implementation as content (e.g. org.mapstruct.example.CustomAccessorNamingStrategy). This JAR file needs to be added to the annotation processor classpath (i.e. add it next to the place where you added the mapstruct-processor jar).

    +
    +
    + + + + + +
    + + +
    +

    It might also be necessary to add the jar to your IDE’s annotation processor factory path. Otherwise you might get an error stating that it cannot be found, while a run using your build tool does succeed.

    +
    +
    +
    +
    +

    13.1. Custom Accessor Naming Strategy

    +
    +

    SPI name: org.mapstruct.ap.spi.AccessorNamingStrategy

    +
    +
    +

    MapStruct offers the possibility to override the AccessorNamingStrategy via the Service Provider Interface (SPI). A nice example is the use of the fluent API on the source object GolfPlayer and GolfPlayerDto below.

    +
    +
    +
    Example 111. Source object GolfPlayer with fluent API.
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +
    public class GolfPlayer {
    +
    +    private double handicap;
    +    private String name;
    +
    +    public double handicap() {
    +        return handicap;
    +    }
    +
    +    public GolfPlayer withHandicap(double handicap) {
    +        this.handicap = handicap;
    +        return this;
    +    }
    +
    +    public String name() {
    +        return name;
    +    }
    +
    +    public GolfPlayer withName(String name) {
    +        this.name = name;
    +        return this;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    Example 112. Source object GolfPlayerDto with fluent API.
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +
    public class GolfPlayerDto {
    +
    +    private double handicap;
    +    private String name;
    +
    +    public double handicap() {
    +        return handicap;
    +    }
    +
    +    public GolfPlayerDto withHandicap(double handicap) {
    +        this.handicap = handicap;
    +        return this;
    +    }
    +
    +    public String name() {
    +        return name;
    +    }
    +
    +    public GolfPlayerDto withName(String name) {
    +        this.name = name;
    +        return this;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    We want GolfPlayer to be mapped to a target object GolfPlayerDto similar like we 'always' do this:

    +
    +
    +
    Example 113. Source object with fluent API.
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    @Mapper
    +public interface GolfPlayerMapper {
    +
    +    GolfPlayerMapper INSTANCE = Mappers.getMapper( GolfPlayerMapper.class );
    +
    +    GolfPlayerDto toDto(GolfPlayer player);
    +
    +    GolfPlayer toPlayer(GolfPlayerDto player);
    +
    +}
    +
    +
    +
    +
    +
    +

    This can be achieved with implementing the SPI org.mapstruct.ap.spi.AccessorNamingStrategy as in the following example. Here’s an implemented org.mapstruct.ap.spi.AccessorNamingStrategy:

    +
    +
    +
    Example 114. CustomAccessorNamingStrategy
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +
    /**
    + * A custom {@link AccessorNamingStrategy} recognizing getters in the form of {@code property()} and setters in the
    + * form of {@code withProperty(value)}.
    + */
    +public class CustomAccessorNamingStrategy extends DefaultAccessorNamingStrategy {
    +
    +    @Override
    +    public boolean isGetterMethod(ExecutableElement method) {
    +        String methodName = method.getSimpleName().toString();
    +        return !methodName.startsWith( "with" ) && method.getReturnType().getKind() != TypeKind.VOID;
    +    }
    +
    +    @Override
    +    public boolean isSetterMethod(ExecutableElement method) {
    +        String methodName = method.getSimpleName().toString();
    +        return methodName.startsWith( "with" ) && methodName.length() > 4;
    +    }
    +
    +    @Override
    +    public String getPropertyName(ExecutableElement getterOrSetterMethod) {
    +        String methodName = getterOrSetterMethod.getSimpleName().toString();
    +        return IntrospectorUtils.decapitalize( methodName.startsWith( "with" ) ? methodName.substring(  4 ) : methodName );
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The CustomAccessorNamingStrategy makes use of the DefaultAccessorNamingStrategy (also available in mapstruct-processor) and relies on that class to leave most of the default behaviour unchanged.

    +
    +
    + + + + + +
    + + +Fore more details: The example above is present in our examples repository (https://github.com/mapstruct/mapstruct-examples). +
    +
    +
    +
    +

    13.2. Mapping Exclusion Provider

    +
    +

    SPI name: org.mapstruct.ap.spi.MappingExclusionProvider

    +
    +
    +

    MapStruct offers the possibility to override the MappingExclusionProvider via the Service Provider Interface (SPI). +A nice example is to not allow MapStruct to create an automatic sub-mapping for a certain type, +i.e. MapStruct will not try to generate an automatic sub-mapping method for an excluded type.

    +
    +
    + + + + + +
    + + +
    +

    The DefaultMappingExclusionProvider will exclude all types under the java or javax packages. +This means that MapStruct will not try to generate an automatic sub-mapping method between some custom type and some type declared in the Java class library.

    +
    +
    +
    +
    +
    Example 115. Source object
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    public class Source {
    +
    +    static class NestedSource {
    +        private String property;
    +        // getters and setters
    +    }
    +
    +    private NestedSource nested;
    +    // getters and setters
    +}
    +
    +
    +
    +
    +
    +
    Example 116. Target object
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +
    public class Target {
    +
    +    static class NestedTarget {
    +        private String property;
    +        // getters and setters
    +    }
    +
    +    private NestedTarget nested;
    +    // getters and setters
    +}
    +
    +
    +
    +
    +
    +
    Example 117. Mapper definition
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +
    @Mapper
    +public interface ErroneousCustomExclusionMapper {
    +
    +    Target map(Source source);
    +}
    +
    +
    +
    +
    +
    +

    We want to exclude the NestedTarget from the automatic sub-mapping method generation.

    +
    +
    +
    Example 118. CustomMappingExclusionProvider
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +
    +import java.util.regex.Pattern;
    +import javax.lang.model.element.Name;
    +import javax.lang.model.element.TypeElement;
    +
    +import org.mapstruct.ap.spi.MappingExclusionProvider;
    +
    +public class CustomMappingExclusionProvider implements MappingExclusionProvider {
    +    private static final Pattern JAVA_JAVAX_PACKAGE = Pattern.compile( "^javax?\\..*" );
    +
    +    @Override
    +    public boolean isExcluded(TypeElement typeElement) {
    +        Name name = typeElement.getQualifiedName();
    +        return name.length() != 0 && ( JAVA_JAVAX_PACKAGE.matcher( name ).matches() ||
    +            name.toString().equals( "org.mapstruct.ap.test.nestedbeans.exclusions.custom.Target.NestedTarget" ) );
    +    }
    +}
    +
    +
    +
    +
    +
    +
    +

    13.3. Custom Builder Provider

    +
    +

    SPI name: org.mapstruct.ap.spi.BuilderProvider

    +
    +
    +

    MapStruct offers the possibility to override the DefaultProvider via the Service Provider Interface (SPI). +A nice example is to provide support for a custom builder strategy.

    +
    +
    +
    Example 119. Custom Builder Provider which disables Builder support
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +
    +import javax.lang.model.type.TypeMirror;
    +
    +public class NoOpBuilderProvider implements BuilderProvider {
    +
    +    @Override
    +    public BuilderInfo findBuilderInfo(TypeMirror type) {
    +        return null;
    +    }
    +
    +}
    +
    +
    +
    +
    +
    +
    +

    13.4. Custom Enum Naming Strategy

    +
    +

    SPI name: org.mapstruct.ap.spi.EnumMappingStrategy

    +
    +
    +

    MapStruct offers the possibility to override the EnumMappingStrategy via the Service Provider Interface (SPI). +This can be used when you have certain enums that follow some conventions within your organization. +For example all enums which implement an interface named CustomEnumMarker are prefixed with CUSTOM_ +and the default value for them when mapping from null is UNSPECIFIED

    +
    +
    +
    Example 120. Normal Enum
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +
    public enum CheeseType {
    +    BRIE,
    +    ROQUEFORT;
    +}
    +
    +
    +
    +
    +
    +
    Example 121. Custom marker enum
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +
    public enum CustomCheeseType implements CustomEnumMarker {
    +
    +    UNSPECIFIED,
    +    CUSTOM_BRIE,
    +    CUSTOM_ROQUEFORT;
    +}
    +
    +
    +
    +
    +
    +

    We want CheeseType and CustomCheeseType to be mapped without the need to manually define the value mappings:

    +
    +
    +
    Example 122. Custom enum mapping
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    @Mapper
    +public interface CheeseTypeMapper {
    +
    +    CheeseType map(CustomCheeseType cheese);
    +
    +    CustomCheeseType map(CheeseType cheese);
    +}
    +
    +
    +
    +
    +
    +

    This can be achieved with implementing the SPI org.mapstruct.ap.spi.EnumMappingStrategy as in the following example. +Here’s an implemented org.mapstruct.ap.spi.EnumMappingStrategy:

    +
    +
    +
    Example 123. Custom enum naming strategy
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +
    public class CustomEnumMappingStrategy extends DefaultEnumMappingStrategy {
    +
    +    @Override
    +    public String getDefaultNullEnumConstant(TypeElement enumType) {
    +        if ( isCustomEnum( enumType ) ) {
    +            return "UNSPECIFIED";
    +        }
    +
    +        return super.getDefaultNullEnumConstant( enumType );
    +    }
    +
    +    @Override
    +    public String getEnumConstant(TypeElement enumType, String enumConstant) {
    +        if ( isCustomEnum( enumType ) ) {
    +            return getCustomEnumConstant( enumConstant );
    +        }
    +        return super.getEnumConstant( enumType, enumConstant );
    +    }
    +     protected String getCustomEnumConstant(String enumConstant) {
    +        if ( "UNSPECIFIED".equals( enumConstant ) ) {
    +            return MappingConstantsGem.NULL;
    +        }
    +         return enumConstant.replace( "CUSTOM_", "" );
    +    }
    +     protected boolean isCustomEnum(TypeElement enumType) {
    +        for ( TypeMirror enumTypeInterface : enumType.getInterfaces() ) {
    +            if ( typeUtils.asElement( enumTypeInterface ).getSimpleName().contentEquals( "CustomEnumMarker" ) ) {
    +                return true;
    +            }
    +        }
    +         return false;
    +    }
    +}
    +
    +
    +
    +
    +
    +

    The generated code then for the CheeseMapper looks like:

    +
    +
    +
    Example 124. Generated CheeseTypeMapper
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +
    public class CheeseTypeMapperImpl implements CheeseTypeMapper {
    +
    +    @Override
    +    public CheeseType map(CustomCheeseType cheese) {
    +        if ( cheese == null ) {
    +            return null;
    +        }
    +
    +        CheeseType cheeseType;
    +
    +        switch ( cheese ) {
    +            case UNRECOGNIZED: cheeseType = null;
    +            break;
    +            case CUSTOM_BRIE: cheeseType = CheeseType.BRIE;
    +            break;
    +            case CUSTOM_ROQUEFORT: cheeseType = CheeseType.ROQUEFORT;
    +            break;
    +            default: throw new IllegalArgumentException( "Unexpected enum constant: " + cheese );
    +        }
    +
    +        return cheeseType;
    +    }
    +
    +    @Override
    +    public CustomCheeseType map(CheeseType cheese) {
    +        if ( cheese == null ) {
    +            return CustomCheeseType.UNSPECIFIED;
    +        }
    +
    +        CustomCheeseType customCheeseType;
    +
    +        switch ( cheese ) {
    +            case BRIE: customCheeseType = CustomCheeseType.CUSTOM_BRIE;
    +            break;
    +            case ROQUEFORT: customCheeseType = CustomCheeseType.CUSTOM_ROQUEFORT;
    +            break;
    +            default: throw new IllegalArgumentException( "Unexpected enum constant: " + cheese );
    +        }
    +
    +        return customCheeseType;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    +

    13.5. Custom Enum Transformation Strategy

    +
    +

    SPI name: org.mapstruct.ap.spi.EnumTransformationStrategy

    +
    +
    +

    MapStruct offers the possibility to other transformations strategies by implementing EnumTransformationStrategy via the Service Provider Interface (SPI). +A nice example is to provide support for a custom transformation strategy.

    +
    +
    +
    Example 125. Custom Enum Transformation Strategy which lower-cases the value and applies a suffix
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +
    +import org.mapstruct.ap.spi.EnumTransformationStrategy;
    +
    +public class CustomEnumTransformationStrategy implements EnumTransformationStrategy {
    +
    +    @Override
    +    public String getStrategyName() {
    +        return "custom";
    +    }
    +
    +    @Override
    +    public String transform(String value, String configuration) {
    +        return value.toLowerCase() + configuration;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    +

    13.6. Additional Supported Options Provider

    +
    +

    SPI name: org.mapstruct.ap.spi.AdditionalSupportedOptionsProvider

    +
    +
    +

    MapStruct offers the ability to pass through declared compiler args (or "options") provided to the MappingProcessor +to the individual SPIs, by implementing AdditionalSupportedOptionsProvider via the Service Provider Interface (SPI).

    +
    +
    +
    Example 126. Custom Additional Supported Options Provider that declares myorg.custom.defaultNullEnumConstant as an option to pass through
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    import java.util.Collections;
    +import java.util.Set;
    +
    +import org.mapstruct.ap.spi.AdditionalSupportedOptionsProvider;
    +
    +public class CustomAdditionalSupportedOptionsProvider implements AdditionalSupportedOptionsProvider {
    +
    +    @Override
    +    public Set<String> getAdditionalSupportedOptions() {
    +        return Collections.singleton( "myorg.custom.defaultNullEnumConstant" );
    +    }
    +
    +}
    +
    +
    +
    +
    +
    +

    The value of this option is provided by including an arg to the compilerArgs tag when defining your custom SPI +implementation.

    +
    +
    +
    Example 127. Example maven configuration with additional options
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +
    <configuration>
    +    <annotationProcessorPaths>
    +        <path>
    +            <groupId>org.myorg</groupId>
    +            <artifactId>custom-spi-impl</artifactId>
    +            <version>${project.version}</version>
    +        </path>
    +    </annotationProcessorPaths>
    +    <compilerArgs>
    +        <arg>-Amyorg.custom.defaultNullEnumConstant=MISSING</arg>
    +    </compilerArgs>
    +</configuration>
    +
    +
    +
    +
    +
    +

    Your custom SPI implementations can then access this configured value via MapStructProcessingEnvironment#getOptions().

    +
    +
    +
    Example 128. Accessing your custom options
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +
    import javax.lang.model.element.TypeElement;
    +
    +import org.mapstruct.ap.spi.DefaultEnumMappingStrategy;
    +import org.mapstruct.ap.spi.MapStructProcessingEnvironment;
    +
    +public class UnknownEnumMappingStrategy extends DefaultEnumMappingStrategy {
    +
    +    private String defaultNullEnumConstant;
    +
    +    @Override
    +    public void init(MapStructProcessingEnvironment processingEnvironment) {
    +        super.init( processingEnvironment );
    +        defaultNullEnumConstant = processingEnvironment.getOptions().get( "myorg.custom.defaultNullEnumConstant" );
    +    }
    +
    +    @Override
    +    public String getDefaultNullEnumConstant(TypeElement enumType) {
    +        return defaultNullEnumConstant;
    +    }
    +}
    +
    +
    +
    +
    +
    +
    +
    +
    +

    14. Third-party API integration

    +
    +
    +

    14.1. Non-shipped annotations

    +
    +

    There are various use-cases you must resolve ambiguity for MapStruct to use a correct piece of code. +However, the primary goal of MapStruct is to focus on bean mapping without polluting the entity code. +For that reason, MapStruct is flexible enough to interact with already defined annotations from third-party libraries. +The requirement to enable this behavior is to match the name of such annotation. +Hence, we say that annotation can be from any package.

    +
    +
    +

    The annotations named @ConstructorProperties and @Default are currently examples of this kind of annotation.

    +
    +
    + + + + + +
    + + +
    +

    If such named third-party annotation exists, it does not guarantee its @Target matches with the intended placement. +Be aware of placing a third-party annotation just for sake of mapping is not recommended as long as it might lead to unwanted side effects caused by that library.

    +
    +
    +
    +
    +

    A very common case is that no third-party dependency imported to your project provides such annotation or is inappropriate for use as already described. +In such cases create your own annotation, for example:

    +
    +
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +
    package foo.support.mapstruct;
    +
    +import java.lang.annotation.ElementType;
    +import java.lang.annotation.Retention;
    +import java.lang.annotation.RetentionPolicy;
    +import java.lang.annotation.Target;
    +
    +@Target(ElementType.CONSTRUCTOR)
    +@Retention(RetentionPolicy.CLASS)
    +public @interface Default {
    +
    +}
    +
    +
    +
    +
    +
    +
    +

    14.2. Lombok

    +
    +

    MapStruct works together with Project Lombok as of MapStruct 1.2.0.Beta1 and Lombok 1.16.14.

    +
    +
    +

    MapStruct takes advantage of generated getters, setters, and constructors and uses them to generate the mapper implementations. +Be reminded that the generated code by Lombok might not always be compatible with the expectations from the individual mappings. +In such a case, either Mapstruct mapping must be changed or Lombok must be configured accordingly using lombok.config for mutual synergy.

    +
    +
    + + + + + +
    + + +
    +

    Lombok 1.18.16 introduces a breaking change (changelog). +The additional annotation processor lombok-mapstruct-binding (Maven) must be added otherwise MapStruct stops working with Lombok. +This resolves the compilation issues of Lombok and MapStruct modules.

    +
    +
    +
    +
    <path>
    +    <groupId>org.projectlombok</groupId>
    +    <artifactId>lombok-mapstruct-binding</artifactId>
    +    <version>0.2.0</version>
    +</path>
    +
    +
    +
    +
    +
    +

    14.2.1. Set up

    +
    +

    The set up using Maven or Gradle does not differ from what is described in Set up. Additionally, you need to provide Lombok dependencies.

    +
    +
    +
    Example 129. Maven configuration
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +
    +<properties>
    +    <org.mapstruct.version>1.6.0.Beta1</org.mapstruct.version>
    +    <org.projectlombok.version>1.18.16</org.projectlombok.version>
    +    <maven.compiler.source>1.8</maven.compiler.source>
    +    <maven.compiler.target>1.8</maven.compiler.target>
    +</properties>
    +
    +<dependencies>
    +    <dependency>
    +        <groupId>org.mapstruct</groupId>
    +        <artifactId>mapstruct</artifactId>
    +        <version>${org.mapstruct.version}</version>
    +    </dependency>
    +
    +    <!-- lombok dependency should not end up on classpath -->
    +    <dependency>
    +        <groupId>org.projectlombok</groupId>
    +        <artifactId>lombok</artifactId>
    +        <version>${org.projectlombok.version}</version>
    +        <scope>provided</scope>
    +    </dependency>
    +</dependencies>
    +
    +<build>
    +    <plugins>
    +        <plugin>
    +            <groupId>org.apache.maven.plugins</groupId>
    +            <artifactId>maven-compiler-plugin</artifactId>
    +            <version>3.8.1</version>
    +            <configuration>
    +                <source>1.8</source>
    +                <target>1.8</target>
    +                <annotationProcessorPaths>
    +                    <path>
    +                        <groupId>org.mapstruct</groupId>
    +                        <artifactId>mapstruct-processor</artifactId>
    +                        <version>${org.mapstruct.version}</version>
    +                    </path>
    +                    <path>
    +                        <groupId>org.projectlombok</groupId>
    +                        <artifactId>lombok</artifactId>
    +                        <version>${org.projectlombok.version}</version>
    +                    </path>
    +
    +                    <!-- additional annotation processor required as of Lombok 1.18.16 -->
    +                    <path>
    +                        <groupId>org.projectlombok</groupId>
    +                        <artifactId>lombok-mapstruct-binding</artifactId>
    +                        <version>0.2.0</version>
    +                    </path>
    +                </annotationProcessorPaths>
    +            </configuration>
    +        </plugin>
    +    </plugins>
    +</build>
    +
    +
    +
    +
    +
    +
    Example 130. Gradle configuration (3.4 and later)
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +
    +dependencies {
    +
    +    implementation "org.mapstruct:mapstruct:${mapstructVersion}"
    +    compileOnly "org.projectlombok:lombok:1.18.16"
    +    annotationProcessor "org.projectlombok:lombok-mapstruct-binding:0.2.0"
    +    annotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
    +    annotationProcessor "org.projectlombok:lombok:1.18.16"
    +}
    +
    +
    +
    +
    +
    +
    +

    The usage combines what you already know from Defining a mapper and Lombok.

    +
    +
    +
    Example 131. Usage of MapStruct with Lombok
    +
    +
    +
    +
    
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +
    @Data
    +public class Source {
    +
    +    private String test;
    +}
    +
    +public class Target {
    +
    +    private Long testing;
    +
    +    public Long getTesting() {
    +        return testing;
    +    }
    +
    +    public void setTesting( Long testing ) {
    +        this.testing = testing;
    +    }
    +}
    +
    +@Mapper
    +public interface SourceTargetMapper {
    +
    +    SourceTargetMapper MAPPER = Mappers.getMapper( SourceTargetMapper.class );
    +
    +    @Mapping( source = "test", target = "testing" )
    +    Target toTarget( Source s );
    +}
    +
    +
    +
    +
    +
    +
    +

    A working example can be found on the GitHub project mapstruct-lombok.

    +
    +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/static/documentation/1.6/reference/pdf/mapstruct-reference-guide.pdf b/static/documentation/1.6/reference/pdf/mapstruct-reference-guide.pdf new file mode 100644 index 000000000..4d897bdba Binary files /dev/null and b/static/documentation/1.6/reference/pdf/mapstruct-reference-guide.pdf differ