Class EnumConfigurationProcessor

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

    @SupportedOptions("enumconfiguration.validate.strict")
    public class EnumConfigurationProcessor
    extends javax.annotation.processing.AbstractProcessor
    Implements the enumeration confuguration annotation processor
    • Field Detail

      • TOOLARIUM_ENUM_CONFIGURATION_JSON_FILENAME

        public static final java.lang.String TOOLARIUM_ENUM_CONFIGURATION_JSON_FILENAME
        Defines the output filename
        See Also:
        Constant Field Values
      • TOOLARIUM_ENUM_CONFIGURATION_JSON_PATH

        public static final java.lang.String TOOLARIUM_ENUM_CONFIGURATION_JSON_PATH
        Defines the output filename
        See Also:
        Constant Field Values
      • TOOLARIUM_ENUM_CONFIGURATION_JSON_OUTPUT_FILE

        public static final java.lang.String TOOLARIUM_ENUM_CONFIGURATION_JSON_OUTPUT_FILE
        Defines the output file path
        See Also:
        Constant Field Values
    • Constructor Detail

      • EnumConfigurationProcessor

        public EnumConfigurationProcessor()
        Constructor for EnumConfigurationProcessor
    • Method Detail

      • getSupportedAnnotationTypes

        public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
        Specified by:
        getSupportedAnnotationTypes in interface javax.annotation.processing.Processor
        Overrides:
        getSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessor
        See Also:
        AbstractProcessor.getSupportedAnnotationTypes()
      • getSupportedSourceVersion

        public javax.lang.model.SourceVersion getSupportedSourceVersion()
        Specified by:
        getSupportedSourceVersion in interface javax.annotation.processing.Processor
        Overrides:
        getSupportedSourceVersion in class javax.annotation.processing.AbstractProcessor
        See Also:
        AbstractProcessor.getSupportedSourceVersion()
      • 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
        See Also:
        AbstractProcessor.process(java.util.Set, javax.annotation.processing.RoundEnvironment)