Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
org.mapstruct.ap.internal.model.beanmapping |
helper classes used in
BeanMappingMethod
|
org.mapstruct.ap.internal.model.common |
Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
|
org.mapstruct.ap.internal.util |
Several helper types dealing with collection types, option management etc.
|
org.mapstruct.ap.internal.util.accessor |
Modifier and Type | Method and Description |
---|---|
CollectionAssignmentBuilder |
CollectionAssignmentBuilder.targetReadAccessor(Accessor targetReadAccessor) |
Modifier and Type | Method and Description |
---|---|
NestedTargetPropertyMappingHolder.Builder |
NestedTargetPropertyMappingHolder.Builder.targetPropertiesWriteAccessors(Map<String,Accessor> targetPropertiesWriteAccessors) |
Modifier and Type | Method and Description |
---|---|
Accessor |
PropertyEntry.getPresenceChecker() |
Accessor |
PropertyEntry.getReadAccessor() |
Modifier and Type | Method and Description |
---|---|
static PropertyEntry |
PropertyEntry.forSourceReference(String[] name,
Accessor readAccessor,
Accessor presenceChecker,
Type type)
Constructor used to create
SourceReference property entries from a mapping |
SourceReference.BuilderFromProperty |
SourceReference.BuilderFromProperty.presenceChecker(Accessor presenceChecker) |
SourceReference.BuilderFromProperty |
SourceReference.BuilderFromProperty.readAccessor(Accessor readAccessor) |
Modifier and Type | Method and Description |
---|---|
Map<String,Accessor> |
Type.getPropertyPresenceCheckers()
getPropertyPresenceCheckers
|
Map<String,Accessor> |
Type.getPropertyReadAccessors()
getPropertyReadAccessors
|
Map<String,Accessor> |
Type.getPropertyWriteAccessors(org.mapstruct.ap.internal.gem.CollectionMappingStrategyGem cmStrategy)
getPropertyWriteAccessors returns a map of the write accessors according to the CollectionMappingStrategy.
|
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
TypeFactory.getParameters(DeclaredType includingType,
Accessor accessor) |
Type |
TypeFactory.getReturnType(DeclaredType includingType,
Accessor accessor) |
Parameter |
TypeFactory.getSingleParameter(DeclaredType includingType,
Accessor method) |
List<Type> |
TypeFactory.getThrownTypes(Accessor accessor) |
Modifier and Type | Method and Description |
---|---|
List<Accessor> |
Filters.adderMethodsIn(List<ExecutableElement> elements) |
List<Accessor> |
Filters.fieldsIn(List<VariableElement> accessors) |
List<Accessor> |
Filters.getterMethodsIn(List<ExecutableElement> elements) |
List<Accessor> |
Filters.presenceCheckMethodsIn(List<ExecutableElement> elements) |
Map<String,Accessor> |
Filters.recordAccessorsIn(Collection<Element> recordComponents) |
List<Accessor> |
Filters.setterMethodsIn(List<ExecutableElement> elements) |
Modifier and Type | Method and Description |
---|---|
String |
AccessorNamingUtils.getElementNameForAdder(Accessor adderMethod) |
static boolean |
Executables.isFinal(Accessor accessor) |
static ValueProvider |
ValueProvider.of(Accessor accessor)
Creates a
ValueProvider from the provided accessor . |
Modifier and Type | Class and Description |
---|---|
class |
ExecutableElementAccessor
An
Accessor that wraps an ExecutableElement . |
class |
FieldElementAccessor
An
Accessor that wraps a VariableElement . |
class |
ParameterElementAccessor
An
Accessor that wraps a VariableElement . |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.