dagger.internal.codegen.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-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
The newest version!
package dagger.internal.codegen.model;
import com.google.common.collect.ImmutableList;
// 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$;
}
}