Package org.mapstruct.ap.internal.model
Class BeanMappingMethod.Builder
- java.lang.Object
-
- org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder<BeanMappingMethod.Builder,BeanMappingMethod>
-
- org.mapstruct.ap.internal.model.BeanMappingMethod.Builder
-
- Enclosing class:
- BeanMappingMethod
public static class BeanMappingMethod.Builder extends AbstractMappingMethodBuilder<BeanMappingMethod.Builder,BeanMappingMethod>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanMappingMethod
build()
BeanMappingMethod.Builder
forgedMethod(ForgedMethod forgedMethod)
B
mappingContext(MappingBuilderContext mappingContext)
B
method(Method sourceMethod)
BeanMappingMethod.Builder
returnTypeBuilder(BuilderType returnTypeBuilder)
protected boolean
shouldUsePropertyNamesInHistory()
BeanMappingMethod.Builder
sourceMethod(SourceMethod sourceMethod)
BeanMappingMethod.Builder
userDefinedReturnType(Type userDefinedReturnType)
-
Methods inherited from class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
getDescription
-
-
-
-
Field Detail
-
myself
protected B extends org.mapstruct.ap.internal.model.AbstractBaseBuilder<B> myself
-
ctx
protected MappingBuilderContext ctx
-
method
protected Method method
-
-
Method Detail
-
shouldUsePropertyNamesInHistory
protected boolean shouldUsePropertyNamesInHistory()
- Specified by:
shouldUsePropertyNamesInHistory
in classAbstractMappingMethodBuilder<BeanMappingMethod.Builder,BeanMappingMethod>
- Returns:
true
if property names should be used for the creation of theForgedMethodHistory
.
-
userDefinedReturnType
public BeanMappingMethod.Builder userDefinedReturnType(Type userDefinedReturnType)
-
returnTypeBuilder
public BeanMappingMethod.Builder returnTypeBuilder(BuilderType returnTypeBuilder)
-
sourceMethod
public BeanMappingMethod.Builder sourceMethod(SourceMethod sourceMethod)
-
forgedMethod
public BeanMappingMethod.Builder forgedMethod(ForgedMethod forgedMethod)
-
build
public BeanMappingMethod build()
- Specified by:
build
in classAbstractMappingMethodBuilder<BeanMappingMethod.Builder,BeanMappingMethod>
-
mappingContext
public B mappingContext(MappingBuilderContext mappingContext)
-
-