2019-07-24 11:27:29 +00:00
|
|
|
.class final Lcom/discord/gateway/GatewayDiscovery$Cache$setGatewayUrl$1;
|
2019-10-09 23:16:36 +00:00
|
|
|
.super Lkotlin/jvm/internal/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
.source "GatewayDiscovery.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/gateway/GatewayDiscovery$Cache;->setGatewayUrl(Ljava/lang/String;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"Lkotlin/jvm/internal/m;",
|
2019-07-24 11:27:29 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Landroid/content/SharedPreferences$Editor;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic $gatewayUrl:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/gateway/GatewayDiscovery$Cache$setGatewayUrl$1;->$gatewayUrl:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Landroid/content/SharedPreferences$Editor;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/gateway/GatewayDiscovery$Cache$setGatewayUrl$1;->invoke(Landroid/content/SharedPreferences$Editor;)V
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
sget-object p1, Lkotlin/Unit;->bgo:Lkotlin/Unit;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke(Landroid/content/SharedPreferences$Editor;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "it"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/gateway/GatewayDiscovery$Cache$setGatewayUrl$1;->$gatewayUrl:Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v1, "GATEWAY_URL_CACHE_KEY"
|
|
|
|
|
|
|
|
invoke-interface {p1, v1, v0}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|