dagger.model.$AutoValue_ComponentPath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-spi Show documentation
Show all versions of dagger-spi Show documentation
A fast dependency injector for Android and Java.
package dagger.model;
import com.google.common.collect.ImmutableList;
import javax.lang.model.element.TypeElement;
// Generated by com.google.auto.value.processor.AutoValueProcessor
abstract class $AutoValue_ComponentPath extends ComponentPath {
private final ImmutableList components;
$AutoValue_ComponentPath(
ImmutableList components) {
if (components == null) {
throw new NullPointerException("Null components");
}
this.components = components;
}
@Override
public ImmutableList components() {
return components;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ComponentPath) {
ComponentPath that = (ComponentPath) o;
return this.components.equals(that.components());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= components.hashCode();
return h$;
}
}