Files
sdk/pkg/analysis_server/lib
Sam Rawlins f6828ddd8d DAS: Simplify CorrectionProducer, et al.
Just a lot of tidying in preparation for this code being public API
in the `analysis_server_plugin` package.

A big change:
* Convert `CorrectionProducer.assistArguments`,
  `CorrectionProducer.fixArguments`, and
  `CorrectionProducer.multiFixArguments` each from a `List<Object>?`
  to a `List<String>?`. This should be a no-op.

Smaller changes:
* Make private: `AssistProcessor.generators`, `.multiGenerators`,
  `.assistContext`, `.assists`,
* Make private: `CorrectionProducerContext.selectionOffset`,
  `.selectionLength`, `.utils`, `.sessionHelper`, `.unitResult`,
  `.applyingBulkFixes`, `.diagnostic`, `.node`, `.token`.
* Make private: `FixProcessor.fixContext`.
* Remove `CorrectionProducerContext.selectionEnd`, `.unit`, `.file`,
  `.session`, `.workspace`, `.typeProvider`; these can be accessed via
  getters.
* Remove unused `FixProcessor.computeFix()`.
* Make doc comments more idiomatic.

Change-Id: I100fe81aad612967191568fe207ff0b807f131b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/364420
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2024-04-25 18:02:42 +00:00
..