Class ConfigProcessorModule
java.lang.Object
com.google.inject.AbstractModule
me.bristermitten.mittenlib.annotations.compile.ConfigProcessorModule
- All Implemented Interfaces:
Module
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 Summary
ConstructorsConstructorDescriptionConfigProcessorModule(ProcessingEnvironment processingEnvironment) Creates a new ConfigProcessorModule with the given processing environment. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidConfigures the Guice bindings for this module.Methods inherited from class AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
ConfigProcessorModule
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:
configurein classAbstractModule
-