com.google.javascript.jscomp.AutoValue_JsMessage_PlaceholderReference 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;
@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$;
}
}