apkfuckery/com.discord/smali_classes2/l0/q/c$b.smali

183 lines
3.4 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public final Ll0/q/c$b;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
.source "SubjectSubscriptionManager.java"
# interfaces
2020-10-05 23:18:16 +00:00
.implements Ll0/g;
2020-07-08 16:44:49 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-10-05 23:18:16 +00:00
value = Ll0/q/c;
2020-07-08 16:44:49 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-10-05 23:18:16 +00:00
"Ll0/g<",
2020-07-08 16:44:49 +00:00
"TT;>;"
}
.end annotation
# instance fields
.field public final d:Lrx/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"-TT;>;"
}
.end annotation
.end field
.field public e:Z
.field public f:Z
.field public g:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field public h: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
2020-10-05 23:18:16 +00:00
iput-boolean v0, p0, Ll0/q/c$b;->e:Z
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Ll0/q/c$b;->d:Lrx/Subscriber;
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;)V
.locals 1
2020-10-05 23:18:16 +00:00
iget-boolean v0, p0, Ll0/q/c$b;->h:Z
2020-07-08 16:44:49 +00:00
if-nez v0, :cond_2
monitor-enter p0
const/4 v0, 0x0
:try_start_0
2020-10-05 23:18:16 +00:00
iput-boolean v0, p0, Ll0/q/c$b;->e:Z
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
iget-boolean v0, p0, Ll0/q/c$b;->f:Z
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_1
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/q/c$b;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
if-nez v0, :cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2020-10-05 23:18:16 +00:00
iput-object v0, p0, Ll0/q/c$b;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
:cond_0
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/q/c$b;->g:Ljava/util/List;
2020-07-08 16:44:49 +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
2020-10-05 23:18:16 +00:00
iput-boolean v0, p0, Ll0/q/c$b;->h:Z
2020-07-08 16:44:49 +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
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/q/c$b;->d:Lrx/Subscriber;
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v0, p1}, Ll0/l/a/h;->a(Ll0/g;Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public onCompleted()V
.locals 1
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/q/c$b;->d:Lrx/Subscriber;
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0}, Ll0/g;->onCompleted()V
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/q/c$b;->d:Lrx/Subscriber;
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0, p1}, Ll0/g;->onError(Ljava/lang/Throwable;)V
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/q/c$b;->d:Lrx/Subscriber;
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0, p1}, Ll0/g;->onNext(Ljava/lang/Object;)V
2020-07-08 16:44:49 +00:00
return-void
.end method