apkfuckery/com.discord/smali_classes2/rx/a/g.smali

60 lines
1.2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lrx/a/g;
.super Ljava/lang/RuntimeException;
2019-02-04 20:29:01 +00:00
.source "OnErrorThrowable.java"
2019-02-04 20:08:30 +00:00
# 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
2019-02-04 20:32:01 +00:00
invoke-static {p0}, Lrx/a/b;->E(Ljava/lang/Throwable;)Ljava/lang/Throwable;
2019-02-04 20:08:30 +00:00
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;->e(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
return-object p0
.end method