apkfuckery/com.discord/smali_classes2/rx/subjects/b$b.smali

196 lines
3.8 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.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
2019-12-04 22:43:03 +00:00
.field bZy:Z
.field cOj:Ljava/util/List;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
2019-12-04 22:43:03 +00:00
.field cOk:Z
2019-07-24 11:27:29 +00:00
.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
2019-12-04 22:43:03 +00:00
iput-boolean v0, p0, Lrx/subjects/b$b;->bZy:Z
2019-07-24 11:27:29 +00:00
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
2019-12-04 22:43:03 +00:00
.method final cD(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-04 22:43:03 +00:00
iget-boolean v0, p0, Lrx/subjects/b$b;->cOk:Z
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_2
monitor-enter p0
const/4 v0, 0x0
:try_start_0
2019-12-04 22:43:03 +00:00
iput-boolean v0, p0, Lrx/subjects/b$b;->bZy:Z
2019-07-24 11:27:29 +00:00
iget-boolean v0, p0, Lrx/subjects/b$b;->emitting:Z
if-eqz v0, :cond_1
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lrx/subjects/b$b;->cOj:Ljava/util/List;
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lrx/subjects/b$b;->cOj:Ljava/util/List;
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lrx/subjects/b$b;->cOj:Ljava/util/List;
2019-07-24 11:27:29 +00:00
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
2019-12-04 22:43:03 +00:00
iput-boolean v0, p0, Lrx/subjects/b$b;->cOk:Z
2019-07-24 11:27:29 +00:00
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