Class BuilderType
java.lang.Object
org.mapstruct.ap.internal.model.common.BuilderType
Represents the information about a builder.
How it can be constructed, the type it is building etc.
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionstatic BuilderTypecreate(BuilderInfo builderInfo, Type typeToBuild, TypeFactory typeFactory, TypeUtils typeUtils) The type of the builder itself.The creation method for the builder.The type that is being built by the builder.The build methods that can be invoked to create the type being built.The owning type of the builder, this can be the builder itself, the type that is build by the builder or some other type.
-
Method Details
-
getBuilder
The type of the builder itself.- Returns:
- the type for the builder
-
getOwningType
The owning type of the builder, this can be the builder itself, the type that is build by the builder or some other type.- Returns:
- the owning type
-
getBuildingType
The type that is being built by the builder.- Returns:
- the type that is being built
-
getBuilderCreationMethod
The creation method for the builder.- Returns:
- the creation method for the builder
-
getBuildMethods
The build methods that can be invoked to create the type being built.- Returns:
- the build methods that can be invoked to create the type being built
-
create
public static BuilderType create(BuilderInfo builderInfo, Type typeToBuild, TypeFactory typeFactory, TypeUtils typeUtils)
-