private static Method findMethod(Class<?> clazz, String name, Class... parameterTypes) { try { return clazz.getMethod(name, parameterTypes); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } }
private static Method findMethod(Class<?> clazz, String name, Class... parameterTypes) { try { return clazz.getMethod(name, parameterTypes); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } }