Class ConfigProcessorModule

java.lang.Object
com.google.inject.AbstractModule
me.bristermitten.mittenlib.annotations.compile.ConfigProcessorModule
All Implemented Interfaces:
Module

public class ConfigProcessorModule extends AbstractModule
Guice module for the configuration annotation processor. This module binds the necessary components for the annotation processor, including the ProcessingEnvironment and its utility classes.
  • Constructor Details

    • ConfigProcessorModule

      public ConfigProcessorModule(ProcessingEnvironment processingEnvironment)
      Creates a new ConfigProcessorModule with the given processing environment.
      Parameters:
      processingEnvironment - The processing environment to use for this module
  • Method Details

    • configure

      protected void configure()
      Configures the Guice bindings for this module. Binds the ProcessingEnvironment and its utility classes (Elements and Types) for use by other components in the annotation processor.
      Overrides:
      configure in class AbstractModule