210 lines
5.5 KiB
Smali
210 lines
5.5 KiB
Smali
|
.class public final Lcom/discord/models/domain/ModelLibraryApplication$Parser;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ModelLibraryApplication.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/discord/models/domain/Model$Parser;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/discord/models/domain/ModelLibraryApplication;
|
||
|
.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/ModelLibraryApplication;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelLibraryApplication$Parser;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
new-instance v0, Lcom/discord/models/domain/ModelLibraryApplication$Parser;
|
||
|
|
||
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelLibraryApplication$Parser;-><init>()V
|
||
|
|
||
|
sput-object v0, Lcom/discord/models/domain/ModelLibraryApplication$Parser;->INSTANCE:Lcom/discord/models/domain/ModelLibraryApplication$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/ModelLibraryApplication;
|
||
|
.locals 14
|
||
|
|
||
|
const-string v0, "reader"
|
||
|
|
||
|
invoke-static {p1, v0}, Lf/e/c/a/a;->M(Lcom/discord/models/domain/Model$JsonReader;Ljava/lang/String;)Lkotlin/jvm/internal/Ref$ObjectRef;
|
||
|
|
||
|
move-result-object v8
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
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 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, Lcom/discord/models/domain/ModelLibraryApplication$Parser$parse$1;
|
||
|
|
||
|
move-object v0, v13
|
||
|
|
||
|
move-object v1, v8
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move-object v3, v9
|
||
|
|
||
|
move-object v4, v10
|
||
|
|
||
|
move-object v5, v11
|
||
|
|
||
|
move-object v6, v12
|
||
|
|
||
|
invoke-direct/range {v0 .. v6}, Lcom/discord/models/domain/ModelLibraryApplication$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;)V
|
||
|
|
||
|
invoke-virtual {p1, v13}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
||
|
|
||
|
new-instance v13, Lcom/discord/models/domain/ModelLibraryApplication;
|
||
|
|
||
|
iget-object v0, v8, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
check-cast v1, Lcom/discord/models/domain/ModelApplication;
|
||
|
|
||
|
invoke-static {v1}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||
|
|
||
|
iget-object v0, v9, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const-string v0, ""
|
||
|
|
||
|
:goto_0
|
||
|
move-object v2, v0
|
||
|
|
||
|
iget-object v0, v10, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Ljava/lang/Long;
|
||
|
|
||
|
const-wide/16 v3, 0x0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||
|
|
||
|
move-result-wide v5
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move-wide v5, v3
|
||
|
|
||
|
:goto_1
|
||
|
iget-object v0, v11, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Ljava/lang/Integer;
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
move v7, v0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_2
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
:goto_2
|
||
|
iget-object v0, v12, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Ljava/lang/Long;
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||
|
|
||
|
move-result-wide v3
|
||
|
|
||
|
:cond_3
|
||
|
move-wide v8, v3
|
||
|
|
||
|
move-object v0, v13
|
||
|
|
||
|
move-wide v3, v5
|
||
|
|
||
|
move v5, v7
|
||
|
|
||
|
move-wide v6, v8
|
||
|
|
||
|
invoke-direct/range {v0 .. v7}, Lcom/discord/models/domain/ModelLibraryApplication;-><init>(Lcom/discord/models/domain/ModelApplication;Ljava/lang/String;JIJ)V
|
||
|
|
||
|
return-object v13
|
||
|
.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/ModelLibraryApplication$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelLibraryApplication;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|