Class NoOpBuilderProvider

java.lang.Object
org.mapstruct.ap.spi.NoOpBuilderProvider
All Implemented Interfaces:
BuilderProvider

public class NoOpBuilderProvider extends Object implements BuilderProvider
A NoOp BuilderProvider which returns null when searching for a builder.
Author:
Filip Hrisafov
  • Constructor Details

    • NoOpBuilderProvider

      public NoOpBuilderProvider()
  • Method Details

    • findBuilderInfo

      public BuilderInfo findBuilderInfo(TypeMirror type)
      Description copied from interface: BuilderProvider
      Find the builder information, if any, for the type.
      Specified by:
      findBuilderInfo in interface BuilderProvider
      Parameters:
      type - the type for which a builder should be found
      Returns:
      the builder info for the type if it exists, or null if there is no builder