dagger.internal.codegen.validation.AutoValue_ExternalBindingGraphConverter_SubcomponentCreatorBindingEdgeImpl 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.validation;
import com.google.common.collect.ImmutableSet;
import dagger.spi.model.BindingGraph;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ExternalBindingGraphConverter_SubcomponentCreatorBindingEdgeImpl extends ExternalBindingGraphConverter.SubcomponentCreatorBindingEdgeImpl {
private final ImmutableSet declaringModules;
private final BindingGraph.SubcomponentCreatorBindingEdge spiDelegate;
AutoValue_ExternalBindingGraphConverter_SubcomponentCreatorBindingEdgeImpl(
ImmutableSet declaringModules,
BindingGraph.SubcomponentCreatorBindingEdge spiDelegate) {
if (declaringModules == null) {
throw new NullPointerException("Null declaringModules");
}
this.declaringModules = declaringModules;
if (spiDelegate == null) {
throw new NullPointerException("Null spiDelegate");
}
this.spiDelegate = spiDelegate;
}
@Override
public ImmutableSet declaringModules() {
return declaringModules;
}
@Override
BindingGraph.SubcomponentCreatorBindingEdge spiDelegate() {
return spiDelegate;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ExternalBindingGraphConverter.SubcomponentCreatorBindingEdgeImpl) {
ExternalBindingGraphConverter.SubcomponentCreatorBindingEdgeImpl that = (ExternalBindingGraphConverter.SubcomponentCreatorBindingEdgeImpl) o;
return (this.declaringModules.equals(that.declaringModules()))
&& (this.spiDelegate.equals(that.spiDelegate()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= declaringModules.hashCode();
h$ *= 1000003;
h$ ^= spiDelegate.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy