toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-core
/
me.ahoo.wow.infra.accessor.method
/
FastInvoke
Fast
Invoke
class
FastInvoke
SpreadOperator
Members
Functions
invoke
Link copied to clipboard
open
fun
<
T
>
invoke
(
@
NotNull
method
:
Method
,
target
:
Any
,
args
:
Array
<
Any
>
)
:
T
invoke target object method
new
Instance
Link copied to clipboard
@
NotNull
open
fun
<
T
>
newInstance
(
@
NotNull
constructor
:
Constructor
<
T
>
,
args
:
Array
<
Any
>
)
:
T
create instance
safe
Invoke
Link copied to clipboard
open
fun
<
T
>
safeInvoke
(
@
NotNull
method
:
Method
,
target
:
Any
,
args
:
Array
<
Any
>
)
:
T
safe invoke target object method
safe
New
Instance
Link copied to clipboard
open
fun
<
T
>
safeNewInstance
(
@
NotNull
constructor
:
Constructor
<
T
>
,
args
:
Array
<
Any
>
)
:
T
safe create instance