Package org.mapstruct.ap.internal.model
Class AbstractMappingMethodBuilder<B extends AbstractMappingMethodBuilder<B,M>,M extends MappingMethod>
java.lang.Object
org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder<B,M>
- Type Parameters:
B- the builder itself that needs to be used for chainingM- the method that the builder builds
- Direct Known Subclasses:
BeanMappingMethod.Builder,ContainerMappingMethodBuilder,MapMappingMethod.Builder
public abstract class AbstractMappingMethodBuilder<B extends AbstractMappingMethodBuilder<B,M>,M extends MappingMethod>
extends Object
An abstract builder that can be reused for building
MappingMethod(s).- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Mbuild()mappingContext(MappingBuilderContext mappingContext) protected abstract boolean
-
Field Details
-
myself
-
ctx
-
method
-
-
Constructor Details
-
AbstractMappingMethodBuilder
-
-
Method Details
-
build
-
shouldUsePropertyNamesInHistory
protected abstract boolean shouldUsePropertyNamesInHistory()- Returns:
trueif property names should be used for the creation of theForgedMethodHistory.
-
getDescription
-
getMethodAnnotations
-
mappingContext
-
method
-