Index: pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java |
diff --git a/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java b/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java |
index c398e4df2b06fdac7c395a5fb4d0cbaca1bd47b7..14f906c1df0b37233af75d57228533935499ab2e 100644 |
--- a/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java |
+++ b/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java |
@@ -351,6 +351,21 @@ public interface AnalysisServer { |
public void edit_getRefactoring(String kind, String file, int offset, int length, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer consumer); |
/** |
+ * {@code edit.organizeDirectives} |
+ * |
+ * Organizes all of the directives - removes unused imports and sorts directives of the given Dart |
+ * file. |
+ * |
+ * If a request is made for a file that does not exist, does not belong to an analysis root or is |
+ * not a Dart file, ORGANIZE_DIRECTIVES_INVALID_FILE will be generated. |
+ * |
+ * If the Dart file has scan or parse errors, ORGANIZE_DIRECTIVES_PARSE_ERRORS will be generated. |
+ * |
+ * @param file The Dart file to organize directives in. |
+ */ |
+ public void edit_organizeDirectives(String file, OrganizeDirectivesConsumer consumer); |
+ |
+ /** |
* {@code edit.sortMembers} |
* |
* Sort all of the directives, unit and class members of the given Dart file. |