dagger.internal.codegen.base.AutoValue_ComponentAnnotation_FictionalComponentAnnotation Maven / Gradle / Ivy
package dagger.internal.codegen.base;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import java.lang.Override;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;
import javax.lang.model.type.TypeMirror;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_ComponentAnnotation_FictionalComponentAnnotation extends $AutoValue_ComponentAnnotation_FictionalComponentAnnotation {
private volatile ImmutableList moduleTypes;
private volatile ImmutableSet modules;
AutoValue_ComponentAnnotation_FictionalComponentAnnotation(ModuleAnnotation moduleAnnotation$) {
super(moduleAnnotation$);
}
@Override
public ImmutableList moduleTypes() {
if (moduleTypes == null) {
synchronized (this) {
if (moduleTypes == null) {
moduleTypes = super.moduleTypes();
if (moduleTypes == null) {
throw new NullPointerException("moduleTypes() cannot return null");
}
}
}
}
return moduleTypes;
}
@Override
public ImmutableSet modules() {
if (modules == null) {
synchronized (this) {
if (modules == null) {
modules = super.modules();
if (modules == null) {
throw new NullPointerException("modules() cannot return null");
}
}
}
}
return modules;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy