Rabbit-R1/android (non root)/smali/smali_classes2/com/google/common/cache/LocalCache$WeightedSoftValueReference.smali
2024-05-21 17:08:36 -04:00

86 lines
2.6 KiB
Smali

.class final Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;
.super Lcom/google/common/cache/LocalCache$SoftValueReference;
.source "LocalCache.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/cache/LocalCache;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "WeightedSoftValueReference"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/cache/LocalCache$SoftValueReference<",
"TK;TV;>;"
}
.end annotation
# instance fields
.field final weight:I
# direct methods
.method constructor <init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/ref/ReferenceQueue<",
"TV;>;TV;",
"Lcom/google/common/cache/ReferenceEntry<",
"TK;TV;>;I)V"
}
.end annotation
.line 1614
invoke-direct {p0, p1, p2, p3}, Lcom/google/common/cache/LocalCache$SoftValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;)V
iput p4, p0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;->weight:I
return-void
.end method
# virtual methods
.method public copyFor(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;)Lcom/google/common/cache/LocalCache$ValueReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/ref/ReferenceQueue<",
"TV;>;TV;",
"Lcom/google/common/cache/ReferenceEntry<",
"TK;TV;>;)",
"Lcom/google/common/cache/LocalCache$ValueReference<",
"TK;TV;>;"
}
.end annotation
.line 1626
new-instance v0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;
iget p0, p0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;->weight:I
invoke-direct {v0, p1, p2, p3, p0}, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;I)V
return-object v0
.end method
.method public getWeight()I
.locals 0
iget p0, p0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;->weight:I
return p0
.end method