com.google.javascript.jscomp.AutoValue_GlobalNamespace_ObjLitStringKeyAnalysis Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.frontend.js.minifier
Show all versions of com.liferay.frontend.js.minifier
Liferay Frontend JS Minifier
package com.google.javascript.jscomp;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_GlobalNamespace_ObjLitStringKeyAnalysis extends GlobalNamespace.ObjLitStringKeyAnalysis {
private final String nameString;
private final GlobalNamespace.NameType nameType;
AutoValue_GlobalNamespace_ObjLitStringKeyAnalysis(
@Nullable String nameString,
@Nullable GlobalNamespace.NameType nameType) {
this.nameString = nameString;
this.nameType = nameType;
}
@Nullable
@Override
public String getNameString() {
return nameString;
}
@Nullable
@Override
public GlobalNamespace.NameType getNameType() {
return nameType;
}
@Override
public String toString() {
return "ObjLitStringKeyAnalysis{"
+ "nameString=" + nameString + ", "
+ "nameType=" + nameType
+ "}";
}
@Override
public boolean equals(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$;
}
}