public static class BuilderInfo.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BuilderInfo |
build()
Create the
BuilderInfo . |
BuilderInfo.Builder |
builderCreationMethod(ExecutableElement method) |
BuilderInfo.Builder |
buildMethod(Collection<ExecutableElement> methods) |
public BuilderInfo.Builder builderCreationMethod(ExecutableElement method)
BuilderInfo.getBuilderCreationMethod()
public BuilderInfo.Builder buildMethod(Collection<ExecutableElement> methods)
BuilderInfo.getBuildMethods()
public BuilderInfo build()
BuilderInfo
.IllegalArgumentException
- if the builder creation or build methods are null
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.