| Package | Description |
|---|---|
| org.mapstruct.ap.conversion |
Provides built-in conversions between primitive and wrapper types, strings, dates etc.
|
| org.mapstruct.ap.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
| org.mapstruct.ap.model.common |
Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
|
| org.mapstruct.ap.model.source |
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
|
| org.mapstruct.ap.model.source.builtin |
Contains "built-in methods" which may be added as private methods to a generated mapper.
|
| org.mapstruct.ap.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.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.processor.creation |
Contains all helper classes for the
MapperCreationProcessor |
| Constructor and Description |
|---|
Conversions(Elements elementUtils,
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 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) |
| Modifier and Type | Method and Description |
|---|---|
TypeFactory |
DefaultConversionContext.getTypeFactory() |
TypeFactory |
ConversionContext.getTypeFactory() |
| Constructor and Description |
|---|
DefaultConversionContext(TypeFactory typeFactory,
FormattingMessager messager,
Type sourceType,
Type targetType,
String dateFormat) |
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) |
Mapping |
Mapping.reverse(SourceMethod method,
FormattingMessager messager,
TypeFactory typeFactory) |
SourceMethod.Builder |
SourceMethod.Builder.setTypeFactory(TypeFactory typeFactory) |
SourceReference.BuilderFromMapping |
SourceReference.BuilderFromMapping.typeFactory(TypeFactory typeFactory) |
| Constructor and Description |
|---|
BuiltInMappingMethods(TypeFactory typeFactory) |
CalendarToXmlGregorianCalendar(TypeFactory typeFactory) |
DateToXmlGregorianCalendar(TypeFactory typeFactory) |
JaxbElemToValue(TypeFactory typeFactory) |
StringToXmlGregorianCalendar(TypeFactory typeFactory) |
XmlGregorianCalendarToCalendar(TypeFactory typeFactory) |
XmlGregorianCalendarToDate(TypeFactory typeFactory) |
XmlGregorianCalendarToString(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-2015. All Rights Reserved.