dagger.hilt.processor.internal.earlyentrypoint.AutoValue_AggregatedEarlyEntryPointMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hilt-android-compiler Show documentation
Show all versions of hilt-android-compiler Show documentation
A fast dependency injector for Android and Java.
package dagger.hilt.processor.internal.earlyentrypoint;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AggregatedEarlyEntryPointMetadata extends AggregatedEarlyEntryPointMetadata {
private final TypeElement aggregatingElement;
private final TypeElement earlyEntryPoint;
AutoValue_AggregatedEarlyEntryPointMetadata(
TypeElement aggregatingElement,
TypeElement earlyEntryPoint) {
if (aggregatingElement == null) {
throw new NullPointerException("Null aggregatingElement");
}
this.aggregatingElement = aggregatingElement;
if (earlyEntryPoint == null) {
throw new NullPointerException("Null earlyEntryPoint");
}
this.earlyEntryPoint = earlyEntryPoint;
}
@Override
public TypeElement aggregatingElement() {
return aggregatingElement;
}
@Override
public TypeElement earlyEntryPoint() {
return earlyEntryPoint;
}
@Override
public String toString() {
return "AggregatedEarlyEntryPointMetadata{"
+ "aggregatingElement=" + aggregatingElement + ", "
+ "earlyEntryPoint=" + earlyEntryPoint
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AggregatedEarlyEntryPointMetadata) {
AggregatedEarlyEntryPointMetadata that = (AggregatedEarlyEntryPointMetadata) o;
return (this.aggregatingElement.equals(that.aggregatingElement()))
&& (this.earlyEntryPoint.equals(that.earlyEntryPoint()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= aggregatingElement.hashCode();
h$ *= 1000003;
h$ ^= earlyEntryPoint.hashCode();
return h$;
}
}