
public interface BuilderProvider
| Modifier and Type | Method and Description |
|---|---|
BuilderInfo |
findBuilderInfo(TypeMirror type)
Find the builder information, if any, for the
type. |
default void |
init(MapStructProcessingEnvironment processingEnvironment)
Initializes the builder provider with the MapStruct processing environment.
|
default void init(MapStructProcessingEnvironment processingEnvironment)
processingEnvironment - environment for facilitiesBuilderInfo findBuilderInfo(TypeMirror type)
type.type - the type for which a builder should be foundtype if it exists, or null if there is no builderTypeHierarchyErroneousException - if the type that needs to be visited is not ready yet, this signals the
MapStruct processor to postpone the generation of the mappers to the next roundMoreThanOneBuilderCreationMethodException - if type has more than one method that can create the
builderCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.