com.google.errorprone.refaster.AutoValue_UIntersectionClassType Maven / Gradle / Ivy
package com.google.errorprone.refaster;
import com.google.common.collect.ImmutableList;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_UIntersectionClassType extends UIntersectionClassType {
private final ImmutableList bounds;
AutoValue_UIntersectionClassType(
ImmutableList bounds) {
if (bounds == null) {
throw new NullPointerException("Null bounds");
}
this.bounds = bounds;
}
@Override
ImmutableList bounds() {
return bounds;
}
@Override
public String toString() {
return "UIntersectionClassType{"
+ "bounds=" + bounds
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UIntersectionClassType) {
UIntersectionClassType that = (UIntersectionClassType) o;
return this.bounds.equals(that.bounds());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= bounds.hashCode();
return h$;
}
}