Class AndroidEntryPointProcessingStep
- java.lang.Object
-
- dagger.hilt.processor.internal.BaseProcessingStep
-
- dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointProcessingStep
-
- All Implemented Interfaces:
androidx.room.compiler.processing.XProcessingStep
public final class AndroidEntryPointProcessingStep extends BaseProcessingStep
Processor that creates a module for classes marked withdagger.hilt.android.AndroidEntryPoint
.
-
-
Constructor Summary
Constructors Constructor Description AndroidEntryPointProcessingStep(androidx.room.compiler.processing.XProcessingEnv env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName>
annotationClassNames()
boolean
delayErrors()
Returns true if you want to delay errors to the last round.void
processEach(com.squareup.javapoet.ClassName annotation, androidx.room.compiler.processing.XElement element)
-
Methods inherited from class dagger.hilt.processor.internal.BaseProcessingStep
annotations, postProcess, postRoundProcess, preProcess, preRoundProcess, process, processingEnv
-
-
-
-
Method Detail
-
annotationClassNames
protected com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName> annotationClassNames()
- Overrides:
annotationClassNames
in classBaseProcessingStep
-
delayErrors
public boolean delayErrors()
Description copied from class:BaseProcessingStep
Returns true if you want to delay errors to the last round. Useful if the processor generates code for symbols used a lot in the user code. Delaying allows as much code to compile as possible for correctly configured types and reduces error spam.- Overrides:
delayErrors
in classBaseProcessingStep
-
processEach
public void processEach(com.squareup.javapoet.ClassName annotation, androidx.room.compiler.processing.XElement element) throws java.lang.Exception
- Overrides:
processEach
in classBaseProcessingStep
- Throws:
java.lang.Exception
-
-