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

96 lines
2.5 KiB
Smali

.class final Lcom/google/common/cache/CacheLoader$SupplierToCacheLoader;
.super Lcom/google/common/cache/CacheLoader;
.source "CacheLoader.java"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/cache/CacheLoader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "SupplierToCacheLoader"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/cache/CacheLoader<",
"Ljava/lang/Object;",
"TV;>;",
"Ljava/io/Serializable;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J
# instance fields
.field private final computingSupplier:Lcom/google/common/base/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/base/Supplier<",
"TV;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/google/common/base/Supplier;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/base/Supplier<",
"TV;>;)V"
}
.end annotation
.line 222
invoke-direct {p0}, Lcom/google/common/cache/CacheLoader;-><init>()V
.line 223
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/google/common/base/Supplier;
iput-object p1, p0, Lcom/google/common/cache/CacheLoader$SupplierToCacheLoader;->computingSupplier:Lcom/google/common/base/Supplier;
return-void
.end method
# virtual methods
.method public load(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")TV;"
}
.end annotation
.line 228
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
iget-object p0, p0, Lcom/google/common/cache/CacheLoader$SupplierToCacheLoader;->computingSupplier:Lcom/google/common/base/Supplier;
.line 229
invoke-interface {p0}, Lcom/google/common/base/Supplier;->get()Ljava/lang/Object;
move-result-object p0
return-object p0
.end method