177 lines
4.1 KiB
Smali
177 lines
4.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
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic d:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:J
|
|
|
|
.field public final b:Lkotlin/Lazy;
|
|
|
|
.field public final c:Lkotlin/Lazy;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
const-class v0, Lcom/discord/app/AppLog$Elapsed;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v1, v1, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v2, Lt/u/b/u;
|
|
|
|
invoke-static {v0}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "milliseconds"
|
|
|
|
const-string v5, "getMilliseconds()J"
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
const/4 v2, 0x1
|
|
|
|
new-instance v3, Lt/u/b/u;
|
|
|
|
invoke-static {v0}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v4, "seconds"
|
|
|
|
const-string v5, "getSeconds()F"
|
|
|
|
invoke-direct {v3, v0, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
sget-object v0, Lt/u/b/w;->a:Lt/u/b/x;
|
|
|
|
invoke-virtual {v0, v3}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
sput-object v1, Lcom/discord/app/AppLog$Elapsed;->d:[Lkotlin/reflect/KProperty;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.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}, Le/k/a/b/e/p/g;->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}, Le/k/a/b/e/p/g;->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}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()J
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/app/AppLog$Elapsed;->b:Lkotlin/Lazy;
|
|
|
|
sget-object v1, Lcom/discord/app/AppLog$Elapsed;->d:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
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;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final b()F
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/app/AppLog$Elapsed;->c:Lkotlin/Lazy;
|
|
|
|
sget-object v1, Lcom/discord/app/AppLog$Elapsed;->d:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
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
|