dagger.internal.codegen.base.AutoValue_ModuleAnnotation 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.base;
import com.google.common.collect.ImmutableList;
import java.lang.Override;
import javax.annotation.Generated;
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.AnnotationValue;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_ModuleAnnotation extends $AutoValue_ModuleAnnotation {
private volatile ImmutableList includes;
private volatile ImmutableList includesAsAnnotationValues;
private volatile ImmutableList subcomponents;
private volatile ImmutableList subcomponentsAsAnnotationValues;
AutoValue_ModuleAnnotation(AnnotationMirror annotation$) {
super(annotation$);
}
@Override
public ImmutableList includes() {
if (includes == null) {
synchronized (this) {
if (includes == null) {
includes = super.includes();
if (includes == null) {
throw new NullPointerException("includes() cannot return null");
}
}
}
}
return includes;
}
@Override
public ImmutableList includesAsAnnotationValues() {
if (includesAsAnnotationValues == null) {
synchronized (this) {
if (includesAsAnnotationValues == null) {
includesAsAnnotationValues = super.includesAsAnnotationValues();
if (includesAsAnnotationValues == null) {
throw new NullPointerException("includesAsAnnotationValues() cannot return null");
}
}
}
}
return includesAsAnnotationValues;
}
@Override
public ImmutableList subcomponents() {
if (subcomponents == null) {
synchronized (this) {
if (subcomponents == null) {
subcomponents = super.subcomponents();
if (subcomponents == null) {
throw new NullPointerException("subcomponents() cannot return null");
}
}
}
}
return subcomponents;
}
@Override
public ImmutableList subcomponentsAsAnnotationValues() {
if (subcomponentsAsAnnotationValues == null) {
synchronized (this) {
if (subcomponentsAsAnnotationValues == null) {
subcomponentsAsAnnotationValues = super.subcomponentsAsAnnotationValues();
if (subcomponentsAsAnnotationValues == null) {
throw new NullPointerException("subcomponentsAsAnnotationValues() cannot return null");
}
}
}
}
return subcomponentsAsAnnotationValues;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy