-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
- Loading branch information
Showing
62 changed files
with
243 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.