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