public abstract class AbstractMappingMethodBuilder<B extends AbstractMappingMethodBuilder<B,M>,M extends MappingMethod> extends Object
MappingMethod
(s).Modifier and Type | Field and Description |
---|---|
protected MappingBuilderContext |
ctx |
protected Method |
method |
protected B |
myself |
Constructor and Description |
---|
AbstractMappingMethodBuilder(Class<B> selfType) |
Modifier and Type | Method and Description |
---|---|
abstract M |
build() |
ForgedMethodHistory |
getDescription() |
B |
mappingContext(MappingBuilderContext mappingContext) |
B |
method(Method sourceMethod) |
protected abstract boolean |
shouldUsePropertyNamesInHistory() |
protected B extends org.mapstruct.ap.internal.model.AbstractBaseBuilder<B> myself
protected MappingBuilderContext ctx
protected Method method
public abstract M build()
protected abstract boolean shouldUsePropertyNamesInHistory()
true
if property names should be used for the creation of the ForgedMethodHistory
.public ForgedMethodHistory getDescription()
public B mappingContext(MappingBuilderContext mappingContext)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.