com.google.errorprone.refaster.AutoValue_UIntersectionType 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_UIntersectionType extends UIntersectionType {
private final ImmutableList bounds;
AutoValue_UIntersectionType(
ImmutableList bounds) {
if (bounds == null) {
throw new NullPointerException("Null bounds");
}
this.bounds = bounds;
}
@Override
public ImmutableList getBounds() {
return bounds;
}
@Override
public String toString() {
return "UIntersectionType{"
+ "bounds=" + bounds
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UIntersectionType) {
UIntersectionType that = (UIntersectionType) o;
return this.bounds.equals(that.getBounds());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= bounds.hashCode();
return h$;
}
}