dagger.internal.codegen.binding.AutoValue_AssistedInjectionAnnotations_AssistedFactoryMetadata 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.
The newest version!
package dagger.internal.codegen.binding;
import androidx.room.compiler.processing.XExecutableParameterElement;
import androidx.room.compiler.processing.XMethodElement;
import androidx.room.compiler.processing.XMethodType;
import androidx.room.compiler.processing.XType;
import androidx.room.compiler.processing.XTypeElement;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.errorprone.annotations.concurrent.LazyInit;
import java.lang.Override;
import java.lang.SuppressWarnings;
final class AutoValue_AssistedInjectionAnnotations_AssistedFactoryMetadata extends $AutoValue_AssistedInjectionAnnotations_AssistedFactoryMetadata {
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile ImmutableMap assistedInjectAssistedParametersMap;
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile ImmutableMap assistedFactoryAssistedParametersMap;
AutoValue_AssistedInjectionAnnotations_AssistedFactoryMetadata(XTypeElement factory$,
XType factoryType$, XMethodElement factoryMethod$, XMethodType factoryMethodType$,
XTypeElement assistedInjectElement$, XType assistedInjectType$,
ImmutableList assistedInjectAssistedParameters$,
ImmutableList assistedFactoryAssistedParameters$) {
super(factory$, factoryType$, factoryMethod$, factoryMethodType$, assistedInjectElement$, assistedInjectType$, assistedInjectAssistedParameters$, assistedFactoryAssistedParameters$);
}
@Override
public ImmutableMap assistedInjectAssistedParametersMap() {
if (assistedInjectAssistedParametersMap == null) {
synchronized (this) {
if (assistedInjectAssistedParametersMap == null) {
assistedInjectAssistedParametersMap = super.assistedInjectAssistedParametersMap();
if (assistedInjectAssistedParametersMap == null) {
throw new NullPointerException("assistedInjectAssistedParametersMap() cannot return null");
}
}
}
}
return assistedInjectAssistedParametersMap;
}
@Override
public ImmutableMap assistedFactoryAssistedParametersMap() {
if (assistedFactoryAssistedParametersMap == null) {
synchronized (this) {
if (assistedFactoryAssistedParametersMap == null) {
assistedFactoryAssistedParametersMap = super.assistedFactoryAssistedParametersMap();
if (assistedFactoryAssistedParametersMap == null) {
throw new NullPointerException("assistedFactoryAssistedParametersMap() cannot return null");
}
}
}
}
return assistedFactoryAssistedParametersMap;
}
}