private static boolean isKeyword(ASTNode node) {
    if (node == null) return false;

    return TokenSets.KEYWORDS.contains(node.getElementType()) ||
           TokenSets.BRACES.contains(node.getElementType()) &&
           !isClosingParenthesisAfterTrailingComma(node);
  }
private static boolean isKeyword(ASTNode node)