Package org.mapstruct.ap.spi
Class BuilderInfo
- java.lang.Object
-
- org.mapstruct.ap.spi.BuilderInfo
-
public class BuilderInfo extends Object
Holder for the builder information.- Since:
- 1.3
- Author:
- Filip Hrisafov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuilderInfo.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutableElement
getBuilderCreationMethod()
The method that can be used for instantiating a builder.Collection<ExecutableElement>
getBuildMethods()
The methods that can be used to build the type being built.
-
-
-
Method Detail
-
getBuilderCreationMethod
public ExecutableElement getBuilderCreationMethod()
The method that can be used for instantiating a builder. This can be:- A
public static
method in the type being build - A
public static
method in the builder itself - The default constructor of the builder
- Returns:
- the creation method for the builder
- A
-
getBuildMethods
public Collection<ExecutableElement> getBuildMethods()
The methods that can be used to build the type being built. This should bepublic
methods within the builder itself- Returns:
- the build method for the type
-
-