WeakValueHashMap$WeakValueRef.smali

.class Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;
.super Ljava/lang/ref/WeakReference;
.source "WeakValueHashMap.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lio/rong/imlib/common/WeakValueHashMap;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "WeakValueRef"
.end annotation


# instance fields
.field public key:Ljava/lang/Object;


# direct methods
.method private constructor <init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
    .registers 4

    .line 1
    invoke-direct {p0, p2, p3}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V

    .line 2
    iput-object p1, p0, Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;->key:Ljava/lang/Object;

    return-void
.end method

.method static synthetic access$000(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;
    .registers 3

    .line 1
    invoke-static {p0, p1, p2}, Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;->create(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;

    move-result-object p0

    return-object p0
.end method

.method private static create(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;
    .registers 4

    if-nez p1, :cond_4

    const/4 p0, 0x0

    return-object p0

    .line 1
    :cond_4
    new-instance v0, Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;

    invoke-direct {v0, p0, p1, p2}, Lio/rong/imlib/common/WeakValueHashMap$WeakValueRef;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V

    return-object v0
.end method