dagger.hilt.processor.internal.kotlin.$AutoValue_KotlinMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hilt-compiler Show documentation
Show all versions of hilt-compiler Show documentation
A fast dependency injector for Android and Java.
package dagger.hilt.processor.internal.kotlin;
import androidx.room.compiler.processing.XTypeElement;
// Generated by com.google.auto.value.processor.AutoValueProcessor
abstract class $AutoValue_KotlinMetadata extends KotlinMetadata {
private final XTypeElement typeElement;
private final KotlinMetadata.ClassMetadata classMetadata;
$AutoValue_KotlinMetadata(
XTypeElement typeElement,
KotlinMetadata.ClassMetadata classMetadata) {
if (typeElement == null) {
throw new NullPointerException("Null typeElement");
}
this.typeElement = typeElement;
if (classMetadata == null) {
throw new NullPointerException("Null classMetadata");
}
this.classMetadata = classMetadata;
}
@Override
XTypeElement typeElement() {
return typeElement;
}
@Override
KotlinMetadata.ClassMetadata classMetadata() {
return classMetadata;
}
@Override
public String toString() {
return "KotlinMetadata{"
+ "typeElement=" + typeElement + ", "
+ "classMetadata=" + classMetadata
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof KotlinMetadata) {
KotlinMetadata that = (KotlinMetadata) o;
return this.typeElement.equals(that.typeElement())
&& this.classMetadata.equals(that.classMetadata());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= typeElement.hashCode();
h$ *= 1000003;
h$ ^= classMetadata.hashCode();
return h$;
}
}