dagger.internal.codegen.binding.AutoValue_AssistedInjectionAnnotations_AssistedParameter 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.binding;
import com.squareup.javapoet.TypeName;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_AssistedInjectionAnnotations_AssistedParameter extends AssistedInjectionAnnotations.AssistedParameter {
private final String qualifier;
private final TypeName typeName;
AutoValue_AssistedInjectionAnnotations_AssistedParameter(
String qualifier,
TypeName typeName) {
if (qualifier == null) {
throw new NullPointerException("Null qualifier");
}
this.qualifier = qualifier;
if (typeName == null) {
throw new NullPointerException("Null typeName");
}
this.typeName = typeName;
}
@Override
public String qualifier() {
return qualifier;
}
@Override
TypeName typeName() {
return typeName;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AssistedInjectionAnnotations.AssistedParameter) {
AssistedInjectionAnnotations.AssistedParameter that = (AssistedInjectionAnnotations.AssistedParameter) o;
return this.qualifier.equals(that.qualifier())
&& this.typeName.equals(that.typeName());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= qualifier.hashCode();
h$ *= 1000003;
h$ ^= typeName.hashCode();
return h$;
}
}