dagger.hilt.android.processor.internal.customtestapplication.AutoValue_CustomTestApplicationMetadata 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.android.processor.internal.customtestapplication;
import androidx.room.compiler.processing.XTypeElement;
import com.squareup.javapoet.ClassName;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_CustomTestApplicationMetadata extends CustomTestApplicationMetadata {
private final XTypeElement element;
private final ClassName baseAppName;
AutoValue_CustomTestApplicationMetadata(
XTypeElement element,
ClassName baseAppName) {
if (element == null) {
throw new NullPointerException("Null element");
}
this.element = element;
if (baseAppName == null) {
throw new NullPointerException("Null baseAppName");
}
this.baseAppName = baseAppName;
}
@Override
XTypeElement element() {
return element;
}
@Override
ClassName baseAppName() {
return baseAppName;
}
@Override
public String toString() {
return "CustomTestApplicationMetadata{"
+ "element=" + element + ", "
+ "baseAppName=" + baseAppName
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof CustomTestApplicationMetadata) {
CustomTestApplicationMetadata that = (CustomTestApplicationMetadata) o;
return this.element.equals(that.element())
&& this.baseAppName.equals(that.baseAppName());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= element.hashCode();
h$ *= 1000003;
h$ ^= baseAppName.hashCode();
return h$;
}
}