2022-06-10 21:38:30 +09:00

258 lines
5.2 KiB
Smali

.class public final Lfi/r;
.super Ljava/lang/Object;
.source "SafeMaybeObserver.java"
# interfaces
.implements Lai/y;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lai/y<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lai/y;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/y<",
"-TT;>;"
}
.end annotation
.end field
.field public b:Z
# direct methods
.method public constructor <init>(Lai/y;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"downstream"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/y<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lfi/r;->a:Lai/y;
return-void
.end method
# virtual methods
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lfi/r;->b:Z
if-nez v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lfi/r;->a:Lai/y;
invoke-interface {v0}, Lai/y;->onComplete()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 4
.param p1 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
iget-boolean v0, p0, Lfi/r;->b:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
.line 3
:cond_0
:try_start_0
iget-object v0, p0, Lfi/r;->a:Lai/y;
invoke-interface {v0, p1}, Lai/y;->onError(Ljava/lang/Throwable;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
new-instance v1, Lio/reactivex/rxjava3/exceptions/CompositeException;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/rxjava3/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 2
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lfi/r;->a:Lai/y;
invoke-interface {v0, p1}, Lai/y;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 2
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
const/4 v1, 0x1
.line 3
iput-boolean v1, p0, Lfi/r;->b:Z
.line 4
invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 5
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 1
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lfi/r;->b:Z
if-nez v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lfi/r;->a:Lai/y;
invoke-interface {v0, p1}, Lai/y;->onSuccess(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method