Class Components


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

      All Methods Static Methods Concrete Methods 
      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 Detail

      • 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)