EzHookTool
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EzHookTool
core
/
io.github.lingqiqi5211.ezhooktool.core
/
invokeMethod
invoke
Method
fun
Any
.
invokeMethod
(
methodName
:
String
,
args
:
Args
=
args()
,
argTypes
:
ArgTypes
=
argTypes()
,
returnType
:
Class
<
*
>
?
=
null
)
:
Any
?
按名称调用实例方法。
val result = instance.invokeMethod("doTask", args("hello", 42))
Content copied to clipboard