Call Recorder v6.34.2版本的 MD5 值为:298659ce317c966b10d9947b76831521
以下内容为反编译后的 k.java 源代码,内容仅作参考
package m2;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonLocation;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import java.util.Arrays;
public final class k {
public static final k f24683e = new k("api.dropboxapi.com", "content.dropboxapi.com", "www.dropbox.com", "notify.dropboxapi.com");
public static final p2.b<k> f24684f = new a();
public static final p2.c<k> f24685g = new b();
private final String f24686a;
private final String f24687b;
private final String f24688c;
private final String f24689d;
static class a extends p2.b<k> {
a() {
}
@Override
public k d(JsonParser jsonParser) {
JsonToken currentToken = jsonParser.getCurrentToken();
if (currentToken == JsonToken.VALUE_STRING) {
String text = jsonParser.getText();
p2.b.c(jsonParser);
return k.g(text);
} else if (currentToken == JsonToken.START_OBJECT) {
JsonLocation tokenLocation = jsonParser.getTokenLocation();
p2.b.c(jsonParser);
String str = null;
String str2 = null;
String str3 = null;
String str4 = null;
while (jsonParser.getCurrentToken() == JsonToken.FIELD_NAME) {
String currentName = jsonParser.getCurrentName();
jsonParser.nextToken();
try {
if (currentName.equals("api")) {
str = p2.b.f26474h.f(jsonParser, currentName, str);
} else if (currentName.equals("content")) {
str2 = p2.b.f26474h.f(jsonParser, currentName, str2);
} else if (currentName.equals("web")) {
str3 = p2.b.f26474h.f(jsonParser, currentName, str3);
} else if (currentName.equals("notify")) {
str4 = p2.b.f26474h.f(jsonParser, currentName, str4);
} else {
throw new p2.a("unknown field", jsonParser.getCurrentLocation());
}
} catch (p2.a e9) {
throw e9.a(currentName);
}
}
p2.b.a(jsonParser);
if (str != null) {
if (str2 != null) {
if (str3 != null) {
if (str4 != null) {
return new k(str, str2, str3, str4);
}
throw new p2.a("missing field \"notify\"", tokenLocation);
}
throw new p2.a("missing field \"web\"", tokenLocation);
}
throw new p2.a("missing field \"content\"", tokenLocation);
}
throw new p2.a("missing field \"api\"", tokenLocation);
} else {
throw new p2.a("expecting a string or an object", jsonParser.getTokenLocation());
}
}
}
static class b extends p2.c<k> {
b() {
}
@Override
public void a(k kVar, JsonGenerator jsonGenerator) {
String l9 = kVar.l();
if (l9 != null) {
jsonGenerator.writeString(l9);
return;
}
jsonGenerator.writeStartObject();
jsonGenerator.writeStringField("api", kVar.f24686a);
jsonGenerator.writeStringField("content", kVar.f24687b);
jsonGenerator.writeStringField("web", kVar.f24688c);
jsonGenerator.writeStringField("notify", kVar.f24689d);
jsonGenerator.writeEndObject();
}
}
public k(String str, String str2, String str3, String str4) {
this.f24686a = str;
this.f24687b = str2;
this.f24688c = str3;
this.f24689d = str4;
}
public static k g(String str) {
return new k("api-" + str, "api-content-" + str, "meta-" + str, "api-notify-" + str);
}
public String l() {
if (this.f24688c.startsWith("meta-") && this.f24686a.startsWith("api-") && this.f24687b.startsWith("api-content-") && this.f24689d.startsWith("api-notify-")) {
String substring = this.f24688c.substring(5);
String substring2 = this.f24686a.substring(4);
String substring3 = this.f24687b.substring(12);
String substring4 = this.f24689d.substring(11);
if (substring.equals(substring2) && substring.equals(substring3) && substring.equals(substring4)) {
return substring;
}
return null;
}
return null;
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (obj instanceof k) {
k kVar = (k) obj;
return kVar.f24686a.equals(this.f24686a) && kVar.f24687b.equals(this.f24687b) && kVar.f24688c.equals(this.f24688c) && kVar.f24689d.equals(this.f24689d);
}
return false;
}
public String h() {
return this.f24686a;
}
public int hashCode() {
return Arrays.hashCode(new String[]{this.f24686a, this.f24687b, this.f24688c, this.f24689d});
}
public String i() {
return this.f24687b;
}
public String j() {
return this.f24689d;
}
public String k() {
return this.f24688c;
}
}