316 lines
8.5 KiB
Smali
316 lines
8.5 KiB
Smali
.class public final Lcom/discord/models/domain/ModelApplication$Parser;
|
|
.super Ljava/lang/Object;
|
|
.source "ModelApplication.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/models/domain/Model$Parser;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/models/domain/ModelApplication;
|
|
.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/ModelApplication;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelApplication$Parser;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
const-class v0, Lcom/discord/models/domain/ModelApplication$Parser;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v1, v1, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v2, Lm/u/b/m;
|
|
|
|
invoke-static {v0}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "id"
|
|
|
|
const-string v5, "<v#0>"
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lm/u/b/m;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v3, Lm/u/b/w;->a:Lm/u/b/x;
|
|
|
|
invoke-virtual {v3, v2}, Lm/u/b/x;->mutableProperty0(Lm/u/b/l;)Lkotlin/reflect/KMutableProperty0;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
const/4 v2, 0x1
|
|
|
|
new-instance v3, Lm/u/b/m;
|
|
|
|
invoke-static {v0}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v4, "name"
|
|
|
|
const-string v5, "<v#1>"
|
|
|
|
invoke-direct {v3, v0, v4, v5}, Lm/u/b/m;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v0, Lm/u/b/w;->a:Lm/u/b/x;
|
|
|
|
invoke-virtual {v0, v3}, Lm/u/b/x;->mutableProperty0(Lm/u/b/l;)Lkotlin/reflect/KMutableProperty0;
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
sput-object v1, Lcom/discord/models/domain/ModelApplication$Parser;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelApplication$Parser;
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelApplication$Parser;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelApplication$Parser;->INSTANCE:Lcom/discord/models/domain/ModelApplication$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/ModelApplication;
|
|
.locals 34
|
|
|
|
move-object/from16 v12, p1
|
|
|
|
const/4 v13, 0x0
|
|
|
|
if-eqz v12, :cond_0
|
|
|
|
new-instance v14, Lm/v/a;
|
|
|
|
invoke-direct {v14}, Lm/v/a;-><init>()V
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelApplication$Parser;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aget-object v15, v0, v1
|
|
|
|
new-instance v11, Lm/v/a;
|
|
|
|
invoke-direct {v11}, Lm/v/a;-><init>()V
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelApplication$Parser;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
aget-object v10, v0, v1
|
|
|
|
new-instance v9, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
invoke-direct {v9}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
iput-object v13, v9, 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 v13, v8, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
new-instance v7, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
invoke-direct {v7}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
iput-object v13, v7, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
new-instance v6, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
invoke-direct {v6}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
iput-object v13, v6, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
new-instance v5, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
invoke-direct {v5}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
iput-object v13, v5, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
new-instance v4, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
invoke-direct {v4}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
iput-object v13, v4, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
new-instance v3, Lcom/discord/models/domain/ModelApplication$Parser$parse$1;
|
|
|
|
move-object v0, v3
|
|
|
|
move-object v1, v6
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
move-object v13, v3
|
|
|
|
move-object v3, v14
|
|
|
|
move-object/from16 v16, v4
|
|
|
|
move-object v4, v15
|
|
|
|
move-object/from16 v17, v5
|
|
|
|
move-object v5, v11
|
|
|
|
move-object/from16 v18, v6
|
|
|
|
move-object v6, v10
|
|
|
|
move-object/from16 v19, v7
|
|
|
|
move-object v7, v9
|
|
|
|
move-object/from16 v20, v8
|
|
|
|
move-object/from16 v21, v9
|
|
|
|
move-object/from16 v9, v19
|
|
|
|
move-object/from16 v22, v10
|
|
|
|
move-object/from16 v10, v17
|
|
|
|
move-object/from16 v23, v11
|
|
|
|
move-object/from16 v11, v16
|
|
|
|
invoke-direct/range {v0 .. v11}, Lcom/discord/models/domain/ModelApplication$Parser$parse$1;-><init>(Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/Model$JsonReader;Lkotlin/properties/ReadWriteProperty;Lkotlin/reflect/KProperty;Lkotlin/properties/ReadWriteProperty;Lkotlin/reflect/KProperty;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
|
|
|
|
invoke-virtual {v12, v13}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelApplication;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {v14, v1, v15}, Lkotlin/properties/ReadWriteProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Number;->longValue()J
|
|
|
|
move-result-wide v25
|
|
|
|
move-object/from16 v2, v22
|
|
|
|
move-object/from16 v3, v23
|
|
|
|
invoke-interface {v3, v1, v2}, Lkotlin/properties/ReadWriteProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
move-object/from16 v27, v1
|
|
|
|
check-cast v27, Ljava/lang/String;
|
|
|
|
move-object/from16 v1, v21
|
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
move-object/from16 v28, v1
|
|
|
|
check-cast v28, Ljava/lang/String;
|
|
|
|
move-object/from16 v1, v20
|
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
move-object/from16 v29, v1
|
|
|
|
check-cast v29, Ljava/lang/String;
|
|
|
|
move-object/from16 v1, v19
|
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
move-object/from16 v30, v1
|
|
|
|
check-cast v30, Ljava/lang/String;
|
|
|
|
move-object/from16 v1, v18
|
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
move-object/from16 v31, v1
|
|
|
|
check-cast v31, Ljava/lang/String;
|
|
|
|
move-object/from16 v1, v17
|
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
move-object/from16 v32, v1
|
|
|
|
check-cast v32, Ljava/util/List;
|
|
|
|
move-object/from16 v1, v16
|
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
move-object/from16 v33, v1
|
|
|
|
check-cast v33, Ljava/lang/String;
|
|
|
|
move-object/from16 v24, v0
|
|
|
|
invoke-direct/range {v24 .. v33}, Lcom/discord/models/domain/ModelApplication;-><init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string v0, "reader"
|
|
|
|
invoke-static {v0}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
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/ModelApplication$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelApplication;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|