Package org.mapstruct.ap.spi
SPI (service provider interface) contracts to be implemented for advanced use cases.
-
Interface Summary Interface Description AccessorNamingStrategy A service provider interface for the mapping between method names and properties.AdditionalSupportedOptionsProvider Provider for any additional supported options required for custom SPI implementations.AstModifyingAnnotationProcessor A contract to be implemented by other annotation processors which - against the design philosophy of JSR 269 - alter the types under compilation.BuilderProvider A service provider interface that is used to detect types that require a builder for mapping.EnumMappingStrategy A service provider interface for the mapping between different enum constantsEnumTransformationStrategy A service provider interface for transforming name based value mappings.MappingExclusionProvider A service provider interface that is used to control if MapStruct is allowed to generate automatic sub-mapping for a givenTypeElement
.MapStructProcessingEnvironment MapStruct will provide the implementations of its SPIs with on object implementing this interface so they can use facilities provided by it. -
Class Summary Class Description BuilderInfo Holder for the builder information.BuilderInfo.Builder CaseEnumTransformationStrategy Applies case transformation to the source enumDefaultAccessorNamingStrategy The default JavaBeans-compliant implementation of theAccessorNamingStrategy
service provider interface.DefaultBuilderProvider Default implementation ofBuilderProvider
.DefaultEnumMappingStrategy FreeBuilderAccessorNamingStrategy Accessor naming strategy for FreeBuilder.ImmutablesAccessorNamingStrategy Accessor naming strategy for Immutables.ImmutablesBuilderProvider Builder provider for Immutables.NoOpBuilderProvider A NoOpBuilderProvider
which returnsnull
when searching for a builder.PrefixEnumTransformationStrategy StripPrefixEnumTransformationStrategy StripSuffixEnumTransformationStrategy SuffixEnumTransformationStrategy -
Enum Summary Enum Description MethodType Different types of a method. -
Exception Summary Exception Description MoreThanOneBuilderCreationMethodException Indicates that a type has too many builder creation methods.TypeHierarchyErroneousException Indicates a type was visited whose hierarchy was erroneous, because it has a non-existing super-type.