String generateBlockBranch(@NotNull PsiStatement statement, CommentTracker ct) {
      if (statement instanceof PsiBlockStatement blockStatement) {
        StringBuilder builder = new StringBuilder();
        PsiCodeBlock block = blockStatement.getCodeBlock();
        for (PsiElement element = block.getLBrace(); element != null && element != block.getRBrace(); element = element.getNextSibling()) {
          if (element == block.getLBrace() || element == block.getRBrace()) {
            continue;
          }
          builder.append(ct.text(element));
        }
        return builder.toString().strip();
      }
      else {
        return ct.text(statement);
      }
    }
String generateBlockBranch(@NotNull PsiStatement statement, CommentTracker ct)