111 lines
3.2 KiB
Smali
111 lines
3.2 KiB
Smali
.class public final Lcom/discord/models/domain/ModelChannelUnreadUpdate$Parser;
|
|
.super Ljava/lang/Object;
|
|
.source "ModelChannelUnreadUpdate.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/models/domain/Model$Parser;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/models/domain/ModelChannelUnreadUpdate;
|
|
.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/ModelChannelUnreadUpdate;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelChannelUnreadUpdate$Parser;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelChannelUnreadUpdate$Parser;
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelChannelUnreadUpdate$Parser;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelChannelUnreadUpdate$Parser;->INSTANCE:Lcom/discord/models/domain/ModelChannelUnreadUpdate$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/ModelChannelUnreadUpdate;
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
new-instance v1, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
invoke-direct {v1}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
iput-object v0, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelChannelUnreadUpdate$Parser$parse$1;
|
|
|
|
invoke-direct {v2, v1, p1}, Lcom/discord/models/domain/ModelChannelUnreadUpdate$Parser$parse$1;-><init>(Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/Model$JsonReader;)V
|
|
|
|
invoke-virtual {p1, v2}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
|
|
|
new-instance p1, Lcom/discord/models/domain/ModelChannelUnreadUpdate;
|
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
check-cast v1, Ljava/util/List;
|
|
|
|
invoke-direct {p1, v1}, Lcom/discord/models/domain/ModelChannelUnreadUpdate;-><init>(Ljava/util/List;)V
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const-string p1, "channelReadStates"
|
|
|
|
invoke-static {p1}, Lm/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "reader"
|
|
|
|
invoke-static {p1}, Lm/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/ModelChannelUnreadUpdate$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelChannelUnreadUpdate;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|