Package dagger.hilt.processor.internal
Class AggregatedElements
java.lang.Object
dagger.hilt.processor.internal.AggregatedElements
Utility class for aggregating metadata.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<com.squareup.javapoet.ClassName>aggregatedElementProxyName(androidx.room.compiler.processing.XTypeElement aggregatedElement) Returns the class name of the proxy orOptional.empty()if a proxy is not needed.static com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement>from(String aggregatingPackage, com.squareup.javapoet.ClassName aggregatingAnnotation, androidx.room.compiler.processing.XProcessingEnv env) Returns all aggregated elements in the aggregating package after validating them.static com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement>unwrapProxies(com.google.common.collect.ImmutableCollection<androidx.room.compiler.processing.XTypeElement> aggregatedElements) Returns back the set of inputaggregatedElementswith all proxies unwrapped.
-
Method Details
-
aggregatedElementProxyName
public static Optional<com.squareup.javapoet.ClassName> aggregatedElementProxyName(androidx.room.compiler.processing.XTypeElement aggregatedElement) Returns the class name of the proxy orOptional.empty()if a proxy is not needed. -
unwrapProxies
public static com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> unwrapProxies(com.google.common.collect.ImmutableCollection<androidx.room.compiler.processing.XTypeElement> aggregatedElements) Returns back the set of inputaggregatedElementswith all proxies unwrapped. -
from
public static com.google.common.collect.ImmutableSet<androidx.room.compiler.processing.XTypeElement> from(String aggregatingPackage, com.squareup.javapoet.ClassName aggregatingAnnotation, androidx.room.compiler.processing.XProcessingEnv env) Returns all aggregated elements in the aggregating package after validating them.
-