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
Processor that creates a module for classes marked with
dagger.hilt.android.AndroidEntryPoint.-
Constructor Summary
ConstructorsConstructorDescriptionAndroidEntryPointProcessingStep(androidx.room.compiler.processing.XProcessingEnv env) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName>booleanReturns true if you want to delay errors to the last round.voidprocessEach(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, processingEnvMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface androidx.room.compiler.processing.XProcessingStep
process, processOver
-
Constructor Details
-
AndroidEntryPointProcessingStep
public AndroidEntryPointProcessingStep(androidx.room.compiler.processing.XProcessingEnv env)
-
-
Method Details
-
annotationClassNames
protected com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName> annotationClassNames()- Overrides:
annotationClassNamesin classBaseProcessingStep
-
delayErrors
public boolean delayErrors()Description copied from class:BaseProcessingStepReturns 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:
delayErrorsin classBaseProcessingStep
-
processEach
public void processEach(com.squareup.javapoet.ClassName annotation, androidx.room.compiler.processing.XElement element) throws Exception - Overrides:
processEachin classBaseProcessingStep- Throws:
Exception
-