| Package | Description |
|---|---|
| org.mapstruct.ap.conversion | |
| org.mapstruct.ap.model | |
| org.mapstruct.ap.model.source | |
| org.mapstruct.ap.util |
| Modifier and Type | Method and Description |
|---|---|
String |
WrapperToStringConversion.from(String targetPropertyAccessor,
Type type) |
String |
PrimitiveToStringConversion.from(String targetPropertyAccessor,
Type type) |
String |
WrapperToWrapperConversion.from(String targetPropertyAccessor,
Type type) |
String |
Conversion.from(String targetPropertyAccessor,
Type type) |
String |
EnumStringConversion.from(String targetPropertyAccessor,
Type type) |
String |
ReverseConversion.from(String targetPropertyAccessor,
Type type) |
String |
CharToStringConversion.from(String targetPropertyAccessor,
Type type) |
String |
PrimitiveToWrapperConversion.from(String targetPropertyAccessor,
Type type) |
String |
PrimitiveToPrimitiveConversion.from(String targetPropertyAccessor,
Type type) |
String |
CharWrapperToStringConversion.from(String targetPropertyAccessor,
Type type) |
Conversion |
Conversions.getConversion(Type sourceType,
Type targetType) |
String |
WrapperToStringConversion.to(String sourcePropertyAccessor,
Type type) |
String |
PrimitiveToStringConversion.to(String sourcePropertyAccessor,
Type type) |
String |
WrapperToWrapperConversion.to(String sourcePropertyAccessor,
Type type) |
String |
Conversion.to(String sourcePropertyAccessor,
Type type) |
String |
EnumStringConversion.to(String sourcePropertyAccessor,
Type type) |
String |
ReverseConversion.to(String sourcePropertyAccessor,
Type type) |
String |
CharToStringConversion.to(String sourcePropertyAccessor,
Type type) |
String |
PrimitiveToWrapperConversion.to(String sourcePropertyAccessor,
Type type) |
String |
PrimitiveToPrimitiveConversion.to(String sourcePropertyAccessor,
Type type) |
String |
CharWrapperToStringConversion.to(String sourcePropertyAccessor,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
static Type |
Type.forClass(Class<?> clazz) |
Type |
Type.getCollectionImplementationType() |
Type |
MappingMethod.getDeclaringMapper() |
Type |
Type.getElementType() |
Type |
Type.getIterableImplementationType() |
Type |
PropertyMapping.getSourceType() |
Type |
BeanMapping.getSourceType() |
Type |
PropertyMapping.getTargetType() |
Type |
BeanMapping.getTargetType() |
| Modifier and Type | Method and Description |
|---|---|
SortedSet<Type> |
Mapper.getImportedTypes() |
List<Type> |
Mapper.getUsedMapperTypes() |
| Modifier and Type | Method and Description |
|---|---|
int |
Type.compareTo(Type o) |
| Constructor and Description |
|---|
BeanMapping(Type sourceType,
Type targetType,
List<PropertyMapping> propertyMappings,
MappingMethod mappingMethod,
MappingMethod reverseMappingMethod,
String toConversion,
String fromConversion) |
MappingMethod(Type declaringMapper,
String name,
String parameterName) |
MappingMethod(Type declaringMapper,
String name,
String parameterName,
MappingMethod elementMappingMethod) |
PropertyMapping(String sourceReadAccessorName,
String sourceWriteAccessorName,
Type sourceType,
String targetReadAccessorName,
String targetWriteAccessorName,
Type targetType,
MappingMethod mappingMethod,
MappingMethod reverseMappingMethod,
String toConversion,
String fromConversion) |
Type(String packageName,
String name,
Type elementType,
boolean isEnumType,
boolean isCollectionType,
boolean isIterableType) |
| Constructor and Description |
|---|
Mapper(String packageName,
String interfaceName,
String implementationName,
List<BeanMapping> beanMappings,
List<Type> usedMapperTypes,
Options options) |
| Modifier and Type | Method and Description |
|---|---|
Type |
Method.getDeclaringMapper() |
Type |
MappedProperty.getSourceType() |
Type |
Method.getSourceType() |
Type |
MappedProperty.getTargetType() |
Type |
Method.getTargetType() |
Type |
Parameter.getType() |
| Constructor and Description |
|---|
MappedProperty(String sourceName,
String sourceReadAccessorName,
String sourceWriteAccessorName,
Type sourceType,
String targetName,
String targetReadAccessorName,
String targetWriteAccessorName,
Type targetType) |
Method(Type declaringMapper,
ExecutableElement executable,
String parameterName,
Type sourceType,
Type targetType,
List<MappedProperty> mappedProperties) |
Parameter(String name,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeUtil.getType(DeclaredType type) |
Type |
TypeUtil.retrieveType(TypeMirror mirror) |
Copyright © 2012-2013. All Rights Reserved.