@IncrementalAnnotationProcessor(value=ISOLATING)
@AutoService(value=javax.annotation.processing.Processor.class)
public class ComponentProcessor
extends com.google.auto.common.BasicAnnotationProcessor
TODO(gak): give this some better documentation
| Constructor and Description |
|---|
ComponentProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentProcessor |
forTesting(dagger.spi.BindingGraphPlugin... testingPlugins)
Creates a component processor that uses given
BindingGraphPlugins instead of loading
them from a ServiceLoader. |
static ComponentProcessor |
forTesting(java.lang.Iterable<dagger.spi.BindingGraphPlugin> testingPlugins)
Creates a component processor that uses given
BindingGraphPlugins instead of loading
them from a ServiceLoader. |
java.util.Set<java.lang.String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
protected java.lang.Iterable<? extends com.google.auto.common.BasicAnnotationProcessor.ProcessingStep> |
initSteps() |
protected void |
postRound(javax.annotation.processing.RoundEnvironment roundEnv) |
asStep, getSupportedAnnotationTypes, init, postProcess, process, stepspublic static ComponentProcessor forTesting(dagger.spi.BindingGraphPlugin... testingPlugins)
BindingGraphPlugins instead of loading
them from a ServiceLoader.public static ComponentProcessor forTesting(java.lang.Iterable<dagger.spi.BindingGraphPlugin> testingPlugins)
BindingGraphPlugins instead of loading
them from a ServiceLoader.public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion in class javax.annotation.processing.AbstractProcessorpublic java.util.Set<java.lang.String> getSupportedOptions()
getSupportedOptions in interface javax.annotation.processing.ProcessorgetSupportedOptions in class javax.annotation.processing.AbstractProcessorprotected java.lang.Iterable<? extends com.google.auto.common.BasicAnnotationProcessor.ProcessingStep> initSteps()
initSteps in class com.google.auto.common.BasicAnnotationProcessorprotected void postRound(javax.annotation.processing.RoundEnvironment roundEnv)
postRound in class com.google.auto.common.BasicAnnotationProcessor