FastInvoke

Functions

Link copied to clipboard
open fun <T> invoke(@NotNull method: Method, target: Any, args: Array<Any>): T
invoke target object method
Link copied to clipboard
@NotNull
open fun <T> newInstance(@NotNull constructor: Constructor<T>, args: Array<Any>): T
create instance
Link copied to clipboard
open fun <T> safeInvoke(@NotNull method: Method, target: Any, args: Array<Any>): T
safe invoke target object method
Link copied to clipboard
open fun <T> safeNewInstance(@NotNull constructor: Constructor<T>, args: Array<Any>): T
safe create instance