invokeMethodByAs

fun <T> Any.invokeMethodByAs(args: Array<out Any?> = emptyArray(), query: MethodQuery.() -> Unit): T?

按条件查找并调用(类型安全)。