Rabbit-R1/switch port/smali/smali_classes3/kotlin/internal/PlatformImplementations$ReflectThrowable.smali

175 lines
4.5 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class final Lkotlin/internal/PlatformImplementations$ReflectThrowable;
.super Ljava/lang/Object;
.source "PlatformImplementations.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/internal/PlatformImplementations;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "ReflectThrowable"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nPlatformImplementations.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PlatformImplementations.kt\nkotlin/internal/PlatformImplementations$ReflectThrowable\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,79:1\n1#2:80\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u00c2\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u0012\u0010\u0003\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0006"
}
d2 = {
"Lkotlin/internal/PlatformImplementations$ReflectThrowable;",
"",
"()V",
"addSuppressed",
"Ljava/lang/reflect/Method;",
"getSuppressed",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# static fields
.field public static final INSTANCE:Lkotlin/internal/PlatformImplementations$ReflectThrowable;
.field public static final addSuppressed:Ljava/lang/reflect/Method;
.field public static final getSuppressed:Ljava/lang/reflect/Method;
# direct methods
.method static constructor <clinit>()V
.locals 9
new-instance v0, Lkotlin/internal/PlatformImplementations$ReflectThrowable;
invoke-direct {v0}, Lkotlin/internal/PlatformImplementations$ReflectThrowable;-><init>()V
sput-object v0, Lkotlin/internal/PlatformImplementations$ReflectThrowable;->INSTANCE:Lkotlin/internal/PlatformImplementations$ReflectThrowable;
.line 21
const-class v0, Ljava/lang/Throwable;
.line 23
invoke-virtual {v0}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;
move-result-object v1
.line 24
invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
array-length v2, v1
const/4 v3, 0x0
move v4, v3
:goto_0
const/4 v5, 0x0
if-ge v4, v2, :cond_1
aget-object v6, v1, v4
.line 25
invoke-virtual {v6}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v7
const-string v8, "addSuppressed"
invoke-static {v7, v8}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_0
invoke-virtual {v6}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;
move-result-object v7
const-string v8, "getParameterTypes(...)"
invoke-static {v7, v8}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v7, [Ljava/lang/Object;
invoke-static {v7}, Lkotlin/collections/ArraysKt;->singleOrNull([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v7
invoke-static {v7, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_0
goto :goto_1
:cond_0
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_1
move-object v6, v5
:goto_1
sput-object v6, Lkotlin/internal/PlatformImplementations$ReflectThrowable;->addSuppressed:Ljava/lang/reflect/Method;
.line 27
array-length v0, v1
:goto_2
if-ge v3, v0, :cond_3
aget-object v2, v1, v3
invoke-virtual {v2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v4
const-string v6, "getSuppressed"
invoke-static {v4, v6}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_2
move-object v5, v2
goto :goto_3
:cond_2
add-int/lit8 v3, v3, 0x1
goto :goto_2
:cond_3
:goto_3
sput-object v5, Lkotlin/internal/PlatformImplementations$ReflectThrowable;->getSuppressed:Ljava/lang/reflect/Method;
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 15
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method