Class AggregatedDepsMetadata
- java.lang.Object
-
- dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
-
public abstract class AggregatedDepsMetadata extends java.lang.Object
A class that represents the values stored in anAggregatedDeps
annotation.
-
-
Constructor Summary
Constructors Constructor Description AggregatedDepsMetadata()
-
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 elementabstract 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)
-
-
-
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)
-
-