(Class c, String methodName, MethodKind kind)
| 1273 | // Given a class, method name, and method kind, returns a sorted set of |
| 1274 | // arity counts pertaining to the method's overloads |
| 1275 | private static Set aritySet(Class c, String methodName, MethodKind kind) { |
| 1276 | Set res = new java.util.TreeSet<>(); |
| 1277 | List<Executable> methods = methodsWithName(c, methodName, kind); |
| 1278 | |
| 1279 | for(Executable exec : methods) |
| 1280 | res.add(exec.getParameterCount()); |
| 1281 | |
| 1282 | return res; |
| 1283 | } |
| 1284 | |
| 1285 | public static List<Executable> methodOverloads(Class c, String methodName, MethodKind kind) { |
| 1286 | final Executable[] methods = c.getMethods(); |
no test coverage detected