Untitled diff

Created Diff never expires
25 removals
Words removed31
Total words426
Words removed (%)7.28
256 lines
20 additions
Words added25
Total words420
Words added (%)5.95
251 lines
method private final tryGetMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;Z)Ljava/lang/reflect/Method;
method private final tryGetMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;Z)Ljava/lang/reflect/Method;
.registers 22
.registers 22
.param p1, "$receiver" # Ljava/lang/Class;
.param p1, "$receiver" # Ljava/lang/Class;
.annotation build Lorg/jetbrains/annotations/NotNull;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end annotation
.end param
.end param
.param p2, "name" # Ljava/lang/String;
.param p2, "name" # Ljava/lang/String;
.param p3, "parameterTypes" # [Ljava/lang/Class;
.param p3, "parameterTypes" # [Ljava/lang/Class;
.param p4, "returnType" # Ljava/lang/Class;
.param p4, "returnType" # Ljava/lang/Class;
.param p5, "declared" # Z
.param p5, "declared" # Z
.annotation system Ldalvik/annotation/Signature;
.annotation system Ldalvik/annotation/Signature;
value = {
value = {
"(",
"(",
"Ljava/lang/Class<",
"Ljava/lang/Class<",
"*>;",
"*>;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"[",
"[",
"Ljava/lang/Class<",
"Ljava/lang/Class<",
"*>;",
"*>;",
"Ljava/lang/Class<",
"Ljava/lang/Class<",
"*>;Z)",
"*>;Z)",
"Ljava/lang/reflect/Method;"
"Ljava/lang/reflect/Method;"
}
}
.end annotation
.end annotation


move-object/from16 v1, p1
move-object/from16 v1, p1


move-object/from16 v2, p2
move-object/from16 v2, p2


move-object/from16 v3, p3
move-object/from16 v3, p3


move-object/from16 v4, p4
move-object/from16 v4, p4


.line 181
.line 181
nop
nop


.line 182
.line 182
if-eqz p5, :cond_1b
if-eqz p5, :cond_1b


:try_start_b
:try_start_b
array-length v6, v3
array-length v6, v3


invoke-static {v3, v6}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
invoke-static {v3, v6}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;


move-result-object v6
move-result-object v6


check-cast v6, [Ljava/lang/Class;
check-cast v6, [Ljava/lang/Class;


invoke-virtual {v1, v2, v6}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invoke-virtual {v1, v2, v6}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;


move-result-object v6
move-result-object v6


goto :goto_26
goto :goto_26


.line 198
.line 198
:catch_17
:catch_17
move-exception v0
move-exception v0


move-object v5, v0
move-object v5, v0


goto/16 :goto_93
goto/16 :goto_8f


.line 182
.line 182
:cond_1b
:cond_1b
array-length v6, v3
array-length v6, v3


invoke-static {v3, v6}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
invoke-static {v3, v6}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;


move-result-object v6
move-result-object v6


check-cast v6, [Ljava/lang/Class;
check-cast v6, [Ljava/lang/Class;


invoke-virtual {v1, v2, v6}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invoke-virtual {v1, v2, v6}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;


move-result-object v6
move-result-object v6


.line 184
.line 184
.local v6, "result":Ljava/lang/reflect/Method;
.local v6, "result":Ljava/lang/reflect/Method;
:goto_26
:goto_26
const-string v7, "result"
const-string v7, "result"


invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V


invoke-virtual {v6}, Ljava/lang/reflect/Method;->getReturnType()Ljava/lang/Class;
invoke-virtual {v6}, Ljava/lang/reflect/Method;->getReturnType()Ljava/lang/Class;


move-result-object v7
move-result-object v7


invoke-static {v7, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
invoke-static {v7, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z


move-result v7
move-result v7


if-eqz v7, :cond_37
if-eqz v7, :cond_37


move-object v5, v6
move-object v5, v6


goto :goto_91
goto :goto_8d


.line 190
.line 190
:cond_37
:cond_37
if-eqz p5, :cond_3e
if-eqz p5, :cond_3e


invoke-virtual/range {p1 .. p1}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;
invoke-virtual/range {p1 .. p1}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;


move-result-object v7
move-result-object v7


goto :goto_42
goto :goto_42


:cond_3e
:cond_3e
invoke-virtual/range {p1 .. p1}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;
invoke-virtual/range {p1 .. p1}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;


move-result-object v7
move-result-object v7


.line 191
.line 191
.local v7, "allMethods":[Ljava/lang/reflect/Method;
.local v7, "allMethods":[Ljava/lang/reflect/Method;
:goto_42
:goto_42
const-string v8, "allMethods"
const-string v8, "allMethods"


invoke-static {v7, v8}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v7, v8}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V


move-object v8, v7
move-object v8, v7


check-cast v8, [Ljava/lang/Object;
check-cast v8, [Ljava/lang/Object;


.line 329
.line 329
.local v8, "$receiver$iv":[Ljava/lang/Object;
.local v8, "$receiver$iv":[Ljava/lang/Object;
array-length v9, v8
array-length v9, v8


const/4 v10, 0x0
const/4 v10, 0x0


move v11, v10
move v11, v10


:goto_4d
:goto_4d
if-ge v11, v9, :cond_8c
if-ge v11, v9, :cond_8a


aget-object v12, v8, v11
aget-object v12, v8, v11


.line 329
.line 329
.local v12, "element$iv":Ljava/lang/Object;
.local v12, "element$iv":Ljava/lang/Object;
move-object v13, v12
move-object v13, v12


check-cast v13, Ljava/lang/reflect/Method;

.line 192
.line 192
.local v13, "method":Ljava/lang/reflect/Method;
.local v13, "method":Ljava/lang/reflect/Method;
nop
nop


.line 193
.line 193
nop
nop


.line 194
.line 194
const-string v14, "method"
const-string v14, "method"


invoke-static {v13, v14}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v13, v14}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V


invoke-virtual {v13}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
invoke-virtual {v13}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;


move-result-object v14
move-result-object v14


invoke-static {v14, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
invoke-static {v14, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z


move-result v14
move-result v14


if-eqz v14, :cond_85
if-eqz v14, :cond_83


invoke-virtual {v13}, Ljava/lang/reflect/Method;->getReturnType()Ljava/lang/Class;
invoke-virtual {v13}, Ljava/lang/reflect/Method;->getReturnType()Ljava/lang/Class;


move-result-object v14
move-result-object v14


invoke-static {v14, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
invoke-static {v14, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z


move-result v14
move-result v14


if-eqz v14, :cond_85
if-eqz v14, :cond_83


invoke-virtual {v13}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;
invoke-virtual {v13}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;


move-result-object v14
move-result-object v14


const-string v5, "method.parameterTypes"
const-string v5, "method.parameterTypes"


invoke-static {v14, v5}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v14, v5}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V


check-cast v14, [Ljava/lang/Object;
check-cast v14, [Ljava/lang/Object;


move-object v5, v3
move-object v5, v3


check-cast v5, [Ljava/lang/Object;
check-cast v5, [Ljava/lang/Object;


invoke-static {v14, v5}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
invoke-static {v14, v5}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z


move-result v5
move-result v5
:try_end_7f
.catch Ljava/lang/NoSuchMethodException; {:try_start_b .. :try_end_7f} :catch_17


if-eqz v5, :cond_85
if-eqz v5, :cond_83


const/4 v5, 0x1
const/4 v5, 0x1


goto :goto_86
goto :goto_84


.line 194
.line 194
.end local v13 # "method":Ljava/lang/reflect/Method;
.end local v13 # "method":Ljava/lang/reflect/Method;
:cond_85
:cond_83
move v5, v10
move v5, v10


:goto_86
:goto_84
if-eqz v5, :cond_89
if-eqz v5, :cond_87


goto :goto_8e
goto :goto_8c


:cond_89
:cond_87
add-int/lit8 v11, v11, 0x1
add-int/lit8 v11, v11, 0x1


.line 194
.line 194
.end local v12 # "element$iv":Ljava/lang/Object;
.end local v12 # "element$iv":Ljava/lang/Object;
goto :goto_4d
goto :goto_4d


.line 330
.line 330
:cond_8c
:cond_8a
nop
nop


.line 330
.line 330
.end local v8 # "$receiver$iv":[Ljava/lang/Object;
.end local v8 # "$receiver$iv":[Ljava/lang/Object;
const/4 v12, 0x0
const/4 v12, 0x0


:goto_8e
check-cast v12, Ljava/lang/reflect/Method;
:try_end_90
.catch Ljava/lang/NoSuchMethodException; {:try_start_b .. :try_end_90} :catch_17

.line 184
.line 184
.end local v6 # "result":Ljava/lang/reflect/Method;
.end local v6 # "result":Ljava/lang/reflect/Method;
.end local v7 # "allMethods":[Ljava/lang/reflect/Method;
.end local v7 # "allMethods":[Ljava/lang/reflect/Method;
:goto_8c
move-object v5, v12
move-object v5, v12


.line 181
.line 181
:goto_91
:goto_8d
move-object v15, v5
move-object v15, v5


goto :goto_96
goto :goto_92


.line 198
.line 198
:goto_93
:goto_8f
nop
nop


.line 199
.line 199
.local v5, "e":Ljava/lang/NoSuchMethodException;
.local v5, "e":Ljava/lang/NoSuchMethodException;
nop
nop


.line 181
.line 181
.end local v5 # "e":Ljava/lang/NoSuchMethodException;
.end local v5 # "e":Ljava/lang/NoSuchMethodException;
const/4 v15, 0x0
const/4 v15, 0x0


.line 200
.line 200
:goto_96
:goto_92
return-object v15
return-object v15
.end method
.end method