Class ConverterMapperProcessor

  • All Implemented Interfaces:
    javax.annotation.processing.Processor

    @SupportedAnnotationTypes({"org.mapstruct.Mapper","org.mapstruct.extensions.spring.SpringMapperConfig","org.mapstruct.extensions.spring.DelegatingConverter"})
    public class ConverterMapperProcessor
    extends GeneratorInitializingProcessor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String DELEGATING_CONVERTER  
      protected static java.lang.String MAPPER  
      protected static java.lang.String SPRING_CONVERTER_FULL_NAME  
      protected static java.lang.String SPRING_MAPPER_CONFIG  
      • Fields inherited from class javax.annotation.processing.AbstractProcessor

        processingEnv
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean process​(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)  
      • Methods inherited from class javax.annotation.processing.AbstractProcessor

        getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DELEGATING_CONVERTER

        protected static final java.lang.String DELEGATING_CONVERTER
        See Also:
        Constant Field Values
      • SPRING_MAPPER_CONFIG

        protected static final java.lang.String SPRING_MAPPER_CONFIG
        See Also:
        Constant Field Values
      • SPRING_CONVERTER_FULL_NAME

        protected static final java.lang.String SPRING_CONVERTER_FULL_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConverterMapperProcessor

        public ConverterMapperProcessor()
    • Method Detail

      • process

        public boolean process​(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
                               javax.annotation.processing.RoundEnvironment roundEnv)
        Specified by:
        process in interface javax.annotation.processing.Processor
        Specified by:
        process in class javax.annotation.processing.AbstractProcessor