.class final Lcom/discord/gateway/GatewaySocket$discover$1; .super Lkotlin/jvm/internal/l; .source "GatewaySocket.kt" # interfaces .implements Lkotlin/jvm/functions/Function1; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/gateway/GatewaySocket;->discover()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lkotlin/jvm/internal/l;", "Lkotlin/jvm/functions/Function1<", "Ljava/lang/String;", "Lkotlin/Unit;", ">;" } .end annotation # instance fields .field final synthetic this$0:Lcom/discord/gateway/GatewaySocket; # direct methods .method constructor (Lcom/discord/gateway/GatewaySocket;)V .locals 0 iput-object p1, p0, Lcom/discord/gateway/GatewaySocket$discover$1;->this$0:Lcom/discord/gateway/GatewaySocket; const/4 p1, 0x1 invoke-direct {p0, p1}, Lkotlin/jvm/internal/l;->(I)V return-void .end method # virtual methods .method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 check-cast p1, Ljava/lang/String; invoke-virtual {p0, p1}, Lcom/discord/gateway/GatewaySocket$discover$1;->invoke(Ljava/lang/String;)V sget-object p1, Lkotlin/Unit;->bjF:Lkotlin/Unit; return-object p1 .end method .method public final invoke(Ljava/lang/String;)V .locals 2 const-string v0, "gatewayUrl" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Lcom/discord/gateway/GatewaySocket$discover$1;->this$0:Lcom/discord/gateway/GatewaySocket; invoke-static {v0}, Lcom/discord/gateway/GatewaySocket;->access$getGatewayUrlTransform$p(Lcom/discord/gateway/GatewaySocket;)Lkotlin/jvm/functions/Function1; move-result-object v1 if-eqz v1, :cond_1 invoke-interface {v1, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/lang/String; if-nez v1, :cond_0 goto :goto_0 :cond_0 move-object p1, v1 :cond_1 :goto_0 invoke-static {v0, p1}, Lcom/discord/gateway/GatewaySocket;->access$connect(Lcom/discord/gateway/GatewaySocket;Ljava/lang/String;)V return-void .end method