EzHookTool
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EzHookTool
core
/
io.github.lingqiqi5211.ezhooktool.core
/
invokeStaticMethod
invoke
Static
Method
fun
Class
<
*
>
.
invokeStaticMethod
(
methodName
:
String
,
args
:
Args
=
args()
,
argTypes
:
ArgTypes
=
argTypes()
,
returnType
:
Class
<
*
>
?
=
null
)
:
Any
?
调用静态方法。
val result = targetClass.invokeStaticMethod("getInstance")
Content copied to clipboard