apkfuckery/com.discord/smali_classes2/g0/k/f$a.smali

170 lines
3.6 KiB
Smali
Raw Normal View History

2020-03-26 05:26:27 +00:00
.class public Lg0/k/f$a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/RuntimeException;
.source "OnErrorThrowable.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-03-26 05:26:27 +00:00
value = Lg0/k/f;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-03-26 05:26:27 +00:00
Lg0/k/f$a$a;
2019-07-24 11:27:29 +00:00
}
.end annotation
# static fields
2019-12-06 03:29:40 +00:00
.field public static final serialVersionUID:J = -0x2ff0b792f8336acbL
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 3
2019-12-06 03:29:40 +00:00
const-string v0, "OnError while emitting onNext value: "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
if-nez p1, :cond_0
const-string v1, "null"
goto :goto_0
:cond_0
2020-03-26 05:26:27 +00:00
sget-object v1, Lg0/k/f$a$a;->a:Ljava/util/Set;
2019-07-24 11:27:29 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
goto :goto_0
:cond_1
instance-of v1, p1, Ljava/lang/String;
if-eqz v1, :cond_2
move-object v1, p1
check-cast v1, Ljava/lang/String;
goto :goto_0
:cond_2
instance-of v1, p1, Ljava/lang/Enum;
if-eqz v1, :cond_3
move-object v1, p1
check-cast v1, Ljava/lang/Enum;
invoke-virtual {v1}, Ljava/lang/Enum;->name()Ljava/lang/String;
move-result-object v1
goto :goto_0
:cond_3
2020-03-26 05:26:27 +00:00
sget-object v1, Lg0/p/o;->f:Lg0/p/o;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {v1}, Lg0/p/o;->b()Lg0/p/b;
2019-07-24 11:27:29 +00:00
move-result-object v1
2020-03-26 05:26:27 +00:00
invoke-virtual {v1, p1}, Lg0/p/b;->a(Ljava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, ".class"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:goto_0
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
instance-of v0, p1, Ljava/io/Serializable;
if-eqz v0, :cond_4
goto :goto_1
:cond_4
:try_start_0
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
:try_end_0
2019-08-30 20:04:20 +00:00
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-07-24 11:27:29 +00:00
goto :goto_1
2019-08-30 20:04:20 +00:00
:catchall_0
2019-07-24 11:27:29 +00:00
move-exception p1
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
:goto_1
2020-03-26 05:26:27 +00:00
iput-object p1, p0, Lg0/k/f$a;->value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
# virtual methods
.method public a()Ljava/lang/Object;
.locals 1
2020-03-26 05:26:27 +00:00
iget-object v0, p0, Lg0/k/f$a;->value:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
return-object v0
.end method