public class BuilderType extends Object
Modifier and Type | Method and Description |
---|---|
static BuilderType |
create(BuilderInfo builderInfo,
Type typeToBuild,
TypeFactory typeFactory,
Types 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.
|
public Type getBuilder()
public Type getOwningType()
public Type getBuildingType()
public ExecutableElement getBuilderCreationMethod()
public Collection<ExecutableElement> getBuildMethods()
public static BuilderType create(BuilderInfo builderInfo, Type typeToBuild, TypeFactory typeFactory, Types typeUtils)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.