dagger.internal.codegen.binding.AutoValue_FrameworkField Maven / Gradle / Ivy
package dagger.internal.codegen.binding;
import androidx.room.compiler.codegen.XTypeName;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_FrameworkField extends FrameworkField {
private final String name;
private final XTypeName type;
AutoValue_FrameworkField(
String name,
XTypeName type) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
if (type == null) {
throw new NullPointerException("Null type");
}
this.type = type;
}
@Override
public String name() {
return name;
}
@Override
public XTypeName type() {
return type;
}
@Override
public String toString() {
return "FrameworkField{"
+ "name=" + name + ", "
+ "type=" + type
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof FrameworkField) {
FrameworkField that = (FrameworkField) o;
return this.name.equals(that.name())
&& this.type.equals(that.type());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= name.hashCode();
h$ *= 1000003;
h$ ^= type.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy