📅  最后修改于: 2022-03-11 14:52:28.151000             🧑  作者: Mango
java.lang.reflect.Method method;
try {
method = obj.getClass().getMethod(methodName, param1.class, param2.class, ..);
} catch (SecurityException e) { ... }
catch (NoSuchMethodException e) { ... }