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

Method paramString

java/org/apache/el/util/ReflectionUtil.java:502–518  ·  view source on GitHub ↗
(Class<?>[] types)

Source from the content-addressed store, hash-verified

500
501
502 private static String paramString(Class<?>[] types) {
503 if (types != null) {
504 StringBuilder sb = new StringBuilder();
505 for (Class<?> type : types) {
506 if (type == null) {
507 sb.append("null, ");
508 } else {
509 sb.append(type.getName()).append(", ");
510 }
511 }
512 if (sb.length() > 2) {
513 sb.setLength(sb.length() - 2);
514 }
515 return sb.toString();
516 }
517 return null;
518 }
519
520
521 /*

Callers 1

getMethodMethod · 0.95

Calls 5

lengthMethod · 0.80
setLengthMethod · 0.80
getNameMethod · 0.65
toStringMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected