// TODO: more cases sS tok_typeArgs_declToInvocation(S typeArgs) { LS tok = javaTok(typeArgs); int i; while ((i = jfind(tok, "extends ")) >= 0) { int j = tok_endOfType(tok, i+2); clearTokens(tok, i, j); } ret join(tok); }