sS extractKeywordPlusBracketed(S keyword, S s) { LS tok = javaTokWithCurlyBrackets(s); if (countCodeTokens(tok) == 2 && eq(firstCodeToken(tok), keyword) && tok_isRoundOrCurlyBracketed(secondCodeToken(tok))) ret tok_deRoundOrCurlyBracket(secondCodeToken(tok)); null; }