apkfuckery/com.discord/smali_classes2/k0/l/a$a.smali

144 lines
2.8 KiB
Smali
Raw Normal View History

2020-09-08 08:16:32 +00:00
.class public final Lk0/l/a$a;
.super Ljava/lang/Object;
.source "PlatformImplementations.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lk0/l/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# static fields
.field public static final a:Ljava/lang/reflect/Method;
# direct methods
.method public static constructor <clinit>()V
2020-09-09 19:21:20 +00:00
.locals 11
2020-09-08 08:16:32 +00:00
const-class v0, Ljava/lang/Throwable;
invoke-virtual {v0}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;
move-result-object v1
2020-09-09 19:21:20 +00:00
const-string v2, "throwableMethods"
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v1, v2}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
array-length v2, v1
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
2020-09-09 19:21:20 +00:00
const-string v5, "it"
const/4 v6, 0x0
2020-09-08 08:16:32 +00:00
if-ge v4, v2, :cond_3
2020-09-09 19:21:20 +00:00
aget-object v7, v1, v4
invoke-static {v7, v5}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
invoke-virtual {v7}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
move-result-object v8
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
const-string v9, "addSuppressed"
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v8, v9}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
move-result v8
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
const/4 v9, 0x1
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
if-eqz v8, :cond_1
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
invoke-virtual {v7}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
move-result-object v8
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
const-string v10, "it.parameterTypes"
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v8, v10}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
const-string v10, "$this$singleOrNull"
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v8, v10}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
array-length v10, v8
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
if-ne v10, v9, :cond_0
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
aget-object v6, v8, v3
2020-09-08 08:16:32 +00:00
:cond_0
2020-09-09 19:21:20 +00:00
invoke-static {v6, v0}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
move-result v6
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
if-eqz v6, :cond_1
2020-09-08 08:16:32 +00:00
goto :goto_1
:cond_1
2020-09-09 19:21:20 +00:00
const/4 v9, 0x0
2020-09-08 08:16:32 +00:00
:goto_1
2020-09-09 19:21:20 +00:00
if-eqz v9, :cond_2
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
move-object v6, v7
2020-09-08 08:16:32 +00:00
goto :goto_2
:cond_2
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_3
:goto_2
2020-09-09 19:21:20 +00:00
sput-object v6, Lk0/l/a$a;->a:Ljava/lang/reflect/Method;
array-length v0, v1
:goto_3
if-ge v3, v0, :cond_5
aget-object v2, v1, v3
invoke-static {v2, v5}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v2
const-string v4, "getSuppressed"
invoke-static {v2, v4}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_4
goto :goto_4
:cond_4
add-int/lit8 v3, v3, 0x1
goto :goto_3
2020-09-08 08:16:32 +00:00
2020-09-09 19:21:20 +00:00
:cond_5
:goto_4
2020-09-08 08:16:32 +00:00
return-void
.end method