Index: pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart |
diff --git a/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart b/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart |
index 1fae93069657c225077c671d4941d3e7ce82ce7a..fee1f7fe5f3ad59f5cfaf928177883ce0fe06206 100644 |
--- a/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart |
+++ b/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart |
@@ -31,45 +31,45 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * byteStorePath (String) |
+ * byteStorePath: String |
* |
* The path to the directory containing the on-disk byte store that is to |
* be used by any analysis drivers that are created. |
* |
- * sdkPath (String) |
+ * sdkPath: String |
* |
* The path to the directory containing the SDK that is to be used by any |
* analysis drivers that are created. |
* |
- * version (String) |
+ * version: String |
* |
* The version number of the plugin spec supported by the analysis server |
* that is executing the plugin. |
* |
* Returns |
* |
- * isCompatible (bool) |
+ * isCompatible: bool |
* |
* A flag indicating whether the plugin supports the same version of the |
* plugin spec as the analysis server. If the value is false, then the |
* plugin is expected to shutdown after returning the response. |
* |
- * name (String) |
+ * name: String |
* |
* The name of the plugin. This value is only used when the server needs to |
* identify the plugin, either to the user or for debugging purposes. |
* |
- * version (String) |
+ * version: String |
* |
* The version of the plugin. This value is only used when the server needs |
* to identify the plugin, either to the user or for debugging purposes. |
* |
- * contactInfo (optional String) |
+ * contactInfo: String (optional) |
* |
* Information that the user can use to use to contact the maintainers of |
* the plugin when there is a problem. |
* |
- * interestingFiles (List<String>) |
+ * interestingFiles: List<String> |
* |
* The glob patterns of the files for which the plugin will provide |
* information. This value is ignored if the isCompatible field is false. |
@@ -105,18 +105,18 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * isFatal (bool) |
+ * isFatal: bool |
* |
* A flag indicating whether the error is a fatal error, meaning that the |
* plugin will shutdown automatically after sending this notification. If |
* true, the server will not expect any other responses or notifications |
* from the plugin. |
* |
- * message (String) |
+ * message: String |
* |
* The error message indicating what kind of error was encountered. |
* |
- * stackTrace (String) |
+ * stackTrace: String |
* |
* The stack trace associated with the generation of the error, used for |
* debugging the plugin. |
@@ -146,33 +146,33 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file in which navigation information is being requested. |
* |
- * offset (int) |
+ * offset: int |
* |
* The offset of the region for which navigation information is being |
* requested. |
* |
- * length (int) |
+ * length: int |
* |
* The length of the region for which navigation information is being |
* requested. |
* |
* Returns |
* |
- * files (List<FilePath>) |
+ * files: List<FilePath> |
* |
* A list of the paths of files that are referenced by the navigation |
* targets. |
* |
- * targets (List<NavigationTarget>) |
+ * targets: List<NavigationTarget> |
* |
* A list of the navigation targets that are referenced by the navigation |
* regions. |
* |
- * regions (List<NavigationRegion>) |
+ * regions: List<NavigationRegion> |
* |
* A list of the navigation regions within the requested region of the |
* file. |
@@ -192,7 +192,7 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * events (List<WatchEvent>) |
+ * events: List<WatchEvent> |
* |
* The watch events that the plugin should handle. |
*/ |
@@ -211,7 +211,7 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * roots (optional List<FilePath>) |
+ * roots: List<FilePath> (optional) |
* |
* A list of the context roots that are to be re-analyzed. |
* |
@@ -231,7 +231,7 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * options (ContextBuilderOptions) |
+ * options: ContextBuilderOptions |
* |
* The options used to build the analysis contexts. |
*/ |
@@ -248,7 +248,7 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * roots (List<ContextRoot>) |
+ * roots: List<ContextRoot> |
* |
* A list of the context roots that should be analyzed. |
*/ |
@@ -270,7 +270,7 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * files (List<FilePath>) |
+ * files: List<FilePath> |
* |
* The files that are to be a priority for analysis. |
*/ |
@@ -290,7 +290,7 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * subscriptions (Map<AnalysisService, List<FilePath>>) |
+ * subscriptions: Map<AnalysisService, List<FilePath>> |
* |
* A table mapping services to a list of the files being subscribed to the |
* service. |
@@ -313,8 +313,8 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * files (Map<FilePath, AddContentOverlay | ChangeContentOverlay | |
- * RemoveContentOverlay>) |
+ * files: Map<FilePath, AddContentOverlay | ChangeContentOverlay | |
+ * RemoveContentOverlay> |
* |
* A table mapping the files whose content has changed to a description of |
* the content change. |
@@ -333,11 +333,11 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the errors. |
* |
- * errors (List<AnalysisError>) |
+ * errors: List<AnalysisError> |
* |
* The errors contained in the file. |
*/ |
@@ -364,11 +364,11 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the folding regions. |
* |
- * regions (List<FoldingRegion>) |
+ * regions: List<FoldingRegion> |
* |
* The folding regions contained in the file. |
*/ |
@@ -392,11 +392,11 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the highlight regions. |
* |
- * regions (List<HighlightRegion>) |
+ * regions: List<HighlightRegion> |
* |
* The highlight regions contained in the file. |
*/ |
@@ -427,20 +427,20 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the navigation regions. |
* |
- * regions (List<NavigationRegion>) |
+ * regions: List<NavigationRegion> |
* |
* The navigation regions contained in the file. |
* |
- * targets (List<NavigationTarget>) |
+ * targets: List<NavigationTarget> |
* |
* The navigation targets referenced in the file. They are referenced by |
* NavigationRegions by their index in this array. |
* |
- * files (List<FilePath>) |
+ * files: List<FilePath> |
* |
* The files containing navigation targets referenced in the file. They are |
* referenced by NavigationTargets by their index in this array. |
@@ -467,11 +467,11 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file in which the references occur. |
* |
- * occurrences (List<Occurrences>) |
+ * occurrences: List<Occurrences> |
* |
* The occurrences of references to elements within the file. |
*/ |
@@ -495,11 +495,11 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file with which the outline is associated. |
* |
- * outline (List<Outline>) |
+ * outline: List<Outline> |
* |
* The outline fragments associated with the file. |
*/ |
@@ -516,17 +516,17 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the point at which suggestions are to be made. |
* |
- * offset (int) |
+ * offset: int |
* |
* The offset within the file at which suggestions are to be made. |
* |
* Returns |
* |
- * replacementOffset (int) |
+ * replacementOffset: int |
* |
* The offset of the start of the text to be replaced. This will be |
* different than the offset used to request the completion suggestions if |
@@ -534,13 +534,13 @@ abstract class IntegrationTestMixin { |
* particular, the replacementOffset will be the offset of the beginning of |
* said identifier. |
* |
- * replacementLength (int) |
+ * replacementLength: int |
* |
* The length of the text to be replaced if the remainder of the identifier |
* containing the cursor is to be replaced when the suggestion is applied |
* (that is, the number of characters in the existing identifier). |
* |
- * results (List<CompletionSuggestion>) |
+ * results: List<CompletionSuggestion> |
* |
* The completion suggestions being reported. The notification contains all |
* possible completions at the requested cursor position, even those that |
@@ -565,21 +565,21 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the code for which assists are being requested. |
* |
- * offset (int) |
+ * offset: int |
* |
* The offset of the code for which assists are being requested. |
* |
- * length (int) |
+ * length: int |
* |
* The length of the code for which assists are being requested. |
* |
* Returns |
* |
- * assists (List<PrioritizedSourceChange>) |
+ * assists: List<PrioritizedSourceChange> |
* |
* The assists that are available at the given location. |
*/ |
@@ -597,21 +597,21 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the code on which the refactoring would be based. |
* |
- * offset (int) |
+ * offset: int |
* |
* The offset of the code on which the refactoring would be based. |
* |
- * length (int) |
+ * length: int |
* |
* The length of the code on which the refactoring would be based. |
* |
* Returns |
* |
- * kinds (List<RefactoringKind>) |
+ * kinds: List<RefactoringKind> |
* |
* The kinds of refactorings that are valid for the given selection. |
* |
@@ -636,17 +636,17 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the errors for which fixes are being requested. |
* |
- * offset (int) |
+ * offset: int |
* |
* The offset used to select the errors for which fixes will be returned. |
* |
* Returns |
* |
- * fixes (List<AnalysisErrorFixes>) |
+ * fixes: List<AnalysisErrorFixes> |
* |
* The fixes that are available for the errors at the given offset. |
*/ |
@@ -662,28 +662,28 @@ abstract class IntegrationTestMixin { |
* |
* Parameters |
* |
- * kind (RefactoringKind) |
+ * kind: RefactoringKind |
* |
* The kind of refactoring to be performed. |
* |
- * file (FilePath) |
+ * file: FilePath |
* |
* The file containing the code involved in the refactoring. |
* |
- * offset (int) |
+ * offset: int |
* |
* The offset of the region involved in the refactoring. |
* |
- * length (int) |
+ * length: int |
* |
* The length of the region involved in the refactoring. |
* |
- * validateOnly (bool) |
+ * validateOnly: bool |
* |
* True if the client is only requesting that the values of the options be |
* validated and no change be generated. |
* |
- * options (optional RefactoringOptions) |
+ * options: RefactoringOptions (optional) |
* |
* Data used to provide values provided by the user. The structure of the |
* data is dependent on the kind of refactoring being performed. The data |
@@ -693,39 +693,39 @@ abstract class IntegrationTestMixin { |
* |
* Returns |
* |
- * initialProblems (List<RefactoringProblem>) |
+ * initialProblems: List<RefactoringProblem> |
* |
* The initial status of the refactoring, that is, problems related to the |
* context in which the refactoring is requested. The list should be empty |
* if there are no known problems. |
* |
- * optionsProblems (List<RefactoringProblem>) |
+ * optionsProblems: List<RefactoringProblem> |
* |
* The options validation status, that is, problems in the given options, |
* such as light-weight validation of a new name, flags compatibility, etc. |
* The list should be empty if there are no known problems. |
* |
- * finalProblems (List<RefactoringProblem>) |
+ * finalProblems: List<RefactoringProblem> |
* |
* The final status of the refactoring, that is, problems identified in the |
* result of a full, potentially expensive validation and / or change |
* creation. The list should be empty if there are no known problems. |
* |
- * feedback (optional RefactoringFeedback) |
+ * feedback: RefactoringFeedback (optional) |
* |
* Data used to provide feedback to the user. The structure of the data is |
* dependent on the kind of refactoring being created. The data that is |
* returned is documented in the section titled Refactorings, labeled as |
* "Feedback". |
* |
- * change (optional SourceChange) |
+ * change: SourceChange (optional) |
* |
* The changes that are to be applied to affect the refactoring. This field |
* can be omitted if there are problems that prevent a set of changes from |
* being computed, such as having no options specified for a refactoring |
* that requires them, or if only validation was requested. |
* |
- * potentialEdits (optional List<String>) |
+ * potentialEdits: List<String> (optional) |
* |
* The ids of source edits that are not known to be valid. An edit is not |
* known to be valid if there was insufficient type information for the |