(List<Class> sig, Executable method)
| 1379 | } |
| 1380 | |
| 1381 | private static boolean signatureMatches(List<Class> sig, Executable method) |
| 1382 | { |
| 1383 | Class[] methodSig = method.getParameterTypes(); |
| 1384 | if(methodSig.length != sig.size()) return false; |
| 1385 | |
| 1386 | for (int i = 0; i < methodSig.length; i++) |
| 1387 | if (sig.get(i) != null && !sig.get(i).equals(methodSig[i])) |
| 1388 | return false; |
| 1389 | |
| 1390 | return true; |
| 1391 | }; |
| 1392 | |
| 1393 | static boolean isStaticMethod(Executable method) { |
| 1394 | return method instanceof java.lang.reflect.Method && Modifier.isStatic(method.getModifiers()); |
no test coverage detected