Class AggregatedDepsMetadata
java.lang.Object
dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
A class that represents the values stored in an
AggregatedDeps annotation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract androidx.room.compiler.processing.XTypeElementReturns the aggregating elementabstract com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement>abstract androidx.room.compiler.processing.XTypeElementstatic 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.booleanisModule()abstract com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement>abstract Optional<androidx.room.compiler.processing.XTypeElement>static dagger.hilt.processor.internal.root.ir.AggregatedDepsIrtoIr(AggregatedDepsMetadata metadata)
-
Constructor Details
-
AggregatedDepsMetadata
public AggregatedDepsMetadata()
-
-
Method Details
-
aggregatingElement
public abstract androidx.room.compiler.processing.XTypeElement aggregatingElement()Returns the aggregating element -
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)
-