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 classBuilderInfo.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutableElementgetBuilderCreationMethod()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 staticmethod in the type being build - A
public staticmethod 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 bepublicmethods within the builder itself- Returns:
- the build method for the type
-
-