apkfuckery/com.discord/smali/com/discord/stores/StoreUserRelationships$requ...

103 lines
3.1 KiB
Smali

.class public final Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;
.super Lc0/n/c/k;
.source "StoreUserRelationships.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;->invoke(Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lc0/n/c/k;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $allRelationships:Ljava/util/List;
.field public final synthetic this$0:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;Ljava/util/List;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->this$0:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
iput-object p2, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->$allRelationships:Ljava/util/List;
const/4 p1, 0x0
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->invoke()V
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object v0
.end method
.method public final invoke()V
.locals 3
iget-object v0, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->$allRelationships:Ljava/util/List;
const-string v1, "allRelationships"
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2$1;->this$0:Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;
iget-object v1, v1, Lcom/discord/stores/StoreUserRelationships$requestAllRelationships$2;->this$0:Lcom/discord/stores/StoreUserRelationships;
invoke-static {v1}, Lcom/discord/stores/StoreUserRelationships;->access$getStream$p(Lcom/discord/stores/StoreUserRelationships;)Lcom/discord/stores/StoreStream;
move-result-object v1
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/discord/models/domain/ModelUserRelationship;
invoke-virtual {v1, v2}, Lcom/discord/stores/StoreStream;->handleRelationshipAdd(Lcom/discord/models/domain/ModelUserRelationship;)V
goto :goto_0
:cond_0
return-void
.end method