124 lines
3.7 KiB
Smali
124 lines
3.7 KiB
Smali
.class public final Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;
|
|
.super Lcom/discord/stores/updates/ObservationDeck$Observer;
|
|
.source "ObservationDeck.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/updates/ObservationDeck;->connect([Lcom/discord/stores/updates/ObservationDeck$UpdateSource;ZLkotlin/jvm/functions/Function0;)Lcom/discord/stores/updates/ObservationDeck$Observer;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $onUpdate:Lkotlin/jvm/functions/Function0;
|
|
|
|
.field public final synthetic $updateSources:[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
.field public final observingUpdates:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/stores/updates/ObservationDeck$UpdateSource;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public onUpdate:Lkotlin/jvm/functions/Function0;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([Lcom/discord/stores/updates/ObservationDeck$UpdateSource;Lkotlin/jvm/functions/Function0;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;->$updateSources:[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;->$onUpdate:Lkotlin/jvm/functions/Function0;
|
|
|
|
invoke-direct {p0}, Lcom/discord/stores/updates/ObservationDeck$Observer;-><init>()V
|
|
|
|
invoke-static {p1}, Lf/n/a/j/a;->toSet([Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;->observingUpdates:Ljava/util/Set;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;->onUpdate:Lkotlin/jvm/functions/Function0;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getObservingUpdates()Ljava/util/Set;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/stores/updates/ObservationDeck$UpdateSource;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;->observingUpdates:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getOnUpdate()Lkotlin/jvm/functions/Function0;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;->onUpdate:Lkotlin/jvm/functions/Function0;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public setOnUpdate(Lkotlin/jvm/functions/Function0;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/updates/ObservationDeck$connect$observer$1;->onUpdate:Lkotlin/jvm/functions/Function0;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "<set-?>"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|