276 lines
9.4 KiB
Java
276 lines
9.4 KiB
Java
|
package com.airbnb.deeplinkdispatch;
|
||
|
|
||
|
import o.C14953gcr;
|
||
|
import o.C14957gcv;
|
||
|
import o.InterfaceC13393fZL;
|
||
|
import o.fZZ;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class DeepLinkEntry {
|
||
|
private final String className;
|
||
|
private final InterfaceC13393fZL clazz$delegate;
|
||
|
private final String uriTemplate;
|
||
|
|
||
|
private DeepLinkEntry(String str, String str2) {
|
||
|
this.uriTemplate = str;
|
||
|
this.className = str2;
|
||
|
DeepLinkEntry$clazz$2 deepLinkEntry$clazz$2 = new DeepLinkEntry$clazz$2(this);
|
||
|
C14957gcv.e(deepLinkEntry$clazz$2, "");
|
||
|
this.clazz$delegate = new fZZ(deepLinkEntry$clazz$2);
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class ActivityDeeplinkEntry extends DeepLinkEntry {
|
||
|
private final String className;
|
||
|
private final String uriTemplate;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public ActivityDeeplinkEntry(String str, String str2) {
|
||
|
super(str, str2, null);
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
this.uriTemplate = str;
|
||
|
this.className = str2;
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
StringBuilder sb = new StringBuilder("ActivityDeeplinkEntry(uriTemplate=");
|
||
|
sb.append(getUriTemplate());
|
||
|
sb.append(", className=");
|
||
|
sb.append(getClassName());
|
||
|
sb.append(')');
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
return (getUriTemplate().hashCode() * 31) + getClassName().hashCode();
|
||
|
}
|
||
|
|
||
|
@Override // com.airbnb.deeplinkdispatch.DeepLinkEntry
|
||
|
public final String getUriTemplate() {
|
||
|
return this.uriTemplate;
|
||
|
}
|
||
|
|
||
|
@Override // com.airbnb.deeplinkdispatch.DeepLinkEntry
|
||
|
public final String getClassName() {
|
||
|
return this.className;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof ActivityDeeplinkEntry)) {
|
||
|
return false;
|
||
|
}
|
||
|
ActivityDeeplinkEntry activityDeeplinkEntry = (ActivityDeeplinkEntry) obj;
|
||
|
return C14957gcv.b((Object) getUriTemplate(), (Object) activityDeeplinkEntry.getUriTemplate()) && C14957gcv.b((Object) getClassName(), (Object) activityDeeplinkEntry.getClassName());
|
||
|
}
|
||
|
|
||
|
public final ActivityDeeplinkEntry copy(String str, String str2) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
return new ActivityDeeplinkEntry(str, str2);
|
||
|
}
|
||
|
|
||
|
public final String component2() {
|
||
|
return getClassName();
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return getUriTemplate();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ ActivityDeeplinkEntry copy$default(ActivityDeeplinkEntry activityDeeplinkEntry, String str, String str2, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
str = activityDeeplinkEntry.getUriTemplate();
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
str2 = activityDeeplinkEntry.getClassName();
|
||
|
}
|
||
|
return activityDeeplinkEntry.copy(str, str2);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class MethodDeeplinkEntry extends DeepLinkEntry {
|
||
|
private final String className;
|
||
|
private final String method;
|
||
|
private final String uriTemplate;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public MethodDeeplinkEntry(String str, String str2, String str3) {
|
||
|
super(str, str2, null);
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
C14957gcv.e(str3, "");
|
||
|
this.uriTemplate = str;
|
||
|
this.className = str2;
|
||
|
this.method = str3;
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
StringBuilder sb = new StringBuilder("MethodDeeplinkEntry(uriTemplate=");
|
||
|
sb.append(getUriTemplate());
|
||
|
sb.append(", className=");
|
||
|
sb.append(getClassName());
|
||
|
sb.append(", method=");
|
||
|
sb.append(this.method);
|
||
|
sb.append(')');
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
return (((getUriTemplate().hashCode() * 31) + getClassName().hashCode()) * 31) + this.method.hashCode();
|
||
|
}
|
||
|
|
||
|
@Override // com.airbnb.deeplinkdispatch.DeepLinkEntry
|
||
|
public final String getUriTemplate() {
|
||
|
return this.uriTemplate;
|
||
|
}
|
||
|
|
||
|
public final String getMethod() {
|
||
|
return this.method;
|
||
|
}
|
||
|
|
||
|
@Override // com.airbnb.deeplinkdispatch.DeepLinkEntry
|
||
|
public final String getClassName() {
|
||
|
return this.className;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof MethodDeeplinkEntry)) {
|
||
|
return false;
|
||
|
}
|
||
|
MethodDeeplinkEntry methodDeeplinkEntry = (MethodDeeplinkEntry) obj;
|
||
|
return C14957gcv.b((Object) getUriTemplate(), (Object) methodDeeplinkEntry.getUriTemplate()) && C14957gcv.b((Object) getClassName(), (Object) methodDeeplinkEntry.getClassName()) && C14957gcv.b((Object) this.method, (Object) methodDeeplinkEntry.method);
|
||
|
}
|
||
|
|
||
|
public final MethodDeeplinkEntry copy(String str, String str2, String str3) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
C14957gcv.e(str3, "");
|
||
|
return new MethodDeeplinkEntry(str, str2, str3);
|
||
|
}
|
||
|
|
||
|
public final String component3() {
|
||
|
return this.method;
|
||
|
}
|
||
|
|
||
|
public final String component2() {
|
||
|
return getClassName();
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return getUriTemplate();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ MethodDeeplinkEntry copy$default(MethodDeeplinkEntry methodDeeplinkEntry, String str, String str2, String str3, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
str = methodDeeplinkEntry.getUriTemplate();
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
str2 = methodDeeplinkEntry.getClassName();
|
||
|
}
|
||
|
if ((i & 4) != 0) {
|
||
|
str3 = methodDeeplinkEntry.method;
|
||
|
}
|
||
|
return methodDeeplinkEntry.copy(str, str2, str3);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class HandlerDeepLinkEntry extends DeepLinkEntry {
|
||
|
private final String className;
|
||
|
private final String uriTemplate;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public HandlerDeepLinkEntry(String str, String str2) {
|
||
|
super(str, str2, null);
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
this.uriTemplate = str;
|
||
|
this.className = str2;
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
StringBuilder sb = new StringBuilder("HandlerDeepLinkEntry(uriTemplate=");
|
||
|
sb.append(getUriTemplate());
|
||
|
sb.append(", className=");
|
||
|
sb.append(getClassName());
|
||
|
sb.append(')');
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
return (getUriTemplate().hashCode() * 31) + getClassName().hashCode();
|
||
|
}
|
||
|
|
||
|
@Override // com.airbnb.deeplinkdispatch.DeepLinkEntry
|
||
|
public final String getUriTemplate() {
|
||
|
return this.uriTemplate;
|
||
|
}
|
||
|
|
||
|
@Override // com.airbnb.deeplinkdispatch.DeepLinkEntry
|
||
|
public final String getClassName() {
|
||
|
return this.className;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof HandlerDeepLinkEntry)) {
|
||
|
return false;
|
||
|
}
|
||
|
HandlerDeepLinkEntry handlerDeepLinkEntry = (HandlerDeepLinkEntry) obj;
|
||
|
return C14957gcv.b((Object) getUriTemplate(), (Object) handlerDeepLinkEntry.getUriTemplate()) && C14957gcv.b((Object) getClassName(), (Object) handlerDeepLinkEntry.getClassName());
|
||
|
}
|
||
|
|
||
|
public final HandlerDeepLinkEntry copy(String str, String str2) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
return new HandlerDeepLinkEntry(str, str2);
|
||
|
}
|
||
|
|
||
|
public final String component2() {
|
||
|
return getClassName();
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return getUriTemplate();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ HandlerDeepLinkEntry copy$default(HandlerDeepLinkEntry handlerDeepLinkEntry, String str, String str2, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
str = handlerDeepLinkEntry.getUriTemplate();
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
str2 = handlerDeepLinkEntry.getClassName();
|
||
|
}
|
||
|
return handlerDeepLinkEntry.copy(str, str2);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final Class<?> getClazz() {
|
||
|
Object e = this.clazz$delegate.e();
|
||
|
C14957gcv.c(e, "");
|
||
|
return (Class) e;
|
||
|
}
|
||
|
|
||
|
public String getUriTemplate() {
|
||
|
return this.uriTemplate;
|
||
|
}
|
||
|
|
||
|
public String getClassName() {
|
||
|
return this.className;
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ DeepLinkEntry(String str, String str2, C14953gcr c14953gcr) {
|
||
|
this(str, str2);
|
||
|
}
|
||
|
}
|