docs: private SuppressionInfo updateSuppressions(Tree tree, VisitorState state) {
      SuppressionInfo prevSuppressionInfo = currentSuppressions;
      if (tree instanceof CompilationUnitTree) {
        currentSuppressions =
            currentSuppressions.forCompilationUnit((CompilationUnitTree) tree, state);
      } else {
        Symbol sym = ASTHelpers.getDeclaredSymbol(tree);
        if (sym != null) {
          currentSuppressions =
              currentSuppressions.withExtendedSuppressions(
                  sym, state, getCustomSuppressionAnnotations());
        }
      }
      return prevSuppressionInfo;
    }