2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ModelSku.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/discord/models/domain/Model$Parser;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/models/domain/ModelSku;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Parser"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lcom/discord/models/domain/Model$Parser<",
|
|
|
|
"Lcom/discord/models/domain/ModelSku;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelSku$Parser;-><init>()V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSku$Parser;->INSTANCE:Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelSku;
|
|
|
|
.locals 16
|
|
|
|
|
|
|
|
move-object/from16 v8, p1
|
|
|
|
|
|
|
|
const-string v0, "reader"
|
|
|
|
|
|
|
|
invoke-static {v8, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
new-instance v9, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v9}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput-object v0, v9, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v10, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v10}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v10, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v11, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v11}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v11, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v12, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v12}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v12, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v13, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v13}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v13, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v14, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v14}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v14, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v15, Lcom/discord/models/domain/ModelSku$Parser$parse$1;
|
|
|
|
|
|
|
|
move-object v0, v15
|
|
|
|
|
|
|
|
move-object v1, v9
|
|
|
|
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
|
|
|
|
move-object v3, v10
|
|
|
|
|
|
|
|
move-object v4, v11
|
|
|
|
|
|
|
|
move-object v5, v12
|
|
|
|
|
|
|
|
move-object v6, v13
|
|
|
|
|
|
|
|
move-object v7, v14
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v7}, Lcom/discord/models/domain/ModelSku$Parser$parse$1;-><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
|
|
|
|
|
|
|
|
check-cast v15, Lrx/functions/Action1;
|
|
|
|
|
|
|
|
invoke-virtual {v8, v15}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
|
|
|
|
|
|
|
new-instance v15, Lcom/discord/models/domain/ModelSku;
|
|
|
|
|
|
|
|
iget-object v0, v9, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Long;
|
|
|
|
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-wide v3, v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iget-object v0, v10, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
const-string v0, ""
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object v5, v0
|
|
|
|
|
|
|
|
iget-object v0, v11, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Long;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
move-wide v6, v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-wide v6, v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
iget-object v0, v12, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-object v8, v0
|
|
|
|
|
|
|
|
check-cast v8, Lcom/discord/models/domain/ModelApplication;
|
|
|
|
|
|
|
|
iget-object v0, v13, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2019-07-26 06:05:06 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Ee()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
iget-object v0, v14, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
|
2019-07-26 06:05:06 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Ee()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
move-object v0, v15
|
|
|
|
|
|
|
|
move-wide v1, v3
|
|
|
|
|
|
|
|
move-object v3, v5
|
|
|
|
|
|
|
|
move-wide v4, v6
|
|
|
|
|
|
|
|
move-object v6, v8
|
|
|
|
|
|
|
|
move v7, v9
|
|
|
|
|
|
|
|
move v8, v10
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v8}, Lcom/discord/models/domain/ModelSku;-><init>(JLjava/lang/String;JLcom/discord/models/domain/ModelApplication;ZI)V
|
|
|
|
|
|
|
|
return-object v15
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final bridge synthetic parse(Lcom/discord/models/domain/Model$JsonReader;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelSku$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelSku;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|