apkfuckery/com.discord/smali_classes2/rx/a/g.smali
2019-07-24 13:27:29 +02:00

59 lines
1.2 KiB
Smali

.class public final Lrx/a/g;
.super Ljava/lang/RuntimeException;
.source "OnErrorThrowable.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lrx/a/g$a;
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x7e77a2d646dfd3eL
# instance fields
.field private final hasValue:Z
.field private final value:Ljava/lang/Object;
# direct methods
.method public static a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
.locals 2
if-nez p0, :cond_0
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
:cond_0
invoke-static {p0}, Lrx/a/b;->J(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-result-object v0
instance-of v1, v0, Lrx/a/g$a;
if-eqz v1, :cond_1
check-cast v0, Lrx/a/g$a;
iget-object v0, v0, Lrx/a/g$a;->value:Ljava/lang/Object;
if-ne v0, p1, :cond_1
return-object p0
:cond_1
new-instance v0, Lrx/a/g$a;
invoke-direct {v0, p1}, Lrx/a/g$a;-><init>(Ljava/lang/Object;)V
invoke-static {p0, v0}, Lrx/a/b;->f(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
return-object p0
.end method