(Class<?> c, Class[] parameterTypes, Object[] args)
| 23 | } |
| 24 | |
| 25 | public static Object newInstance(Class<?> c, Class[] parameterTypes, Object[] args) { |
| 26 | try { |
| 27 | return c.getConstructor(parameterTypes).newInstance(args); |
| 28 | } catch (Exception e) { |
| 29 | throw new RuntimeException(e); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | public static Object invoke(Class<?> c, String m, Class[] parameterTypes, Object o, Object[] args) { |
| 34 | try { |
no outgoing calls
no test coverage detected