EzHookTool
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EzHookTool
core
/
io.github.lingqiqi5211.ezhooktool.core
/
findConstructorBestMatch
find
Constructor
Best
Match
fun
findConstructorBestMatch
(
clz
:
Class
<
*
>
,
vararg
parameterTypes
:
Class
<
*
>
)
:
Constructor
<
*
>
按参数类型选择构造器;兼容、歧义及 vararg 规则与
findMethodBestMatch
相同。
fun
findConstructorBestMatch
(
clz
:
Class
<
*
>
,
vararg
args
:
Any
?
)
:
Constructor
<
*
>
按运行时实参选择构造器;null 和歧义规则与
findMethodBestMatch
相同。