EzHookTool
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EzHookTool
core
/
io.github.lingqiqi5211.ezhooktool.core
/
method
method
fun
Class
<
*
>
.
method
(
name
:
String
,
argTypes
:
ArgTypes
=
argTypes()
,
returnType
:
Class
<
*
>
?
=
null
)
:
Method
按名称获取方法(精确匹配参数类型)。
val m = clz.method("doTask", argTypes(String::class.java, Int::class.java))
Content copied to clipboard