2019-02-04 20:08:30 +00:00
|
|
|
.class final Lcom/discord/models/domain/ModelSku$Parser$parse$1;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "ModelSku.kt"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lrx/functions/Action1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/models/domain/ModelSku$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelSku;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lrx/functions/Action1<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic $application:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
.field final synthetic $applicationId:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
.field final synthetic $id:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
.field final synthetic $name:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
.field final synthetic $premium:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
.field final synthetic $reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
.field final synthetic $type:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/Model$JsonReader;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$applicationId:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
iput-object p3, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$name:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iput-object p4, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$id:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iput-object p5, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$application:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iput-object p6, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$premium:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iput-object p7, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$type:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final bridge synthetic call(Ljava/lang/Object;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->call(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final call(Ljava/lang/String;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_0
|
|
|
|
const-string v0, "application"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$application:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelApplication$Parser;->INSTANCE:Lcom/discord/models/domain/ModelApplication$Parser;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/models/domain/ModelApplication$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelApplication;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:sswitch_1
|
|
|
|
const-string v0, "type"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$type:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/Model$JsonReader;->nextIntOrNull()Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:sswitch_2
|
|
|
|
const-string v0, "name"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$name:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/Model$JsonReader;->nextStringOrNull()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:sswitch_3
|
|
|
|
const-string v0, "id"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$id:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/Model$JsonReader;->nextLongOrNull()Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:sswitch_4
|
|
|
|
const-string v0, "premium"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$premium:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/Model$JsonReader;->nextBooleanOrNull()Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:sswitch_5
|
|
|
|
const-string v0, "application_id"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$applicationId:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/Model$JsonReader;->nextLongOrNull()Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelSku$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->skipValue()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
-0x4cb85596 -> :sswitch_5
|
|
|
|
-0x12fb31a9 -> :sswitch_4
|
|
|
|
0xd1b -> :sswitch_3
|
|
|
|
0x337a8b -> :sswitch_2
|
|
|
|
0x368f3a -> :sswitch_1
|
|
|
|
0x5ca40550 -> :sswitch_0
|
|
|
|
.end sparse-switch
|
|
|
|
.end method
|