Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
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.model.source |
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
|
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 |
---|---|
Map<String,Accessor> |
Type.getPropertyPresenceCheckers()
getPropertyPresenceCheckers
|
Map<String,Accessor> |
Type.getPropertyReadAccessors()
getPropertyReadAccessors
|
Map<String,Accessor> |
Type.getPropertyWriteAccessors(org.mapstruct.ap.internal.prism.CollectionMappingStrategyPrism 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 |
---|---|
Accessor |
PropertyEntry.getPresenceChecker() |
Accessor |
PropertyEntry.getReadAccessor() |
Accessor |
PropertyEntry.getWriteAccessor() |
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 |
static PropertyEntry |
PropertyEntry.forTargetReference(String[] fullName,
Accessor readAccessor,
Accessor writeAccessor,
Type type,
BuilderType builderType)
Constructor used to create
TargetReference property entries |
SourceReference.BuilderFromProperty |
SourceReference.BuilderFromProperty.presenceChecker(Accessor presenceChecker) |
SourceReference.BuilderFromProperty |
SourceReference.BuilderFromProperty.readAccessor(Accessor readAccessor) |
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) |
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 |
VariableElementAccessor
An
Accessor that wraps a VariableElement . |
Copyright © 2012-2019 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.