Class AggregatedDepsMetadata


  • public abstract class AggregatedDepsMetadata
    extends java.lang.Object
    A class that represents the values stored in an AggregatedDeps annotation.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract androidx.room.compiler.processing.XTypeElement aggregatingElement()
      Returns the aggregating element
      abstract com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> componentElements()  
      abstract androidx.room.compiler.processing.XTypeElement dependency()  
      static com.google.common.collect.ImmutableSet<AggregatedDepsMetadata> from​(androidx.room.compiler.processing.XProcessingEnv env)
      Returns metadata for all aggregated elements in the aggregating package.
      static com.google.common.collect.ImmutableSet<AggregatedDepsMetadata> from​(com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> aggregatedElements)
      Returns metadata for each aggregated element.
      boolean isModule()  
      abstract com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> replacedDependencies()  
      abstract java.util.Optional<androidx.room.compiler.processing.XTypeElement> testElement()  
      static dagger.hilt.processor.internal.root.ir.AggregatedDepsIr toIr​(AggregatedDepsMetadata metadata)  
      • Methods inherited from class java.lang.Object

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

      • AggregatedDepsMetadata

        public AggregatedDepsMetadata()
    • Method Detail

      • aggregatingElement

        public abstract androidx.room.compiler.processing.XTypeElement aggregatingElement()
        Returns the aggregating element
      • testElement

        public abstract java.util.Optional<androidx.room.compiler.processing.XTypeElement> testElement()
      • componentElements

        public abstract com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> componentElements()
      • dependency

        public abstract androidx.room.compiler.processing.XTypeElement dependency()
      • replacedDependencies

        public abstract com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> replacedDependencies()
      • isModule

        public boolean isModule()
      • from

        public static com.google.common.collect.ImmutableSet<AggregatedDepsMetadata> from​(androidx.room.compiler.processing.XProcessingEnv env)
        Returns metadata for all aggregated elements in the aggregating package.
      • from

        public static com.google.common.collect.ImmutableSet<AggregatedDepsMetadata> from​(com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> aggregatedElements)
        Returns metadata for each aggregated element.
      • toIr

        public static dagger.hilt.processor.internal.root.ir.AggregatedDepsIr toIr​(AggregatedDepsMetadata metadata)