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

156 lines
3.4 KiB
Smali

.class Lcom/google/common/cache/LocalCache$StrongValueReference;
.super Ljava/lang/Object;
.source "LocalCache.java"
# interfaces
.implements Lcom/google/common/cache/LocalCache$ValueReference;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/cache/LocalCache;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "StrongValueReference"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lcom/google/common/cache/LocalCache$ValueReference<",
"TK;TV;>;"
}
.end annotation
# instance fields
.field final referent:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TV;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
.line 1542
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/common/cache/LocalCache$StrongValueReference;->referent:Ljava/lang/Object;
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 0
.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
return-object p0
.end method
.method public get()Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
iget-object p0, p0, Lcom/google/common/cache/LocalCache$StrongValueReference;->referent:Ljava/lang/Object;
return-object p0
.end method
.method public getEntry()Lcom/google/common/cache/ReferenceEntry;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/cache/ReferenceEntry<",
"TK;TV;>;"
}
.end annotation
const/4 p0, 0x0
return-object p0
.end method
.method public getWeight()I
.locals 0
const/4 p0, 0x1
return p0
.end method
.method public isActive()Z
.locals 0
const/4 p0, 0x1
return p0
.end method
.method public isLoading()Z
.locals 0
const/4 p0, 0x0
return p0
.end method
.method public notifyNewValue(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
return-void
.end method
.method public waitForValue()Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
.line 1579
invoke-virtual {p0}, Lcom/google/common/cache/LocalCache$StrongValueReference;->get()Ljava/lang/Object;
move-result-object p0
return-object p0
.end method