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

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

Go to download

Closure Compiler is a JavaScript optimizing compiler. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs.

The newest version!
package com.google.javascript.jscomp;

import javax.annotation.processing.Generated;
import org.jspecify.nullness.Nullable;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_GlobalNamespace_ObjLitStringKeyAnalysis extends GlobalNamespace.ObjLitStringKeyAnalysis {

  private final @Nullable String nameString;

  private final GlobalNamespace.@Nullable NameProp nameType;

  AutoValue_GlobalNamespace_ObjLitStringKeyAnalysis(
      @Nullable String nameString,
      GlobalNamespace.@Nullable NameProp nameType) {
    this.nameString = nameString;
    this.nameType = nameType;
  }

  @Override
  public @Nullable String getNameString() {
    return nameString;
  }

  @Override
  public GlobalNamespace.@Nullable NameProp getNameType() {
    return nameType;
  }

  @Override
  public String toString() {
    return "ObjLitStringKeyAnalysis{"
        + "nameString=" + nameString + ", "
        + "nameType=" + nameType
        + "}";
  }

  @Override
  public boolean equals(@Nullable Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof GlobalNamespace.ObjLitStringKeyAnalysis) {
      GlobalNamespace.ObjLitStringKeyAnalysis that = (GlobalNamespace.ObjLitStringKeyAnalysis) o;
      return (this.nameString == null ? that.getNameString() == null : this.nameString.equals(that.getNameString()))
          && (this.nameType == null ? that.getNameType() == null : this.nameType.equals(that.getNameType()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= (nameString == null) ? 0 : nameString.hashCode();
    h$ *= 1000003;
    h$ ^= (nameType == null) ? 0 : nameType.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy