invokeStaticMethodBestMatch

fun invokeStaticMethodBestMatch(clz: Class<*>, methodName: String, returnType: Class<*>? = null, vararg params: Any?): Any?

Invoke the static method(best match params) in the class

Return

method result

Parameters

clz

class

methodName

method name

returnType

return type (or null if ignore)

params

method params

Throws

if the method is not found