public static class SourceMethod.Builder extends Object
Constructor and Description |
---|
Builder() |
public SourceMethod.Builder setDeclaringMapper(Type declaringMapper)
public SourceMethod.Builder setExecutable(ExecutableElement executable)
public SourceMethod.Builder setParameters(List<Parameter> parameters)
public SourceMethod.Builder setReturnType(Type returnType)
public SourceMethod.Builder setExceptionTypes(List<Type> exceptionTypes)
public SourceMethod.Builder setMappingOptions(Set<MappingOptions> mappings)
public SourceMethod.Builder setIterableMappingOptions(IterableMappingOptions iterableMapping)
public SourceMethod.Builder setMapMappingOptions(MapMappingOptions mapMapping)
public SourceMethod.Builder setBeanMappingOptions(BeanMappingOptions beanMapping)
public SourceMethod.Builder setValueMappingOptionss(List<ValueMappingOptions> valueMappings)
public SourceMethod.Builder setEnumMappingOptions(EnumMappingOptions enumMappingOptions)
public SourceMethod.Builder setTypeUtils(Types typeUtils)
public SourceMethod.Builder setTypeFactory(TypeFactory typeFactory)
public SourceMethod.Builder setMapper(MapperOptions mapper)
public SourceMethod.Builder setPrototypeMethods(List<SourceMethod> prototypeMethods)
public SourceMethod.Builder setDefininingType(Type definingType)
public SourceMethod.Builder setContextProvidedMethods(ParameterProvidedMethods contextProvidedMethods)
public SourceMethod.Builder setVerboseLogging(boolean verboseLogging)
public SourceMethod build()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.