Class Components

java.lang.Object
dagger.hilt.processor.internal.Components

public final class Components extends Object
Helper methods for defining components and the component hierarchy.
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName>
    getComponents(androidx.room.compiler.processing.XElement element)
    Returns the dagger.hilt.InstallIn components for a given element.
    static com.squareup.javapoet.AnnotationSpec
    getInstallInAnnotationSpec(com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName> components)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getComponents

      public static com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName> getComponents(androidx.room.compiler.processing.XElement element)
      Returns the dagger.hilt.InstallIn components for a given element.
    • getInstallInAnnotationSpec

      public static com.squareup.javapoet.AnnotationSpec getInstallInAnnotationSpec(com.google.common.collect.ImmutableSet<com.squareup.javapoet.ClassName> components)