Class AdapterRelatedGenerator
- java.lang.Object
-
- org.mapstruct.extensions.spring.converter.Generator
-
- org.mapstruct.extensions.spring.converter.AdapterRelatedGenerator
-
- Direct Known Subclasses:
ConversionServiceAdapterGenerator
,ConverterRegistrationConfigurationGenerator
,ConverterScanGenerator
,ConverterScansGenerator
public abstract class AdapterRelatedGenerator extends Generator
-
-
Field Summary
-
Fields inherited from class org.mapstruct.extensions.spring.converter.Generator
CONVERTER_CLASSNAME, GENERATED_ANNOTATION_CLASS_NAME_STRING, JAVA_9_PLUS_ANNOTATION_GENERATED_PACKAGE, PRE_JAVA_9_ANNOTATION_GENERATED_PACKAGE, RETENTION_RUNTIME_ANNOTATION_SPEC, SPRING_CONTEXT_ANNOTATION_PACKAGE_NAME, TARGET_TYPE_ANNOTATION_SPEC
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdapterRelatedGenerator(java.time.Clock clock)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract com.squareup.javapoet.TypeSpec
createMainTypeSpec(ConversionServiceAdapterDescriptor descriptor)
void
writeGeneratedCodeToOutput(ConversionServiceAdapterDescriptor descriptor, java.io.Writer out)
-
Methods inherited from class org.mapstruct.extensions.spring.converter.Generator
buildGeneratedAnnotationSpec, collectionOfNameIfApplicable, getClock, getProcessingEnvironment, init, isCollectionWithGenericParameter, isJava9PlusGeneratedAvailable, isPreJava9GeneratedAvailable, isTypeAvailable, modifyDefaultFileBuilder, writeGeneratedCodeToOutput
-
-
-
-
Method Detail
-
writeGeneratedCodeToOutput
public final void writeGeneratedCodeToOutput(ConversionServiceAdapterDescriptor descriptor, java.io.Writer out)
-
createMainTypeSpec
protected abstract com.squareup.javapoet.TypeSpec createMainTypeSpec(ConversionServiceAdapterDescriptor descriptor)
-
-