| 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.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(javax.lang.model.util.Elements elementUtils,
TypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
static Decorator |
Decorator.getInstance(javax.lang.model.util.Elements elementUtils,
TypeFactory typeFactory,
javax.lang.model.element.TypeElement mapperElement,
DecoratedWithPrism decoratorPrism,
java.util.List<MappingMethod> methods,
boolean hasDelegateConstructor,
boolean suppressGeneratorTimestamp) |
static DefaultMapperReference |
DefaultMapperReference.getInstance(Type type,
boolean isAnnotatedMapper,
TypeFactory typeFactory,
java.util.List<java.lang.String> otherMapperReferences) |
Mapper.Builder |
Mapper.Builder.typeFactory(TypeFactory typeFactory) |
| Constructor and Description |
|---|
GeneratedType(TypeFactory typeFactory,
java.lang.String packageName,
java.lang.String name,
java.lang.String superClassName,
java.lang.String interfaceName,
java.util.List<MappingMethod> methods,
java.util.List<? extends ModelElement> fields,
boolean suppressGeneratorTimestamp,
Accessibility accessibility) |
| Modifier and Type | Method and Description |
|---|---|
TypeFactory |
DefaultConversionContext.getTypeFactory() |
TypeFactory |
ConversionContext.getTypeFactory() |
| Constructor and Description |
|---|
DefaultConversionContext(TypeFactory typeFactory,
Type targetType,
java.lang.String format) |
| Constructor and Description |
|---|
BuiltInMappingMethods(TypeFactory typeFactory) |
CalendarToXmlGregorianCalendar(TypeFactory typeFactory) |
DateToXmlGregorianCalendar(TypeFactory typeFactory) |
JaxbElemToValue(TypeFactory typeFactory) |
ListOfJaxbElemToListOfValue(TypeFactory typeFactory) |
StringToXmlGregorianCalendar(TypeFactory typeFactory) |
XmlGregorianCalendarToCalendar(TypeFactory typeFactory) |
XmlGregorianCalendarToDate(TypeFactory typeFactory) |
XmlGregorianCalendarToString(TypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<Type> |
MethodSelectors.getParameterTypes(TypeFactory typeFactory,
java.util.List<Parameter> parameters,
Type sourceType,
Type returnType) |
| Constructor and Description |
|---|
MethodSelectors(javax.lang.model.util.Types typeUtils,
TypeFactory typeFactory) |
TypeSelector(TypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected TypeFactory |
AnnotationBasedComponentModelProcessor.getTypeFactory() |
TypeFactory |
DefaultModelElementProcessorContext.getTypeFactory() |
TypeFactory |
ModelElementProcessor.ProcessorContext.getTypeFactory() |
| Constructor and Description |
|---|
MappingResolver(javax.annotation.processing.Messager messager,
TypeFactory typeFactory,
javax.lang.model.util.Elements elementUtils,
javax.lang.model.util.Types typeUtils) |
Copyright © 2012-2014. All Rights Reserved.