Here you can find the source of printArgument(List
private static void printArgument(List<Object> parameters, StringBuilder sb)
//package com.java2s; import java.util.List; public class Main { private static void printArgument(List<Object> parameters, StringBuilder sb) { int i = 0; if (parameters != null) { for (Object param : parameters) { sb.append("[index:").append(i).append("|parameter:").append(param).append("|typeclass:") .append(param == null ? null : param.getClass().getName()).append("]"); i++;//from ww w . j av a 2s.c o m } } else { sb.append("[empty]"); } } }