169 lines
5 KiB
Smali
169 lines
5 KiB
Smali
.class public final Lcom/discord/models/domain/ModelApplication$ThirdPartySku$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$ThirdPartySku;
|
|
.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$ThirdPartySku;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
const/4 v0, 0x1
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v1, Ly/u/b/m;
|
|
|
|
const-class v2, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser;
|
|
|
|
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "id"
|
|
|
|
const-string v4, "<v#0>"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Ly/u/b/m;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v2, Ly/u/b/x;->a:Ly/u/b/y;
|
|
|
|
invoke-virtual {v2, v1}, Ly/u/b/y;->mutableProperty0(Ly/u/b/l;)Lkotlin/reflect/KMutableProperty0;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser;
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser;->INSTANCE:Lcom/discord/models/domain/ModelApplication$ThirdPartySku$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$ThirdPartySku;
|
|
.locals 12
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v7, Ly/v/a;
|
|
|
|
invoke-direct {v7}, Ly/v/a;-><init>()V
|
|
|
|
sget-object v1, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v8, v1, v2
|
|
|
|
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, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser$parse$1;
|
|
|
|
move-object v1, v11
|
|
|
|
move-object v2, v7
|
|
|
|
move-object v3, v8
|
|
|
|
move-object v4, p1
|
|
|
|
move-object v5, v9
|
|
|
|
move-object v6, v10
|
|
|
|
invoke-direct/range {v1 .. v6}, Lcom/discord/models/domain/ModelApplication$ThirdPartySku$Parser$parse$1;-><init>(Lkotlin/properties/ReadWriteProperty;Lkotlin/reflect/KProperty;Lcom/discord/models/domain/Model$JsonReader;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;)V
|
|
|
|
invoke-virtual {p1, v11}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
|
|
|
new-instance p1, Lcom/discord/models/domain/ModelApplication$ThirdPartySku;
|
|
|
|
invoke-interface {v7, v0, v8}, Lkotlin/properties/ReadWriteProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
iget-object v1, v9, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
iget-object v2, v10, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
invoke-direct {p1, v0, v1, v2}, Lcom/discord/models/domain/ModelApplication$ThirdPartySku;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const-string p1, "reader"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
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$ThirdPartySku$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelApplication$ThirdPartySku;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|