Class SourceMethod.Builder
- java.lang.Object
-
- org.mapstruct.ap.internal.model.source.SourceMethod.Builder
-
- Enclosing class:
- SourceMethod
public static class SourceMethod.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
setDeclaringMapper
public SourceMethod.Builder setDeclaringMapper(Type declaringMapper)
-
setExecutable
public SourceMethod.Builder setExecutable(ExecutableElement executable)
-
setParameters
public SourceMethod.Builder setParameters(List<Parameter> parameters)
-
setReturnType
public SourceMethod.Builder setReturnType(Type returnType)
-
setExceptionTypes
public SourceMethod.Builder setExceptionTypes(List<Type> exceptionTypes)
-
setMappingOptions
public SourceMethod.Builder setMappingOptions(Set<MappingOptions> mappings)
-
setIterableMappingOptions
public SourceMethod.Builder setIterableMappingOptions(IterableMappingOptions iterableMapping)
-
setMapMappingOptions
public SourceMethod.Builder setMapMappingOptions(MapMappingOptions mapMapping)
-
setBeanMappingOptions
public SourceMethod.Builder setBeanMappingOptions(BeanMappingOptions beanMapping)
-
setValueMappingOptionss
public SourceMethod.Builder setValueMappingOptionss(List<ValueMappingOptions> valueMappings)
-
setEnumMappingOptions
public SourceMethod.Builder setEnumMappingOptions(EnumMappingOptions enumMappingOptions)
-
setSubclassMappings
public SourceMethod.Builder setSubclassMappings(Set<SubclassMappingOptions> subclassMappings)
-
setSubclassValidator
public SourceMethod.Builder setSubclassValidator(SubclassValidator subclassValidator)
-
setTypeUtils
public SourceMethod.Builder setTypeUtils(TypeUtils typeUtils)
-
setTypeFactory
public SourceMethod.Builder setTypeFactory(TypeFactory typeFactory)
-
setMapper
public SourceMethod.Builder setMapper(MapperOptions mapper)
-
setPrototypeMethods
public SourceMethod.Builder setPrototypeMethods(List<SourceMethod> prototypeMethods)
-
setDefininingType
public SourceMethod.Builder setDefininingType(Type definingType)
-
setContextProvidedMethods
public SourceMethod.Builder setContextProvidedMethods(ParameterProvidedMethods contextProvidedMethods)
-
setConditionOptions
public SourceMethod.Builder setConditionOptions(Set<ConditionOptions> conditionOptions)
-
setVerboseLogging
public SourceMethod.Builder setVerboseLogging(boolean verboseLogging)
-
build
public SourceMethod build()
-
-