dagger.hilt.processor.internal.root.AutoValue_TestRootMetadata 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.
The newest version!
package dagger.hilt.processor.internal.root;
import androidx.room.compiler.processing.XTypeElement;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_TestRootMetadata extends TestRootMetadata {
private final XTypeElement testElement;
private final XTypeElement baseElement;
AutoValue_TestRootMetadata(
XTypeElement testElement,
XTypeElement baseElement) {
if (testElement == null) {
throw new NullPointerException("Null testElement");
}
this.testElement = testElement;
if (baseElement == null) {
throw new NullPointerException("Null baseElement");
}
this.baseElement = baseElement;
}
@Override
XTypeElement testElement() {
return testElement;
}
@Override
XTypeElement baseElement() {
return baseElement;
}
@Override
public String toString() {
return "TestRootMetadata{"
+ "testElement=" + testElement + ", "
+ "baseElement=" + baseElement
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof TestRootMetadata) {
TestRootMetadata that = (TestRootMetadata) o;
return this.testElement.equals(that.testElement())
&& this.baseElement.equals(that.baseElement());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= testElement.hashCode();
h$ *= 1000003;
h$ ^= baseElement.hashCode();
return h$;
}
}