void (String[] args) { StatDescriptor[] allStatMembers = new StatDescriptor[] {}; WSStats[] allStats = new WSStats[] {}; StringBuffer sb = new StringBuffer(); sb.append("All stat members found:\n"); for (int i = 0; i < allStatMembers.length; i++) { StatDescriptor statMember = allStatMembers[i]; <selection> sb.append(statMember.toString()); sb.append(": ["); WSStatistic[] statistics = allStats[i].getStatistics(); for (int j = 0; j < statistics.length; j++) { WSStatistic statistic = statistics[j]; sb.append(statistic.getId()). append('='). append(statistic.getName()); if (j < statistics.length - 1) { sb.append(", "); } } sb.append("]\n"); </selection> } }