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

com.google.javascript.jscomp.AutoValue_JsMessage_PlaceholderReference Maven / Gradle / Ivy

There is a newer version: 9.0.8
Show newest version


package com.google.javascript.jscomp;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_JsMessage_PlaceholderReference extends JsMessage.PlaceholderReference {

  private final String name;

  AutoValue_JsMessage_PlaceholderReference(
      String name) {
    if (name == null) {
      throw new NullPointerException("Null name");
    }
    this.name = name;
  }

  @Override
  public String getName() {
    return name;
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof JsMessage.PlaceholderReference) {
      JsMessage.PlaceholderReference that = (JsMessage.PlaceholderReference) o;
      return (this.name.equals(that.getName()));
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy