Class ComponentDependencies


  • public abstract class ComponentDependencies
    extends java.lang.Object
    Represents information needed to create a component (i.e. modules, entry points, etc)
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract com.google.common.collect.ImmutableSetMultimap<com.squareup.javapoet.ClassName,​androidx.room.compiler.processing.XTypeElement> componentEntryPoints()
      Returns the component entry point associated with the given a component.
      abstract com.google.common.collect.ImmutableSetMultimap<com.squareup.javapoet.ClassName,​androidx.room.compiler.processing.XTypeElement> entryPoints()
      Returns the entry points associated with the given a component.
      static ComponentDependencies from​(com.google.common.collect.ImmutableSet<ComponentDescriptor> descriptors, com.google.common.collect.ImmutableSet<AggregatedDepsMetadata> aggregatedDepsMetadata, com.google.common.collect.ImmutableSet<AggregatedUninstallModulesMetadata> aggregatedUninstallModulesMetadata, com.google.common.collect.ImmutableSet<dagger.hilt.processor.internal.earlyentrypoint.AggregatedEarlyEntryPointMetadata> aggregatedEarlyEntryPointMetadata, androidx.room.compiler.processing.XProcessingEnv env)
      Returns the component dependencies for the given metadata.
      abstract com.google.common.collect.ImmutableSetMultimap<com.squareup.javapoet.ClassName,​androidx.room.compiler.processing.XTypeElement> modules()
      Returns the modules for a component, without any filtering.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComponentDependencies

        public ComponentDependencies()
    • Method Detail

      • modules

        public abstract com.google.common.collect.ImmutableSetMultimap<com.squareup.javapoet.ClassName,​androidx.room.compiler.processing.XTypeElement> modules()
        Returns the modules for a component, without any filtering.
      • entryPoints

        public abstract com.google.common.collect.ImmutableSetMultimap<com.squareup.javapoet.ClassName,​androidx.room.compiler.processing.XTypeElement> entryPoints()
        Returns the entry points associated with the given a component.
      • componentEntryPoints

        public abstract com.google.common.collect.ImmutableSetMultimap<com.squareup.javapoet.ClassName,​androidx.room.compiler.processing.XTypeElement> componentEntryPoints()
        Returns the component entry point associated with the given a component.
      • from

        public static ComponentDependencies from​(com.google.common.collect.ImmutableSet<ComponentDescriptor> descriptors,
                                                 com.google.common.collect.ImmutableSet<AggregatedDepsMetadata> aggregatedDepsMetadata,
                                                 com.google.common.collect.ImmutableSet<AggregatedUninstallModulesMetadata> aggregatedUninstallModulesMetadata,
                                                 com.google.common.collect.ImmutableSet<dagger.hilt.processor.internal.earlyentrypoint.AggregatedEarlyEntryPointMetadata> aggregatedEarlyEntryPointMetadata,
                                                 androidx.room.compiler.processing.XProcessingEnv env)
        Returns the component dependencies for the given metadata.