MCPcopy Index your code
hub / github.com/apache/tomcat / getTypesFromValues

Method getTypesFromValues

java/jakarta/el/Util.java:418–432  ·  view source on GitHub ↗
(Object[] values)

Source from the content-addressed store, hash-verified

416
417
418 private static Class<?>[] getTypesFromValues(Object[] values) {
419 if (values == null) {
420 return EMPTY_CLASS_ARRAY;
421 }
422
423 Class<?>[] result = new Class<?>[values.length];
424 for (int i = 0; i < values.length; i++) {
425 if (values[i] == null) {
426 result[i] = null;
427 } else {
428 result[i] = values[i].getClass();
429 }
430 }
431 return result;
432 }
433
434
435 /*

Callers 2

findMethodMethod · 0.95
findConstructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected