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 androidx.room.compiler.processing.XMethodElement;
import androidx.room.compiler.processing.XTypeElement;
import com.google.common.collect.ImmutableMap;
import com.google.errorprone.annotations.concurrent.LazyInit;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
final class AutoValue_KotlinMetadata extends $AutoValue_KotlinMetadata {
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile ImmutableMap methodDescriptors;
AutoValue_KotlinMetadata(XTypeElement 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;
}
}