109 lines
3.5 KiB
Java
109 lines
3.5 KiB
Java
package com.airbnb.deeplinkdispatch;
|
|
|
|
import o.C14957gcv;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class UriMatch {
|
|
private final String annotatedClassFullyQualifiedName;
|
|
private final String annotatedMethod;
|
|
private final MatchType type;
|
|
private final String uriTemplate;
|
|
|
|
public UriMatch(MatchType matchType, String str, String str2, String str3) {
|
|
C14957gcv.e(matchType, "");
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
this.type = matchType;
|
|
this.uriTemplate = str;
|
|
this.annotatedClassFullyQualifiedName = str2;
|
|
this.annotatedMethod = str3;
|
|
}
|
|
|
|
public final String toString() {
|
|
StringBuilder sb = new StringBuilder("UriMatch(type=");
|
|
sb.append(this.type);
|
|
sb.append(", uriTemplate=");
|
|
sb.append(this.uriTemplate);
|
|
sb.append(", annotatedClassFullyQualifiedName=");
|
|
sb.append(this.annotatedClassFullyQualifiedName);
|
|
sb.append(", annotatedMethod=");
|
|
sb.append((Object) this.annotatedMethod);
|
|
sb.append(')');
|
|
return sb.toString();
|
|
}
|
|
|
|
public final int hashCode() {
|
|
int hashCode = this.type.hashCode();
|
|
int hashCode2 = this.uriTemplate.hashCode();
|
|
int hashCode3 = this.annotatedClassFullyQualifiedName.hashCode();
|
|
String str = this.annotatedMethod;
|
|
return (((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + (str == null ? 0 : str.hashCode());
|
|
}
|
|
|
|
public final String getUriTemplate() {
|
|
return this.uriTemplate;
|
|
}
|
|
|
|
public final MatchType getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public final String getAnnotatedMethod() {
|
|
return this.annotatedMethod;
|
|
}
|
|
|
|
public final String getAnnotatedClassFullyQualifiedName() {
|
|
return this.annotatedClassFullyQualifiedName;
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof UriMatch)) {
|
|
return false;
|
|
}
|
|
UriMatch uriMatch = (UriMatch) obj;
|
|
return this.type == uriMatch.type && C14957gcv.b((Object) this.uriTemplate, (Object) uriMatch.uriTemplate) && C14957gcv.b((Object) this.annotatedClassFullyQualifiedName, (Object) uriMatch.annotatedClassFullyQualifiedName) && C14957gcv.b((Object) this.annotatedMethod, (Object) uriMatch.annotatedMethod);
|
|
}
|
|
|
|
public final UriMatch copy(MatchType matchType, String str, String str2, String str3) {
|
|
C14957gcv.e(matchType, "");
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
return new UriMatch(matchType, str, str2, str3);
|
|
}
|
|
|
|
public final String component4() {
|
|
return this.annotatedMethod;
|
|
}
|
|
|
|
public final String component3() {
|
|
return this.annotatedClassFullyQualifiedName;
|
|
}
|
|
|
|
public final String component2() {
|
|
return this.uriTemplate;
|
|
}
|
|
|
|
public final MatchType component1() {
|
|
return this.type;
|
|
}
|
|
|
|
public static /* synthetic */ UriMatch copy$default(UriMatch uriMatch, MatchType matchType, String str, String str2, String str3, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
matchType = uriMatch.type;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
str = uriMatch.uriTemplate;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
str2 = uriMatch.annotatedClassFullyQualifiedName;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
str3 = uriMatch.annotatedMethod;
|
|
}
|
|
return uriMatch.copy(matchType, str, str2, str3);
|
|
}
|
|
}
|