KeyedWeakReference.smali

.class public final Lleakcanary/KeyedWeakReference;
.super Ljava/lang/ref/WeakReference;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lleakcanary/KeyedWeakReference$Companion;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/ref/WeakReference<",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation


# static fields
.field public static final Companion:Lleakcanary/KeyedWeakReference$Companion;

.field private static volatile heapDumpUptimeMillis:J


# instance fields
.field private final description:Ljava/lang/String;

.field private final key:Ljava/lang/String;

.field private volatile retainedUptimeMillis:J

.field private final watchUptimeMillis:J


# direct methods
.method static constructor <clinit>()V
    .registers 2

    new-instance v0, Lleakcanary/KeyedWeakReference$Companion;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lleakcanary/KeyedWeakReference$Companion;-><init>(Lkotlin/f/b/j;)V

    sput-object v0, Lleakcanary/KeyedWeakReference;->Companion:Lleakcanary/KeyedWeakReference$Companion;

    return-void
.end method

.method public constructor <init>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;JLjava/lang/ref/ReferenceQueue;)V
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "J",
            "Ljava/lang/ref/ReferenceQueue<",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    const-string v0, "referent"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "key"

    invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "description"

    invoke-static {p3, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "referenceQueue"

    invoke-static {p6, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 36
    invoke-direct {p0, p1, p6}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V

    iput-object p2, p0, Lleakcanary/KeyedWeakReference;->key:Ljava/lang/String;

    iput-object p3, p0, Lleakcanary/KeyedWeakReference;->description:Ljava/lang/String;

    iput-wide p4, p0, Lleakcanary/KeyedWeakReference;->watchUptimeMillis:J

    const-wide/16 p1, -0x1

    .line 44
    iput-wide p1, p0, Lleakcanary/KeyedWeakReference;->retainedUptimeMillis:J

    return-void
.end method

.method public static final synthetic access$getHeapDumpUptimeMillis$cp()J
    .registers 2

    .line 30
    sget-wide v0, Lleakcanary/KeyedWeakReference;->heapDumpUptimeMillis:J

    return-wide v0
.end method

.method public static final synthetic access$setHeapDumpUptimeMillis$cp(J)V
    .registers 2

    .line 30
    sput-wide p0, Lleakcanary/KeyedWeakReference;->heapDumpUptimeMillis:J

    return-void
.end method

.method public static final getHeapDumpUptimeMillis()J
    .registers 2

    sget-wide v0, Lleakcanary/KeyedWeakReference;->heapDumpUptimeMillis:J

    return-wide v0
.end method

.method public static final setHeapDumpUptimeMillis(J)V
    .registers 2

    sput-wide p0, Lleakcanary/KeyedWeakReference;->heapDumpUptimeMillis:J

    return-void
.end method


# virtual methods
.method public final getDescription()Ljava/lang/String;
    .registers 2

    .line 33
    iget-object v0, p0, Lleakcanary/KeyedWeakReference;->description:Ljava/lang/String;

    return-object v0
.end method

.method public final getKey()Ljava/lang/String;
    .registers 2

    .line 32
    iget-object v0, p0, Lleakcanary/KeyedWeakReference;->key:Ljava/lang/String;

    return-object v0
.end method

.method public final getRetainedUptimeMillis()J
    .registers 3

    .line 44
    iget-wide v0, p0, Lleakcanary/KeyedWeakReference;->retainedUptimeMillis:J

    return-wide v0
.end method

.method public final getWatchUptimeMillis()J
    .registers 3

    .line 34
    iget-wide v0, p0, Lleakcanary/KeyedWeakReference;->watchUptimeMillis:J

    return-wide v0
.end method

.method public final setRetainedUptimeMillis(J)V
    .registers 3

    .line 44
    iput-wide p1, p0, Lleakcanary/KeyedWeakReference;->retainedUptimeMillis:J

    return-void
.end method