(Class c, Method m)
| 71 | } |
| 72 | |
| 73 | private static Method tryFindMethod(Class c, Method m) { |
| 74 | if(c == null) return null; |
| 75 | try { |
| 76 | return c.getMethod(m.getName(), m.getParameterTypes()); |
| 77 | } catch(NoSuchMethodException e) { |
| 78 | return null; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | private static Method toAccessibleSuperMethod(Method m, Object target) { |
| 83 | Method selected = m; |
no test coverage detected