Package org.mapstruct.ap.spi
Class NoOpBuilderProvider
- java.lang.Object
-
- org.mapstruct.ap.spi.NoOpBuilderProvider
-
- All Implemented Interfaces:
BuilderProvider
public class NoOpBuilderProvider extends Object implements BuilderProvider
A NoOpBuilderProvider
which returnsnull
when searching for a builder.- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description NoOpBuilderProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuilderInfo
findBuilderInfo(TypeMirror type)
Find the builder information, if any, for thetype
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mapstruct.ap.spi.BuilderProvider
init
-
-
-
-
Method Detail
-
findBuilderInfo
public BuilderInfo findBuilderInfo(TypeMirror type)
Description copied from interface:BuilderProvider
Find the builder information, if any, for thetype
.- Specified by:
findBuilderInfo
in interfaceBuilderProvider
- Parameters:
type
- the type for which a builder should be found- Returns:
- the builder info for the
type
if it exists, ornull
if there is no builder
-
-