Method
getMethod
(Class<?> aObject, String aMethod, Class<?>... aParameterTypes)
Source from the content-addressed store, hash-verified
| 2527 | } |
| 2528 | |
| 2529 | public static Method getMethod(Class<?> aObject, String aMethod, Class<?>... aParameterTypes) { |
| 2530 | Method rMethod = null; |
| 2531 | try { |
| 2532 | rMethod = aObject.getMethod(aMethod, aParameterTypes); |
| 2533 | rMethod.setAccessible(T); |
| 2534 | } catch (Throwable e) {/*Do nothing*/} |
| 2535 | return rMethod; |
| 2536 | } |
| 2537 | |
| 2538 | public static Method getMethod(Object aObject, String aMethod, Class<?>... aParameterTypes) { |
| 2539 | Method rMethod = null; |
Tested by
no test coverage detected