Package org.mapstruct.ap.spi
Class BuilderInfo.Builder
- java.lang.Object
-
- org.mapstruct.ap.spi.BuilderInfo.Builder
-
- Enclosing class:
- BuilderInfo
public static class BuilderInfo.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuilderInfobuild()Create theBuilderInfo.BuilderInfo.BuilderbuilderCreationMethod(ExecutableElement method)BuilderInfo.BuilderbuildMethod(Collection<ExecutableElement> methods)
-
-
-
Method Detail
-
builderCreationMethod
public BuilderInfo.Builder builderCreationMethod(ExecutableElement method)
- Parameters:
method- The creation method for the builder- Returns:
- the builder for chaining
- See Also:
BuilderInfo.getBuilderCreationMethod()
-
buildMethod
public BuilderInfo.Builder buildMethod(Collection<ExecutableElement> methods)
- Parameters:
methods- the build methods for the type- Returns:
- the builder for chaining
- See Also:
BuilderInfo.getBuildMethods()
-
build
public BuilderInfo build()
Create theBuilderInfo.- Returns:
- the created
BuilderInfo - Throws:
IllegalArgumentException- if the builder creation or build methods arenull
-
-