dagger.hilt.processor.internal.root.AutoValue_AggregatedRootMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hilt-android-compiler Show documentation
Show all versions of hilt-android-compiler Show documentation
A fast dependency injector for Android and Java.
package dagger.hilt.processor.internal.root;
import java.lang.Override;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_AggregatedRootMetadata extends $AutoValue_AggregatedRootMetadata {
private volatile RootType rootType;
AutoValue_AggregatedRootMetadata(TypeElement aggregatingElement$, TypeElement rootElement$,
TypeElement originatingRootElement$, TypeElement rootAnnotation$,
boolean allowsSharingComponent$) {
super(aggregatingElement$, rootElement$, originatingRootElement$, rootAnnotation$, allowsSharingComponent$);
}
@Override
RootType rootType() {
if (rootType == null) {
synchronized (this) {
if (rootType == null) {
rootType = super.rootType();
if (rootType == null) {
throw new NullPointerException("rootType() cannot return null");
}
}
}
}
return rootType;
}
}