EzHookTool
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EzHookTool
core
/
io.github.lingqiqi5211.ezhooktool.core
/
callMethodByAs
call
Method
By
As
fun
<
T
>
Any
.
callMethodByAs
(
args
:
Array
<
out
Any
?
>
=
emptyArray()
,
query
:
MethodQuery
.
(
)
->
Unit
)
:
T
按条件查找并调用。
找不到方法按
callMethodBy
语义抛
MemberNotFoundException
;目标方法返回
null
会抛
NullPointerException
。