Simple dartfix that suggests class to be converted to mixins

... and update protocol spec errors generated by edit.dartfix

Change-Id: I3708eb9ffa40f91ff9bf172d20d75346f481e4d8
Reviewed-on: https://dart-review.googlesource.com/76760
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
This commit is contained in:
danrubel
2018-09-27 15:44:45 +00:00
committed by commit-bot@chromium.org
parent 8a2cfd8613
commit 629d76eb46
7 changed files with 284 additions and 28 deletions
@@ -413,9 +413,11 @@ public interface AnalysisServer {
* if a change in a specified source requires it.
*
* @param included A list of the files and directories for which edits should be suggested. If a
* request is made for a file which does not exist, or which is not currently subject to
* analysis (e.g. because it is not associated with any analysis root specified to
* analysis.setAnalysisRoots), an error of type FORMAT_INVALID_FILE will be generated.
* request is made with path that is invalid, e.g. is not absolute and normalized, an error
* of type INVALID_FILE_PATH_FORMAT will be generated. If a request is made for a file
* which does not exist, or which is not currently subject to analysis (e.g. because it is
* not associated with any analysis root specified to analysis.setAnalysisRoots), an error
* of type FILE_NOT_ANALYZED will be generated.
*/
public void edit_dartfix(List<String> included, DartfixConsumer consumer);