EzHookTool
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EzHookTool
core
/
io.github.lingqiqi5211.ezhooktool.core
/
ReflectScope
/
newInstance
new
Instance
fun
newInstance
(
className
:
String
,
args
:
Args
=
args()
,
argTypes
:
ArgTypes
=
argTypes()
)
:
Any
在当前作用域的
classLoader
上按类名创建实例。
Parameters
class
Name
目标类名
args
构造器实参数组
arg
Types
构造器参数类型;留空时会根据
args
自动推断