2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/models/domain/ModelSubscriptionPlan$Parser;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ModelSubscriptionPlan.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/discord/models/domain/Model$Parser;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/models/domain/ModelSubscriptionPlan;
|
|
|
|
.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/ModelSubscriptionPlan;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelSubscriptionPlan$Parser;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelSubscriptionPlan$Parser;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelSubscriptionPlan$Parser;-><init>()V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$Parser;->INSTANCE:Lcom/discord/models/domain/ModelSubscriptionPlan$Parser;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelSubscriptionPlan;
|
|
|
|
.locals 11
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
|
|
|
new-instance v7, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v7}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v7, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v8, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v8}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v8, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v9, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v9}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
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 v0, Lcom/discord/models/domain/ModelSubscriptionPlan$Parser$parse$1;
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
move-object v2, v7
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
|
|
|
move-object v4, v8
|
|
|
|
|
|
|
|
move-object v5, v9
|
|
|
|
|
|
|
|
move-object v6, v10
|
|
|
|
|
|
|
|
invoke-direct/range {v1 .. v6}, Lcom/discord/models/domain/ModelSubscriptionPlan$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;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
|
|
|
|
|
|
|
new-instance p1, Lcom/discord/models/domain/ModelSubscriptionPlan;
|
|
|
|
|
|
|
|
iget-object v0, v7, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Long;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
move-wide v2, v0
|
|
|
|
|
|
|
|
iget-object v0, v9, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
|
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
move v4, v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v4, -0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
iget-object v0, v8, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string v0, ""
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
move-object v5, v0
|
|
|
|
|
|
|
|
iget-object v0, v10, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
move v6, v0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v6, -0x1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
invoke-direct/range {v1 .. v6}, Lcom/discord/models/domain/ModelSubscriptionPlan;-><init>(JILjava/lang/String;I)V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p1, "reader"
|
|
|
|
|
2020-07-16 19:51:49 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public bridge synthetic parse(Lcom/discord/models/domain/Model$JsonReader;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelSubscriptionPlan$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelSubscriptionPlan;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|