98 lines
3.3 KiB
Java
98 lines
3.3 KiB
Java
package com.discord.widgets.chat.input;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
/* compiled from: WidgetChatInputMentionsTags.kt */
|
|
public final class WidgetChatInputMentionsTags<T> {
|
|
private final List<T> tags;
|
|
private final String token;
|
|
private final char tokenIdentifier;
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: java.util.List<? extends T> */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public WidgetChatInputMentionsTags(List<? extends T> list, char c2, String str) {
|
|
m.checkNotNullParameter(list, "tags");
|
|
m.checkNotNullParameter(str, "token");
|
|
this.tags = list;
|
|
this.tokenIdentifier = c2;
|
|
this.token = str;
|
|
}
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.widgets.chat.input.WidgetChatInputMentionsTags */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ WidgetChatInputMentionsTags copy$default(WidgetChatInputMentionsTags widgetChatInputMentionsTags, List list, char c2, String str, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
list = widgetChatInputMentionsTags.tags;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
c2 = widgetChatInputMentionsTags.tokenIdentifier;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
str = widgetChatInputMentionsTags.token;
|
|
}
|
|
return widgetChatInputMentionsTags.copy(list, c2, str);
|
|
}
|
|
|
|
public final List<T> component1() {
|
|
return this.tags;
|
|
}
|
|
|
|
public final char component2() {
|
|
return this.tokenIdentifier;
|
|
}
|
|
|
|
public final String component3() {
|
|
return this.token;
|
|
}
|
|
|
|
public final WidgetChatInputMentionsTags<T> copy(List<? extends T> list, char c2, String str) {
|
|
m.checkNotNullParameter(list, "tags");
|
|
m.checkNotNullParameter(str, "token");
|
|
return new WidgetChatInputMentionsTags<>(list, c2, str);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof WidgetChatInputMentionsTags)) {
|
|
return false;
|
|
}
|
|
WidgetChatInputMentionsTags widgetChatInputMentionsTags = (WidgetChatInputMentionsTags) obj;
|
|
return m.areEqual(this.tags, widgetChatInputMentionsTags.tags) && this.tokenIdentifier == widgetChatInputMentionsTags.tokenIdentifier && m.areEqual(this.token, widgetChatInputMentionsTags.token);
|
|
}
|
|
|
|
public final List<T> getTags() {
|
|
return this.tags;
|
|
}
|
|
|
|
public final String getToken() {
|
|
return this.token;
|
|
}
|
|
|
|
public final char getTokenIdentifier() {
|
|
return this.tokenIdentifier;
|
|
}
|
|
|
|
public int hashCode() {
|
|
List<T> list = this.tags;
|
|
int i = 0;
|
|
int hashCode = (((list != null ? list.hashCode() : 0) * 31) + this.tokenIdentifier) * 31;
|
|
String str = this.token;
|
|
if (str != null) {
|
|
i = str.hashCode();
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("WidgetChatInputMentionsTags(tags=");
|
|
K.append(this.tags);
|
|
K.append(", tokenIdentifier=");
|
|
K.append(this.tokenIdentifier);
|
|
K.append(", token=");
|
|
return a.C(K, this.token, ")");
|
|
}
|
|
}
|