(Class[] idealMatch, Constructor[] constructors)
| 589 | |
| 590 | |
| 591 | static int findMostSpecificConstructorIndex(Class[] idealMatch, Constructor[] constructors) { |
| 592 | Class[][] candidates = new Class[constructors.length][]; |
| 593 | for (int i = 0; i < candidates.length; i++) { |
| 594 | candidates[i] = constructors[i].getParameterTypes(); |
| 595 | } |
| 596 | |
| 597 | return findMostSpecificSignature(idealMatch, candidates); |
| 598 | } |
| 599 | |
| 600 | |
| 601 | /** |
no test coverage detected