MCPcopy Index your code
hub / github.com/beanshell/beanshell / findMostSpecificConstructorIndex

Method findMostSpecificConstructorIndex

src/bsh/Reflect.java:591–598  ·  view source on GitHub ↗
(Class[] idealMatch, Constructor[] constructors)

Source from the content-addressed store, hash-verified

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 /**

Callers 2

getConstructorArgsMethod · 0.95

Calls 2

getParameterTypesMethod · 0.45

Tested by

no test coverage detected