dagger.hilt.processor.internal.kotlin.AutoValue_KotlinMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hilt-compiler Show documentation
Show all versions of hilt-compiler Show documentation
A fast dependency injector for Android and Java.
The newest version!
package dagger.hilt.processor.internal.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;
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile boolean containsConstructorWithDefaultParam;
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile boolean containsConstructorWithDefaultParam$Memoized;
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;
}
@Override
boolean containsConstructorWithDefaultParam() {
if (!containsConstructorWithDefaultParam$Memoized) {
synchronized (this) {
if (!containsConstructorWithDefaultParam$Memoized) {
containsConstructorWithDefaultParam = super.containsConstructorWithDefaultParam();
containsConstructorWithDefaultParam$Memoized = true;
}
}
}
return containsConstructorWithDefaultParam;
}
}