Rabbit-R1/switch port/smali/smali_classes3/io/sentry/protocol/DebugImage$Deserializer.smali
2024-05-21 17:08:36 -04:00

385 lines
8.4 KiB
Smali

.class public final Lio/sentry/protocol/DebugImage$Deserializer;
.super Ljava/lang/Object;
.source "DebugImage.java"
# interfaces
.implements Lio/sentry/JsonDeserializer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/sentry/protocol/DebugImage;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Deserializer"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lio/sentry/JsonDeserializer<",
"Lio/sentry/protocol/DebugImage;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 315
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public deserialize(Lio/sentry/JsonObjectReader;Lio/sentry/ILogger;)Lio/sentry/protocol/DebugImage;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 320
new-instance p0, Lio/sentry/protocol/DebugImage;
invoke-direct {p0}, Lio/sentry/protocol/DebugImage;-><init>()V
.line 323
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->beginObject()V
const/4 v0, 0x0
.line 324
:goto_0
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->peek()Lio/sentry/vendor/gson/stream/JsonToken;
move-result-object v1
sget-object v2, Lio/sentry/vendor/gson/stream/JsonToken;->NAME:Lio/sentry/vendor/gson/stream/JsonToken;
if-ne v1, v2, :cond_a
.line 325
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextName()Ljava/lang/String;
move-result-object v1
.line 326
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v2
const/4 v3, -0x1
sparse-switch v2, :sswitch_data_0
goto/16 :goto_1
:sswitch_0
const-string v2, "code_id"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_0
goto/16 :goto_1
:cond_0
const/16 v3, 0x8
goto/16 :goto_1
:sswitch_1
const-string v2, "debug_id"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_1
goto :goto_1
:cond_1
const/4 v3, 0x7
goto :goto_1
:sswitch_2
const-string v2, "uuid"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_2
goto :goto_1
:cond_2
const/4 v3, 0x6
goto :goto_1
:sswitch_3
const-string v2, "type"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_3
goto :goto_1
:cond_3
const/4 v3, 0x5
goto :goto_1
:sswitch_4
const-string v2, "arch"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_4
goto :goto_1
:cond_4
const/4 v3, 0x4
goto :goto_1
:sswitch_5
const-string v2, "code_file"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_5
goto :goto_1
:cond_5
const/4 v3, 0x3
goto :goto_1
:sswitch_6
const-string v2, "image_size"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_6
goto :goto_1
:cond_6
const/4 v3, 0x2
goto :goto_1
:sswitch_7
const-string v2, "image_addr"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_7
goto :goto_1
:cond_7
const/4 v3, 0x1
goto :goto_1
:sswitch_8
const-string v2, "debug_file"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_8
goto :goto_1
:cond_8
const/4 v3, 0x0
:goto_1
packed-switch v3, :pswitch_data_0
if-nez v0, :cond_9
.line 356
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
.line 358
:cond_9
invoke-virtual {p1, p2, v0, v1}, Lio/sentry/JsonObjectReader;->nextUnknown(Lio/sentry/ILogger;Ljava/util/Map;Ljava/lang/String;)V
goto/16 :goto_0
.line 340
:pswitch_0
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$402(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 334
:pswitch_1
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$202(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 328
:pswitch_2
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$002(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 331
:pswitch_3
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$102(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 352
:pswitch_4
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$802(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 343
:pswitch_5
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$502(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 349
:pswitch_6
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextLongOrNull()Ljava/lang/Long;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$702(Lio/sentry/protocol/DebugImage;Ljava/lang/Long;)Ljava/lang/Long;
goto/16 :goto_0
.line 346
:pswitch_7
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$602(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 337
:pswitch_8
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->nextStringOrNull()Ljava/lang/String;
move-result-object v1
invoke-static {p0, v1}, Lio/sentry/protocol/DebugImage;->access$302(Lio/sentry/protocol/DebugImage;Ljava/lang/String;)Ljava/lang/String;
goto/16 :goto_0
.line 362
:cond_a
invoke-virtual {p1}, Lio/sentry/JsonObjectReader;->endObject()V
.line 364
invoke-virtual {p0, v0}, Lio/sentry/protocol/DebugImage;->setUnknown(Ljava/util/Map;)V
return-object p0
:sswitch_data_0
.sparse-switch
-0x6db5ec18 -> :sswitch_8
-0x5607b3ab -> :sswitch_7
-0x55ff6f9b -> :sswitch_6
-0x43335372 -> :sswitch_5
0x2dd056 -> :sswitch_4
0x368f3a -> :sswitch_3
0x36f3bb -> :sswitch_2
0x20a6d687 -> :sswitch_1
0x382360ad -> :sswitch_0
.end sparse-switch
:pswitch_data_0
.packed-switch 0x0
:pswitch_8
:pswitch_7
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public bridge synthetic deserialize(Lio/sentry/JsonObjectReader;Lio/sentry/ILogger;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 315
invoke-virtual {p0, p1, p2}, Lio/sentry/protocol/DebugImage$Deserializer;->deserialize(Lio/sentry/JsonObjectReader;Lio/sentry/ILogger;)Lio/sentry/protocol/DebugImage;
move-result-object p0
return-object p0
.end method