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

Method paramString

java/jakarta/el/Util.java:281–297  ·  view source on GitHub ↗
(Class<?>[] types)

Source from the content-addressed store, hash-verified

279
280
281 private static String paramString(Class<?>[] types) {
282 if (types != null) {
283 StringBuilder sb = new StringBuilder();
284 for (Class<?> type : types) {
285 if (type == null) {
286 sb.append("null, ");
287 } else {
288 sb.append(type.getName()).append(", ");
289 }
290 }
291 if (sb.length() > 2) {
292 sb.setLength(sb.length() - 2);
293 }
294 return sb.toString();
295 }
296 return null;
297 }
298
299
300 /*

Callers 3

findMethodMethod · 0.95
findWrapperMethod · 0.95
findConstructorMethod · 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