// returns index of trailing N token static int scanToEndOfInitializer(L tok, Map bracketMap, int i) { while (i < l(tok)) { if (eqOneOf(tok.get(i), ";", ",", ")", "}")) ret i-1; Integer j = bracketMap.get(i); if (j != null) i = j+1; else i++; } ret i; }