166 lines
4.4 KiB
Smali
166 lines
4.4 KiB
Smali
.class public final Lcom/discord/models/domain/ModelReadState$Parser;
|
|
.super Ljava/lang/Object;
|
|
.source "ModelReadState.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/models/domain/Model$Parser;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/models/domain/ModelReadState;
|
|
.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/ModelReadState;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelReadState$Parser;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelReadState$Parser;
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelReadState$Parser;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelReadState$Parser;->INSTANCE:Lcom/discord/models/domain/ModelReadState$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/ModelReadState;
|
|
.locals 25
|
|
|
|
move-object/from16 v7, p1
|
|
|
|
if-eqz v7, :cond_0
|
|
|
|
new-instance v8, Lkotlin/jvm/internal/Ref$IntRef;
|
|
|
|
invoke-direct {v8}, Lkotlin/jvm/internal/Ref$IntRef;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, v8, Lkotlin/jvm/internal/Ref$IntRef;->element:I
|
|
|
|
new-instance v9, Lkotlin/jvm/internal/Ref$LongRef;
|
|
|
|
invoke-direct {v9}, Lkotlin/jvm/internal/Ref$LongRef;-><init>()V
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
iput-wide v0, v9, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
new-instance v10, Lkotlin/jvm/internal/Ref$LongRef;
|
|
|
|
invoke-direct {v10}, Lkotlin/jvm/internal/Ref$LongRef;-><init>()V
|
|
|
|
iput-wide v0, v10, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
new-instance v11, Lkotlin/jvm/internal/Ref$LongRef;
|
|
|
|
invoke-direct {v11}, Lkotlin/jvm/internal/Ref$LongRef;-><init>()V
|
|
|
|
iput-wide v0, v11, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
new-instance v12, Lkotlin/jvm/internal/Ref$LongRef;
|
|
|
|
invoke-direct {v12}, Lkotlin/jvm/internal/Ref$LongRef;-><init>()V
|
|
|
|
iput-wide v0, v12, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
new-instance v13, Lcom/discord/models/domain/ModelReadState$Parser$parse$1;
|
|
|
|
move-object v0, v13
|
|
|
|
move-object v1, v11
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
move-object v3, v8
|
|
|
|
move-object v4, v9
|
|
|
|
move-object v5, v10
|
|
|
|
move-object v6, v12
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/discord/models/domain/ModelReadState$Parser$parse$1;-><init>(Lkotlin/jvm/internal/Ref$LongRef;Lcom/discord/models/domain/Model$JsonReader;Lkotlin/jvm/internal/Ref$IntRef;Lkotlin/jvm/internal/Ref$LongRef;Lkotlin/jvm/internal/Ref$LongRef;Lkotlin/jvm/internal/Ref$LongRef;)V
|
|
|
|
invoke-virtual {v7, v13}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelReadState;
|
|
|
|
iget-wide v1, v11, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
iget-wide v3, v12, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
iget-wide v5, v9, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
iget-wide v9, v10, Lkotlin/jvm/internal/Ref$LongRef;->element:J
|
|
|
|
iget v7, v8, Lkotlin/jvm/internal/Ref$IntRef;->element:I
|
|
|
|
const/16 v24, 0x0
|
|
|
|
move-object v14, v0
|
|
|
|
move-wide v15, v1
|
|
|
|
move-wide/from16 v17, v3
|
|
|
|
move-wide/from16 v19, v5
|
|
|
|
move-wide/from16 v21, v9
|
|
|
|
move/from16 v23, v7
|
|
|
|
invoke-direct/range {v14 .. v24}, Lcom/discord/models/domain/ModelReadState;-><init>(JJJJILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string v0, "reader"
|
|
|
|
invoke-static {v0}, Lx/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/ModelReadState$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelReadState;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|