dagger.hilt.android.processor.internal.androidentrypoint.AutoValue_AndroidEntryPointMetadata 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.android.processor.internal.androidentrypoint;
import com.google.common.collect.ImmutableSet;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.CodeBlock;
import com.squareup.javapoet.TypeName;
import java.lang.Override;
import java.util.Optional;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_AndroidEntryPointMetadata extends $AutoValue_AndroidEntryPointMetadata {
private volatile AndroidEntryPointMetadata rootMetadata;
AutoValue_AndroidEntryPointMetadata(TypeElement element$, TypeElement baseElement$,
ClassName generatedClassName$, boolean requiresBytecodeInjection$,
AndroidEntryPointMetadata.AndroidType androidType$,
Optional baseMetadata$,
ImmutableSet installInComponents$, TypeName componentManager$,
Optional componentManagerInitArgs$) {
super(element$, baseElement$, generatedClassName$, requiresBytecodeInjection$, androidType$, baseMetadata$, installInComponents$, componentManager$, componentManagerInitArgs$);
}
@Override
public AndroidEntryPointMetadata rootMetadata() {
if (rootMetadata == null) {
synchronized (this) {
if (rootMetadata == null) {
rootMetadata = super.rootMetadata();
if (rootMetadata == null) {
throw new NullPointerException("rootMetadata() cannot return null");
}
}
}
}
return rootMetadata;
}
}