dagger.internal.codegen.kotlin.AutoValue_KotlinMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
package dagger.internal.codegen.kotlin;
import com.google.common.collect.ImmutableMap;
import java.lang.Override;
import java.lang.String;
import javax.annotation.Generated;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_KotlinMetadata extends $AutoValue_KotlinMetadata {
private volatile ImmutableMap methodDescriptors;
private volatile boolean containsConstructorWithDefaultParam;
private volatile boolean containsConstructorWithDefaultParam$Memoized;
AutoValue_KotlinMetadata(TypeElement typeElement$, KotlinMetadata.ClassMetadata classMetadata$) {
super(typeElement$, classMetadata$);
}
@Override
ImmutableMap methodDescriptors() {
if (methodDescriptors == null) {
synchronized (this) {
if (methodDescriptors == null) {
methodDescriptors = super.methodDescriptors();
if (methodDescriptors == null) {
throw new NullPointerException("methodDescriptors() cannot return null");
}
}
}
}
return methodDescriptors;
}
@Override
boolean containsConstructorWithDefaultParam() {
if (!containsConstructorWithDefaultParam$Memoized) {
synchronized (this) {
if (!containsConstructorWithDefaultParam$Memoized) {
containsConstructorWithDefaultParam = super.containsConstructorWithDefaultParam();
containsConstructorWithDefaultParam$Memoized = true;
}
}
}
return containsConstructorWithDefaultParam;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy