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.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(Elements elementUtils,
TypeFactory typeFactory) |
CreateDecimalFormat(TypeFactory 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) |
Decorator.Builder |
Decorator.Builder.typeFactory(TypeFactory typeFactory) |
Mapper.Builder |
Mapper.Builder.typeFactory(TypeFactory typeFactory) |
Constructor and Description |
---|
GeneratedType(TypeFactory typeFactory,
String packageName,
String name,
String superClassName,
String interfacePackage,
String interfaceName,
List<MappingMethod> methods,
List<? extends Field> fields,
Options options,
VersionInformation versionInformation,
Accessibility accessibility,
SortedSet<Type> extraImportedTypes,
Constructor constructor) |
MappingBuilderContext(TypeFactory typeFactory,
Elements elementUtils,
Types typeUtils,
FormattingMessager messager,
Options options,
MappingBuilderContext.MappingResolver mappingResolver,
TypeElement mapper,
List<SourceMethod> sourceModel,
List<MapperReference> mapperReferences) |
Constructor and Description |
---|
SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType,
boolean allwaysIncludeNullCheck,
TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
TypeFactory |
ConversionContext.getTypeFactory() |
TypeFactory |
DefaultConversionContext.getTypeFactory() |
Constructor and Description |
---|
DefaultConversionContext(TypeFactory typeFactory,
FormattingMessager messager,
Type sourceType,
Type targetType,
String dateFormat,
String numberFormat) |
Type(Types typeUtils,
Elements elementUtils,
TypeFactory typeFactory,
TypeMirror typeMirror,
TypeElement typeElement,
List<Type> typeParameters,
Type implementationType,
Type componentType,
String packageName,
String name,
String qualifiedName,
boolean isInterface,
boolean isEnumType,
boolean isIterableType,
boolean isCollectionType,
boolean isMapType,
boolean isImported) |
Modifier and Type | Method and Description |
---|---|
void |
MappingOptions.applyInheritedOptions(MappingOptions inherited,
boolean isInverse,
SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory)
Merges in all the mapping options configured, giving the already defined options precedence.
|
void |
Mapping.init(SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory,
boolean isReverse) |
Mapping |
Mapping.reverse(SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory) |
SourceMethod.Builder |
SourceMethod.Builder.setTypeFactory(TypeFactory typeFactory) |
SourceReference.BuilderFromMapping |
SourceReference.BuilderFromMapping.typeFactory(TypeFactory typeFactory) |
TargetReference.BuilderFromTargetMapping |
TargetReference.BuilderFromTargetMapping.typeFactory(TypeFactory typeFactory) |
Constructor and Description |
---|
MethodSelectors(Types typeUtils,
Elements elementUtils,
TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
protected TypeFactory |
AnnotationBasedComponentModelProcessor.getTypeFactory() |
TypeFactory |
DefaultModelElementProcessorContext.getTypeFactory() |
TypeFactory |
ModelElementProcessor.ProcessorContext.getTypeFactory() |
Constructor and Description |
---|
MappingResolverImpl(FormattingMessager messager,
Elements elementUtils,
Types typeUtils,
TypeFactory typeFactory,
List<SourceMethod> sourceModel,
List<MapperReference> mapperReferences) |
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.