All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.errorprone.refaster.AutoValue_UAnyOf Maven / Gradle / Ivy

There is a newer version: 2.27.1
Show newest version
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_UAnyOf extends UAnyOf {

  private final ImmutableList expressions;

  AutoValue_UAnyOf(
      ImmutableList expressions) {
    if (expressions == null) {
      throw new NullPointerException("Null expressions");
    }
    this.expressions = expressions;
  }

  @Override
  ImmutableList expressions() {
    return expressions;
  }

  @Override
  public String toString() {
    return "UAnyOf{"
        + "expressions=" + expressions
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof UAnyOf) {
      UAnyOf that = (UAnyOf) o;
      return this.expressions.equals(that.expressions());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= expressions.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy