Class BuilderType
- java.lang.Object
-
- org.mapstruct.ap.internal.model.common.BuilderType
-
public class BuilderType extends Object
- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BuilderType
create(BuilderInfo builderInfo, Type typeToBuild, TypeFactory typeFactory, TypeUtils typeUtils)
Type
getBuilder()
The type of the builder itself.ExecutableElement
getBuilderCreationMethod()
The creation method for the builder.Type
getBuildingType()
The type that is being built by the builder.Collection<ExecutableElement>
getBuildMethods()
The build methods that can be invoked to create the type being built.Type
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.
-
-
-
Method Detail
-
getBuilder
public Type getBuilder()
The type of the builder itself.- Returns:
- the type for the builder
-
getOwningType
public Type 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
public Type getBuildingType()
The type that is being built by the builder.- Returns:
- the type that is being built
-
getBuilderCreationMethod
public ExecutableElement getBuilderCreationMethod()
The creation method for the builder.- Returns:
- the creation method for the builder
-
getBuildMethods
public Collection<ExecutableElement> 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)
-
-