128 lines
3.7 KiB
Smali
128 lines
3.7 KiB
Smali
.class public final Lcom/discord/models/domain/ModelGuildHash$GuildHash$Parser;
|
|
.super Ljava/lang/Object;
|
|
.source "ModelGuildHash.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/models/domain/Model$Parser;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/models/domain/ModelGuildHash$GuildHash;
|
|
.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/ModelGuildHash$GuildHash;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelGuildHash$GuildHash$Parser;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelGuildHash$GuildHash$Parser;
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelGuildHash$GuildHash$Parser;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelGuildHash$GuildHash$Parser;->INSTANCE:Lcom/discord/models/domain/ModelGuildHash$GuildHash$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/ModelGuildHash$GuildHash;
|
|
.locals 5
|
|
|
|
const-string v0, "reader"
|
|
|
|
invoke-static {p1, v0}, Lf/e/b/a/a;->M(Lcom/discord/models/domain/Model$JsonReader;Ljava/lang/String;)Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, v0, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
new-instance v2, Lkotlin/jvm/internal/Ref$BooleanRef;
|
|
|
|
invoke-direct {v2}, Lkotlin/jvm/internal/Ref$BooleanRef;-><init>()V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
iput-boolean v3, v2, Lkotlin/jvm/internal/Ref$BooleanRef;->element:Z
|
|
|
|
new-instance v4, Lcom/discord/models/domain/ModelGuildHash$GuildHash$Parser$parse$1;
|
|
|
|
invoke-direct {v4, v0, p1, v2}, Lcom/discord/models/domain/ModelGuildHash$GuildHash$Parser$parse$1;-><init>(Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/Model$JsonReader;Lkotlin/jvm/internal/Ref$BooleanRef;)V
|
|
|
|
invoke-virtual {p1, v4}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
|
|
|
iget-object p1, v0, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-static {p1}, Lk0/t/k;->isBlank(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
:cond_0
|
|
const/4 v3, 0x1
|
|
|
|
:cond_1
|
|
if-eqz v3, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
new-instance v1, Lcom/discord/models/domain/ModelGuildHash$GuildHash;
|
|
|
|
iget-object p1, v0, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Lk0/n/c/i;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
iget-boolean v0, v2, Lkotlin/jvm/internal/Ref$BooleanRef;->element:Z
|
|
|
|
invoke-direct {v1, p1, v0}, Lcom/discord/models/domain/ModelGuildHash$GuildHash;-><init>(Ljava/lang/String;Z)V
|
|
|
|
:goto_0
|
|
return-object v1
|
|
.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/ModelGuildHash$GuildHash$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelGuildHash$GuildHash;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|