72 lines
1.8 KiB
Smali
72 lines
1.8 KiB
Smali
.class public final Lcom/discord/app/AppLog$Elapsed$a;
|
|
.super Li0/n/c/i;
|
|
.source "AppLog.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/app/AppLog$Elapsed;-><init>(Lcom/discord/utilities/time/Clock;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Li0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Ljava/lang/Long;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $clock:Lcom/discord/utilities/time/Clock;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/app/AppLog$Elapsed;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/app/AppLog$Elapsed;Lcom/discord/utilities/time/Clock;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/app/AppLog$Elapsed$a;->this$0:Lcom/discord/app/AppLog$Elapsed;
|
|
|
|
iput-object p2, p0, Lcom/discord/app/AppLog$Elapsed$a;->$clock:Lcom/discord/utilities/time/Clock;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Li0/n/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public invoke()Ljava/lang/Object;
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/app/AppLog$Elapsed$a;->$clock:Lcom/discord/utilities/time/Clock;
|
|
|
|
invoke-interface {v0}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-object v2, p0, Lcom/discord/app/AppLog$Elapsed$a;->this$0:Lcom/discord/app/AppLog$Elapsed;
|
|
|
|
iget-wide v2, v2, Lcom/discord/app/AppLog$Elapsed;->a:J
|
|
|
|
sub-long/2addr v0, v2
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|