Class OriginatingElementProcessingStep

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

    public final class OriginatingElementProcessingStep
    extends BaseProcessingStep
    Processes the annotations annotated with dagger.hilt.codegen.OriginatingElement to check that they're only used on top-level classes and the value passed is also a top-level class.
    • Constructor Detail

      • OriginatingElementProcessingStep

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

      • 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