dagger.hilt.processor.internal.aliasof.AutoValue_AliasOfPropagatedDataMetadata 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.aliasof;
import com.google.common.collect.ImmutableList;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AliasOfPropagatedDataMetadata extends AliasOfPropagatedDataMetadata {
private final TypeElement aggregatingElement;
private final ImmutableList defineComponentScopeElements;
private final TypeElement aliasElement;
AutoValue_AliasOfPropagatedDataMetadata(
TypeElement aggregatingElement,
ImmutableList defineComponentScopeElements,
TypeElement aliasElement) {
if (aggregatingElement == null) {
throw new NullPointerException("Null aggregatingElement");
}
this.aggregatingElement = aggregatingElement;
if (defineComponentScopeElements == null) {
throw new NullPointerException("Null defineComponentScopeElements");
}
this.defineComponentScopeElements = defineComponentScopeElements;
if (aliasElement == null) {
throw new NullPointerException("Null aliasElement");
}
this.aliasElement = aliasElement;
}
@Override
public TypeElement aggregatingElement() {
return aggregatingElement;
}
@Override
ImmutableList defineComponentScopeElements() {
return defineComponentScopeElements;
}
@Override
TypeElement aliasElement() {
return aliasElement;
}
@Override
public String toString() {
return "AliasOfPropagatedDataMetadata{"
+ "aggregatingElement=" + aggregatingElement + ", "
+ "defineComponentScopeElements=" + defineComponentScopeElements + ", "
+ "aliasElement=" + aliasElement
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AliasOfPropagatedDataMetadata) {
AliasOfPropagatedDataMetadata that = (AliasOfPropagatedDataMetadata) o;
return (this.aggregatingElement.equals(that.aggregatingElement()))
&& (this.defineComponentScopeElements.equals(that.defineComponentScopeElements()))
&& (this.aliasElement.equals(that.aliasElement()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= aggregatingElement.hashCode();
h$ *= 1000003;
h$ ^= defineComponentScopeElements.hashCode();
h$ *= 1000003;
h$ ^= aliasElement.hashCode();
return h$;
}
}