PlatformImplementations$ReflectAddSuppressedMethod.smali
4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.class final Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;
.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 = "ReflectAddSuppressedMethod"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nPlatformImplementations.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PlatformImplementations.kt\nkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod\n*L\n1#1,102:1\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\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\u0000\u00a8\u0006\u0005"
}
d2 = {
"Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;",
"",
"()V",
"method",
"Ljava/lang/reflect/Method;",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x1,
0xf
}
.end annotation
# static fields
.field public static final INSTANCE:Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;
.field public static final method:Ljava/lang/reflect/Method;
.annotation build Lkotlin/jvm/JvmField;
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 8
.line 15
new-instance v0, Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;
invoke-direct {v0}, Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;-><init>()V
sput-object v0, Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;->INSTANCE:Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;
.line 17
const-class v0, Ljava/lang/Throwable;
.line 18
invoke-virtual {v0}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;
move-result-object v1
const-string v2, "throwableClass.methods"
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
array-length v2, v1
const/4 v3, 0x0
move v4, v3
:goto_0
if-ge v4, v2, :cond_2
aget-object v5, v1, v4
const-string v6, "it"
.line 19
invoke-static {v5, v6}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v5}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v6
const-string v7, "addSuppressed"
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_0
invoke-virtual {v5}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;
move-result-object v6
const-string v7, "it.parameterTypes"
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v6}, Lkotlin/collections/ArraysKt;->singleOrNull([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v6
check-cast v6, Ljava/lang/Class;
invoke-static {v6, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_0
const/4 v6, 0x1
goto :goto_1
:cond_0
move v6, v3
:goto_1
if-eqz v6, :cond_1
goto :goto_2
:cond_1
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_2
const/4 v5, 0x0
.line 17
:goto_2
sput-object v5, Lkotlin/internal/PlatformImplementations$ReflectAddSuppressedMethod;->method: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