apkfuckery/com.discord/smali_classes2/rx/subjects/b$b.smali
2019-05-17 00:41:35 +02:00

195 lines
3.8 KiB
Smali

.class public final Lrx/subjects/b$b;
.super Ljava/lang/Object;
.source "SubjectSubscriptionManager.java"
# interfaces
.implements Lrx/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lrx/subjects/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1c
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/e<",
"TT;>;"
}
.end annotation
# instance fields
.field final actual:Lrx/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"-TT;>;"
}
.end annotation
.end field
.field bMD:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field bME:Z
.field bbB:Z
.field emitting:Z
# direct methods
.method public constructor <init>(Lrx/Subscriber;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
iput-boolean v0, p0, Lrx/subjects/b$b;->bbB:Z
iput-object p1, p0, Lrx/subjects/b$b;->actual:Lrx/Subscriber;
return-void
.end method
# virtual methods
.method accept(Ljava/lang/Object;)V
.locals 1
if-eqz p1, :cond_0
iget-object v0, p0, Lrx/subjects/b$b;->actual:Lrx/Subscriber;
invoke-static {v0, p1}, Lrx/internal/a/g;->a(Lrx/e;Ljava/lang/Object;)Z
:cond_0
return-void
.end method
.method final bN(Ljava/lang/Object;)V
.locals 1
iget-boolean v0, p0, Lrx/subjects/b$b;->bME:Z
if-nez v0, :cond_2
monitor-enter p0
const/4 v0, 0x0
:try_start_0
iput-boolean v0, p0, Lrx/subjects/b$b;->bbB:Z
iget-boolean v0, p0, Lrx/subjects/b$b;->emitting:Z
if-eqz v0, :cond_1
iget-object v0, p0, Lrx/subjects/b$b;->bMD:Ljava/util/List;
if-nez v0, :cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lrx/subjects/b$b;->bMD:Ljava/util/List;
:cond_0
iget-object v0, p0, Lrx/subjects/b$b;->bMD:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
monitor-exit p0
return-void
:cond_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v0, 0x1
iput-boolean v0, p0, Lrx/subjects/b$b;->bME:Z
goto :goto_0
:catchall_0
move-exception p1
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
:cond_2
:goto_0
iget-object v0, p0, Lrx/subjects/b$b;->actual:Lrx/Subscriber;
invoke-static {v0, p1}, Lrx/internal/a/g;->a(Lrx/e;Ljava/lang/Object;)Z
return-void
.end method
.method public final onCompleted()V
.locals 1
iget-object v0, p0, Lrx/subjects/b$b;->actual:Lrx/Subscriber;
invoke-virtual {v0}, Lrx/Subscriber;->onCompleted()V
return-void
.end method
.method public final onError(Ljava/lang/Throwable;)V
.locals 1
iget-object v0, p0, Lrx/subjects/b$b;->actual:Lrx/Subscriber;
invoke-virtual {v0, p1}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public final onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
iget-object v0, p0, Lrx/subjects/b$b;->actual:Lrx/Subscriber;
invoke-virtual {v0, p1}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
return-void
.end method