71 lines
2.2 KiB
Java
71 lines
2.2 KiB
Java
package com.discord.widgets.chat.input.autocomplete;
|
|
|
|
import c.d.b.a.a;
|
|
import com.discord.models.commands.Application;
|
|
import d0.t.n;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
/* compiled from: Autocompletable.kt */
|
|
public final class ApplicationPlaceholder extends Autocompletable {
|
|
private final Application application;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public ApplicationPlaceholder(Application application) {
|
|
super(null);
|
|
m.checkNotNullParameter(application, "application");
|
|
this.application = application;
|
|
}
|
|
|
|
public static /* synthetic */ ApplicationPlaceholder copy$default(ApplicationPlaceholder applicationPlaceholder, Application application, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
application = applicationPlaceholder.application;
|
|
}
|
|
return applicationPlaceholder.copy(application);
|
|
}
|
|
|
|
public final Application component1() {
|
|
return this.application;
|
|
}
|
|
|
|
public final ApplicationPlaceholder copy(Application application) {
|
|
m.checkNotNullParameter(application, "application");
|
|
return new ApplicationPlaceholder(application);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this != obj) {
|
|
return (obj instanceof ApplicationPlaceholder) && m.areEqual(this.application, ((ApplicationPlaceholder) obj).application);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public final Application getApplication() {
|
|
return this.application;
|
|
}
|
|
|
|
@Override // com.discord.widgets.chat.input.autocomplete.Autocompletable
|
|
public String getInputReplacement() {
|
|
return "";
|
|
}
|
|
|
|
@Override // com.discord.widgets.chat.input.autocomplete.Autocompletable
|
|
public List<String> getInputTextMatchers() {
|
|
return n.emptyList();
|
|
}
|
|
|
|
public int hashCode() {
|
|
Application application = this.application;
|
|
if (application != null) {
|
|
return application.hashCode();
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("ApplicationPlaceholder(application=");
|
|
L.append(this.application);
|
|
L.append(")");
|
|
return L.toString();
|
|
}
|
|
}
|