@IncrementalAnnotationProcessor(value=ISOLATING)
@AutoService(value=javax.annotation.processing.Processor.class)
public class ComponentProcessor
extends androidx.room.compiler.processing.javac.JavacBasicAnnotationProcessor
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. |
com.google.common.collect.ImmutableSet<java.lang.String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
initialize(androidx.room.compiler.processing.XProcessingEnv env) |
void |
postRound(androidx.room.compiler.processing.XProcessingEnv env,
androidx.room.compiler.processing.XRoundEnv roundEnv) |
java.lang.Iterable<androidx.room.compiler.processing.XProcessingStep> |
processingSteps() |
getSupportedAnnotationTypes, getXProcessingEnv, init, processpublic 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 void initialize(androidx.room.compiler.processing.XProcessingEnv env)
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion in class javax.annotation.processing.AbstractProcessorpublic com.google.common.collect.ImmutableSet<java.lang.String> getSupportedOptions()
getSupportedOptions in interface javax.annotation.processing.ProcessorgetSupportedOptions in class javax.annotation.processing.AbstractProcessorpublic java.lang.Iterable<androidx.room.compiler.processing.XProcessingStep> processingSteps()
public void postRound(androidx.room.compiler.processing.XProcessingEnv env,
androidx.room.compiler.processing.XRoundEnv roundEnv)