Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
Modifier and Type | Method and Description |
---|---|
static ForgedMethod |
ForgedMethod.forElementMapping(String name,
Type sourceType,
Type returnType,
Method basedOn,
ForgedMethodHistory history,
boolean forgedNameBased)
Creates a new forged method for mapping a collection element, map key/value or stream element
|
static ForgedMethod |
ForgedMethod.forParameterMapping(String name,
Type sourceType,
Type returnType,
Method basedOn)
Creates a new forged method with the given name for mapping a method parameter to a property.
|
static ForgedMethod |
ForgedMethod.forPropertyMapping(String name,
Type sourceType,
Type returnType,
List<Parameter> parameters,
Method basedOn,
ForgedMethodHistory history,
MappingReferences mappingReferences,
boolean forgedNameBased)
Creates a new forged method for mapping a bean property to a property
|
Modifier and Type | Method and Description |
---|---|
Map<ForgedMethod,ForgedMethod> |
MappingBuilderContext.getForgedMethodsUnderCreation()
Returns a map which is used to track which forged methods are under creation.
|
Map<ForgedMethod,ForgedMethod> |
MappingBuilderContext.getForgedMethodsUnderCreation()
Returns a map which is used to track which forged methods are under creation.
|
Modifier and Type | Method and Description |
---|---|
BeanMappingMethod.Builder |
BeanMappingMethod.Builder.forgedMethod(ForgedMethod forgedMethod) |
NestedPropertyMappingMethod.Builder |
NestedPropertyMappingMethod.Builder.method(ForgedMethod sourceMethod) |
Constructor and Description |
---|
ForgedMethod(String name,
ForgedMethod forgedMethod)
creates a new ForgedMethod with the same arguments but with a new name
|
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.