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.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.
|
Modifier and Type | Method and Description |
---|---|
MappingOptions |
CreateDecimalFormat.getMappingOptions() |
Modifier and Type | Method and Description |
---|---|
PropertyMapping.PropertyMappingBuilder |
PropertyMapping.PropertyMappingBuilder.forgeMethodWithMappingOptions(MappingOptions mappingOptions) |
Modifier and Type | Method and Description |
---|---|
static MappingOptions |
MappingOptions.empty()
creates empty mapping options
|
static MappingOptions |
MappingOptions.forMappingsOnly(Map<String,List<Mapping>> mappings,
boolean restrictToDefinedMappings)
creates mapping options with only regular mappings
|
static MappingOptions |
MappingOptions.forMappingsOnly(Map<String,List<Mapping>> mappings,
boolean restrictToDefinedMappings,
boolean forForgedMethods)
creates mapping options with only regular mappings
|
MappingOptions |
ForgedMethod.getMappingOptions() |
MappingOptions |
Method.getMappingOptions() |
MappingOptions |
SourceMethod.getMappingOptions() |
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.
|
Constructor and Description |
---|
ForgedMethod(String name,
Type sourceType,
Type returnType,
MapperConfiguration mapperConfiguration,
ExecutableElement positionHintElement,
List<Parameter> additionalParameters,
ParameterProvidedMethods parameterProvidedMethods,
ForgedMethodHistory history,
MappingOptions mappingOptions,
boolean forgedNameBased)
Creates a new forged method with the given name.
|
Modifier and Type | Method and Description |
---|---|
MappingOptions |
BuiltInMethod.getMappingOptions() |
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.