Package | Description |
---|---|
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.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.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.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
|
Constructor and Description |
---|
Conversions(TypeFactory typeFactory) |
CreateDecimalFormat(TypeFactory typeFactory) |
Modifier and Type | Field and Description |
---|---|
protected TypeFactory |
GeneratedType.GeneratedTypeBuilder.typeFactory |
Modifier and Type | Method and Description |
---|---|
TypeFactory |
MappingBuilderContext.getTypeFactory() |
Modifier and Type | Method and Description |
---|---|
static DefaultMapperReference |
DefaultMapperReference.getInstance(Type type,
boolean isAnnotatedMapper,
TypeFactory typeFactory,
List<String> otherMapperReferences) |
T |
GeneratedType.GeneratedTypeBuilder.typeFactory(TypeFactory typeFactory) |
Constructor and Description |
---|
GeneratedType(TypeFactory typeFactory,
String packageName,
String name,
String superClassName,
String interfacePackage,
String interfaceName,
List<MappingMethod> methods,
List<Field> fields,
Options options,
VersionInformation versionInformation,
Accessibility accessibility,
SortedSet<Type> extraImportedTypes,
Constructor constructor) |
MappingBuilderContext(TypeFactory typeFactory,
Elements elementUtils,
Types typeUtils,
FormattingMessager messager,
AccessorNamingUtils accessorNaming,
EnumMappingStrategy enumMappingStrategy,
Map<String,EnumTransformationStrategy> enumTransformationStrategies,
Options options,
MappingBuilderContext.MappingResolver mappingResolver,
TypeElement mapper,
List<SourceMethod> sourceModel,
List<MapperReference> mapperReferences) |
Constructor and Description |
---|
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) |
SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Type targetType,
TypeFactory typeFactory,
boolean fieldAssignment) |
Modifier and Type | Method and Description |
---|---|
static MappingReferences |
MappingReferences.forSourceMethod(SourceMethod sourceMethod,
Type targetType,
Set<String> targetProperties,
FormattingMessager messager,
TypeFactory typeFactory) |
List<SourceReference> |
SourceReference.push(TypeFactory typeFactory,
FormattingMessager messager,
Method method) |
TargetReference.Builder |
TargetReference.Builder.typeFactory(TypeFactory typeFactory) |
SourceReference.BuilderFromMapping |
SourceReference.BuilderFromMapping.typeFactory(TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
TypeFactory |
ConversionContext.getTypeFactory() |
TypeFactory |
DefaultConversionContext.getTypeFactory() |
Modifier and Type | Method and Description |
---|---|
static BuilderType |
BuilderType.create(BuilderInfo builderInfo,
Type typeToBuild,
TypeFactory typeFactory,
Types typeUtils) |
Constructor and Description |
---|
DefaultConversionContext(TypeFactory typeFactory,
FormattingMessager messager,
Type sourceType,
Type targetType,
FormattingParameters formattingParameters) |
Type(Types typeUtils,
Elements elementUtils,
TypeFactory typeFactory,
AccessorNamingUtils accessorNaming,
TypeMirror typeMirror,
TypeElement typeElement,
List<Type> typeParameters,
ImplementationType implementationType,
Type componentType,
String packageName,
String name,
String qualifiedName,
boolean isInterface,
boolean isEnumType,
boolean isIterableType,
boolean isCollectionType,
boolean isMapType,
boolean isStreamType,
Map<String,String> toBeImportedTypes,
Map<String,String> notToBeImportedTypes,
Boolean isToBeImported,
boolean isLiteral,
boolean loggingVerbose) |
Modifier and Type | Method and Description |
---|---|
void |
MappingMethodOptions.applyIgnoreAll(SourceMethod method,
TypeFactory typeFactory,
FormattingMessager messager) |
static BeanMappingOptions |
BeanMappingOptions.getInstanceOn(org.mapstruct.ap.internal.gem.BeanMappingGem beanMapping,
MapperOptions mapperOptions,
ExecutableElement method,
FormattingMessager messager,
Types typeUtils,
TypeFactory typeFactory) |
SourceMethod.Builder |
SourceMethod.Builder.setTypeFactory(TypeFactory typeFactory) |
Constructor and Description |
---|
MethodSelectors(Types typeUtils,
Elements elementUtils,
TypeFactory typeFactory,
FormattingMessager messager) |
TypeSelector(TypeFactory typeFactory,
FormattingMessager messager) |
Modifier and Type | Method and Description |
---|---|
TypeFactory |
DefaultModelElementProcessorContext.getTypeFactory() |
protected TypeFactory |
AnnotationBasedComponentModelProcessor.getTypeFactory() |
TypeFactory |
ModelElementProcessor.ProcessorContext.getTypeFactory() |
Constructor and Description |
---|
MappingResolverImpl(FormattingMessager messager,
Elements elementUtils,
Types typeUtils,
TypeFactory typeFactory,
List<Method> sourceModel,
List<MapperReference> mapperReferences,
boolean verboseLogging) |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.