문제

Having some invokeMethod that takes in (java.lang.String method_name, Object[] params, Class[] params_classes) How would you invoke some method with signature like void MyMethod()?

도움이 되었습니까?

해결책

Use new Object[0] and new Class[0] to specify empty arrays.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top