89 lines
2.1 KiB
Smali
89 lines
2.1 KiB
Smali
.class public final Lcom/discord/app/AppLog$Elapsed;
|
|
.super Ljava/lang/Object;
|
|
.source "AppLog.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/app/AppLog;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Elapsed"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:J
|
|
|
|
.field public final b:Lkotlin/Lazy;
|
|
|
|
.field public final c:Lkotlin/Lazy;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/utilities/time/Clock;)V
|
|
.locals 2
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-interface {p1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/discord/app/AppLog$Elapsed;->a:J
|
|
|
|
new-instance v0, Lcom/discord/app/AppLog$Elapsed$a;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/app/AppLog$Elapsed$a;-><init>(Lcom/discord/app/AppLog$Elapsed;Lcom/discord/utilities/time/Clock;)V
|
|
|
|
invoke-static {v0}, Lf/i/a/b/i1/e;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/app/AppLog$Elapsed;->b:Lkotlin/Lazy;
|
|
|
|
new-instance p1, Lcom/discord/app/AppLog$Elapsed$b;
|
|
|
|
invoke-direct {p1, p0}, Lcom/discord/app/AppLog$Elapsed$b;-><init>(Lcom/discord/app/AppLog$Elapsed;)V
|
|
|
|
invoke-static {p1}, Lf/i/a/b/i1/e;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/app/AppLog$Elapsed;->c:Lkotlin/Lazy;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "clock"
|
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()F
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/app/AppLog$Elapsed;->c:Lkotlin/Lazy;
|
|
|
|
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|