Class DefineComponentProcessingStep

  • All Implemented Interfaces:
    androidx.room.compiler.processing.XProcessingStep

    public final class DefineComponentProcessingStep
    extends BaseProcessingStep
    A processor for dagger.hilt.DefineComponent and dagger.hilt.DefineComponent.Builder.
    • Constructor Summary

      Constructors 
      Constructor Description
      DefineComponentProcessingStep​(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()  
      void postProcess​(androidx.room.compiler.processing.XProcessingEnv env, androidx.room.compiler.processing.XRoundEnv round)  
      void preProcess​(androidx.room.compiler.processing.XProcessingEnv env, androidx.room.compiler.processing.XRoundEnv round)  
      void processEach​(com.squareup.javapoet.ClassName annotation, androidx.room.compiler.processing.XElement element)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface androidx.room.compiler.processing.XProcessingStep

        process, processOver
    • Constructor Detail

      • DefineComponentProcessingStep

        public DefineComponentProcessingStep​(androidx.room.compiler.processing.XProcessingEnv env)
    • Method Detail

      • preProcess

        public void preProcess​(androidx.room.compiler.processing.XProcessingEnv env,
                               androidx.room.compiler.processing.XRoundEnv round)
        Overrides:
        preProcess in class BaseProcessingStep
      • postProcess

        public void postProcess​(androidx.room.compiler.processing.XProcessingEnv env,
                                androidx.room.compiler.processing.XRoundEnv round)
        Overrides:
        postProcess in class BaseProcessingStep
      • annotationClassNames

        protected com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName> annotationClassNames()
        Overrides:
        annotationClassNames in class BaseProcessingStep
      • processEach

        public void processEach​(com.squareup.javapoet.ClassName annotation,
                                androidx.room.compiler.processing.XElement element)
        Overrides:
        processEach in class BaseProcessingStep