b$d.smali
.class public final Lcom/singbox/component/storage/b/b$d;
.super Lcom/singbox/component/storage/b/b$a;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/singbox/component/storage/b/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "d"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/util/Set<",
"+",
"Ljava/lang/String;",
">;>",
"Lcom/singbox/component/storage/b/b$a<",
"TT;>;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/singbox/component/storage/b/b;
.field private final b:Ljava/lang/String;
.field private final c:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/singbox/component/storage/b/b;Ljava/lang/String;Ljava/util/Set;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"TT;)V"
}
.end annotation
const-string v0, "key"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "default"
invoke-static {p3, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 65
iput-object p1, p0, Lcom/singbox/component/storage/b/b$d;->a:Lcom/singbox/component/storage/b/b;
invoke-direct {p0, p2, p3}, Lcom/singbox/component/storage/b/b$a;-><init>(Ljava/lang/String;Ljava/lang/Object;)V
iput-object p2, p0, Lcom/singbox/component/storage/b/b$d;->b:Ljava/lang/String;
iput-object p3, p0, Lcom/singbox/component/storage/b/b$d;->c:Ljava/util/Set;
return-void
.end method
.method private b()Ljava/util/Set;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.line 67
iget-object v0, p0, Lcom/singbox/component/storage/b/b$d;->a:Lcom/singbox/component/storage/b/b;
.line 1010
iget-object v0, v0, Lcom/singbox/component/storage/b/b;->j:Lkotlin/f/a/a;
.line 67
invoke-interface {v0}, Lkotlin/f/a/a;->invoke()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
.line 69
:try_start_a
iget-object v1, p0, Lcom/singbox/component/storage/b/b$d;->b:Ljava/lang/String;
iget-object v2, p0, Lcom/singbox/component/storage/b/b$d;->c:Ljava/util/Set;
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getStringSet(Ljava/lang/String;Ljava/util/Set;)Ljava/util/Set;
move-result-object v0
if-eqz v0, :cond_15
return-object v0
:cond_15
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type T"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_1d
.catch Ljava/lang/ClassCastException; {:try_start_a .. :try_end_1d} :catch_1d
.line 1084
:catch_1d
iget-object v0, p0, Lcom/singbox/component/storage/b/b$d;->a:Lcom/singbox/component/storage/b/b;
.line 2010
iget-object v0, v0, Lcom/singbox/component/storage/b/b;->j:Lkotlin/f/a/a;
.line 1084
invoke-interface {v0}, Lkotlin/f/a/a;->invoke()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
.line 1130
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
const-string v1, "editor"
.line 1131
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 1085
iget-object v1, p0, Lcom/singbox/component/storage/b/b$d;->b:Ljava/lang/String;
invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
.line 1135
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
.line 73
iget-object v0, p0, Lcom/singbox/component/storage/b/b$d;->c:Ljava/util/Set;
return-object v0
.end method
# virtual methods
.method public final synthetic a()Ljava/lang/Object;
.registers 2
.line 65
invoke-direct {p0}, Lcom/singbox/component/storage/b/b$d;->b()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public final synthetic a(Ljava/lang/Object;)V
.registers 4
.line 65
check-cast p1, Ljava/util/Set;
const-string v0, "value"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 2078
iget-object v0, p0, Lcom/singbox/component/storage/b/b$d;->a:Lcom/singbox/component/storage/b/b;
.line 3010
iget-object v0, v0, Lcom/singbox/component/storage/b/b;->j:Lkotlin/f/a/a;
.line 2078
invoke-interface {v0}, Lkotlin/f/a/a;->invoke()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
.line 2119
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
const-string v1, "editor"
.line 2120
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 2079
iget-object v1, p0, Lcom/singbox/component/storage/b/b$d;->b:Ljava/lang/String;
invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putStringSet(Ljava/lang/String;Ljava/util/Set;)Landroid/content/SharedPreferences$Editor;
.line 2124
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
return-void
.end method