| Index: pkg/analysis_server/lib/src/generated_protocol.dart
|
| diff --git a/pkg/analysis_server/lib/src/generated_protocol.dart b/pkg/analysis_server/lib/src/generated_protocol.dart
|
| index e123f43e3b3a227deb4b6ae6239bbc2bba83818a..35ccc6b4df307b7ae3b9bd56cb87908d59e0fee9 100644
|
| --- a/pkg/analysis_server/lib/src/generated_protocol.dart
|
| +++ b/pkg/analysis_server/lib/src/generated_protocol.dart
|
| @@ -36,7 +36,7 @@ class ServerGetVersionParams {
|
| * "version": String
|
| * }
|
| */
|
| -class ServerGetVersionResult {
|
| +class ServerGetVersionResult implements HasToJson {
|
| /**
|
| * The version number of the analysis server.
|
| */
|
| @@ -144,7 +144,7 @@ class ServerShutdownResult {
|
| * "subscriptions": List<ServerService>
|
| * }
|
| */
|
| -class ServerSetSubscriptionsParams {
|
| +class ServerSetSubscriptionsParams implements HasToJson {
|
| /**
|
| * A list of the services being subscribed to.
|
| */
|
| @@ -254,7 +254,7 @@ class ServerConnectedParams {
|
| * "stackTrace": String
|
| * }
|
| */
|
| -class ServerErrorParams {
|
| +class ServerErrorParams implements HasToJson {
|
| /**
|
| * True if the error is a fatal error, meaning that the server will shutdown
|
| * automatically after sending this notification.
|
| @@ -350,7 +350,7 @@ class ServerErrorParams {
|
| * "analysis": optional AnalysisStatus
|
| * }
|
| */
|
| -class ServerStatusParams {
|
| +class ServerStatusParams implements HasToJson {
|
| /**
|
| * The current status of analysis, including whether analysis is being
|
| * performed and if so what is being analyzed.
|
| @@ -417,7 +417,7 @@ class ServerStatusParams {
|
| * "file": FilePath
|
| * }
|
| */
|
| -class AnalysisGetErrorsParams {
|
| +class AnalysisGetErrorsParams implements HasToJson {
|
| /**
|
| * The file for which errors are being requested.
|
| */
|
| @@ -483,7 +483,7 @@ class AnalysisGetErrorsParams {
|
| * "errors": List<AnalysisError>
|
| * }
|
| */
|
| -class AnalysisGetErrorsResult {
|
| +class AnalysisGetErrorsResult implements HasToJson {
|
| /**
|
| * The errors associated with the file.
|
| */
|
| @@ -550,7 +550,7 @@ class AnalysisGetErrorsResult {
|
| * "offset": int
|
| * }
|
| */
|
| -class AnalysisGetHoverParams {
|
| +class AnalysisGetHoverParams implements HasToJson {
|
| /**
|
| * The file in which hover information is being requested.
|
| */
|
| @@ -630,7 +630,7 @@ class AnalysisGetHoverParams {
|
| * "hovers": List<HoverInformation>
|
| * }
|
| */
|
| -class AnalysisGetHoverResult {
|
| +class AnalysisGetHoverResult implements HasToJson {
|
| /**
|
| * The hover information associated with the location. The list will be empty
|
| * if no information could be determined for the location. The list can
|
| @@ -743,7 +743,7 @@ class AnalysisReanalyzeResult {
|
| * "excluded": List<FilePath>
|
| * }
|
| */
|
| -class AnalysisSetAnalysisRootsParams {
|
| +class AnalysisSetAnalysisRootsParams implements HasToJson {
|
| /**
|
| * A list of the files and directories that should be analyzed.
|
| */
|
| @@ -845,7 +845,7 @@ class AnalysisSetAnalysisRootsResult {
|
| * "files": List<FilePath>
|
| * }
|
| */
|
| -class AnalysisSetPriorityFilesParams {
|
| +class AnalysisSetPriorityFilesParams implements HasToJson {
|
| /**
|
| * The files that are to be a priority for analysis.
|
| */
|
| @@ -932,7 +932,7 @@ class AnalysisSetPriorityFilesResult {
|
| * "subscriptions": Map<AnalysisService, List<FilePath>>
|
| * }
|
| */
|
| -class AnalysisSetSubscriptionsParams {
|
| +class AnalysisSetSubscriptionsParams implements HasToJson {
|
| /**
|
| * A table mapping services to a list of the files being subscribed to the
|
| * service.
|
| @@ -1020,7 +1020,7 @@ class AnalysisSetSubscriptionsResult {
|
| * "files": Map<FilePath, AddContentOverlay | ChangeContentOverlay | RemoveContentOverlay>
|
| * }
|
| */
|
| -class AnalysisUpdateContentParams {
|
| +class AnalysisUpdateContentParams implements HasToJson {
|
| /**
|
| * A table mapping the files whose content has changed to a description of
|
| * the content change.
|
| @@ -1108,7 +1108,7 @@ class AnalysisUpdateContentResult {
|
| * "options": AnalysisOptions
|
| * }
|
| */
|
| -class AnalysisUpdateOptionsParams {
|
| +class AnalysisUpdateOptionsParams implements HasToJson {
|
| /**
|
| * The options that are to be used to control analysis.
|
| */
|
| @@ -1196,7 +1196,7 @@ class AnalysisUpdateOptionsResult {
|
| * "errors": List<AnalysisError>
|
| * }
|
| */
|
| -class AnalysisErrorsParams {
|
| +class AnalysisErrorsParams implements HasToJson {
|
| /**
|
| * The file containing the errors.
|
| */
|
| @@ -1276,7 +1276,7 @@ class AnalysisErrorsParams {
|
| * "files": List<FilePath>
|
| * }
|
| */
|
| -class AnalysisFlushResultsParams {
|
| +class AnalysisFlushResultsParams implements HasToJson {
|
| /**
|
| * The files that are no longer being analyzed.
|
| */
|
| @@ -1343,7 +1343,7 @@ class AnalysisFlushResultsParams {
|
| * "regions": List<FoldingRegion>
|
| * }
|
| */
|
| -class AnalysisFoldingParams {
|
| +class AnalysisFoldingParams implements HasToJson {
|
| /**
|
| * The file containing the folding regions.
|
| */
|
| @@ -1424,7 +1424,7 @@ class AnalysisFoldingParams {
|
| * "regions": List<HighlightRegion>
|
| * }
|
| */
|
| -class AnalysisHighlightsParams {
|
| +class AnalysisHighlightsParams implements HasToJson {
|
| /**
|
| * The file containing the highlight regions.
|
| */
|
| @@ -1509,7 +1509,7 @@ class AnalysisHighlightsParams {
|
| * "regions": List<NavigationRegion>
|
| * }
|
| */
|
| -class AnalysisNavigationParams {
|
| +class AnalysisNavigationParams implements HasToJson {
|
| /**
|
| * The file containing the navigation regions.
|
| */
|
| @@ -1595,7 +1595,7 @@ class AnalysisNavigationParams {
|
| * "occurrences": List<Occurrences>
|
| * }
|
| */
|
| -class AnalysisOccurrencesParams {
|
| +class AnalysisOccurrencesParams implements HasToJson {
|
| /**
|
| * The file in which the references occur.
|
| */
|
| @@ -1676,7 +1676,7 @@ class AnalysisOccurrencesParams {
|
| * "outline": Outline
|
| * }
|
| */
|
| -class AnalysisOutlineParams {
|
| +class AnalysisOutlineParams implements HasToJson {
|
| /**
|
| * The file with which the outline is associated.
|
| */
|
| @@ -1757,7 +1757,7 @@ class AnalysisOutlineParams {
|
| * "overrides": List<Override>
|
| * }
|
| */
|
| -class AnalysisOverridesParams {
|
| +class AnalysisOverridesParams implements HasToJson {
|
| /**
|
| * The file with which the overrides are associated.
|
| */
|
| @@ -1838,7 +1838,7 @@ class AnalysisOverridesParams {
|
| * "offset": int
|
| * }
|
| */
|
| -class CompletionGetSuggestionsParams {
|
| +class CompletionGetSuggestionsParams implements HasToJson {
|
| /**
|
| * The file containing the point at which suggestions are to be made.
|
| */
|
| @@ -1918,7 +1918,7 @@ class CompletionGetSuggestionsParams {
|
| * "id": CompletionId
|
| * }
|
| */
|
| -class CompletionGetSuggestionsResult {
|
| +class CompletionGetSuggestionsResult implements HasToJson {
|
| /**
|
| * The identifier used to associate results with this completion request.
|
| */
|
| @@ -1988,7 +1988,7 @@ class CompletionGetSuggestionsResult {
|
| * "isLast": bool
|
| * }
|
| */
|
| -class CompletionResultsParams {
|
| +class CompletionResultsParams implements HasToJson {
|
| /**
|
| * The id associated with the completion.
|
| */
|
| @@ -2122,7 +2122,7 @@ class CompletionResultsParams {
|
| * "includePotential": bool
|
| * }
|
| */
|
| -class SearchFindElementReferencesParams {
|
| +class SearchFindElementReferencesParams implements HasToJson {
|
| /**
|
| * The file containing the declaration of or reference to the element used to
|
| * define the search.
|
| @@ -2219,7 +2219,7 @@ class SearchFindElementReferencesParams {
|
| * "element": optional Element
|
| * }
|
| */
|
| -class SearchFindElementReferencesResult {
|
| +class SearchFindElementReferencesResult implements HasToJson {
|
| /**
|
| * The identifier used to associate results with this search request.
|
| */
|
| @@ -2302,7 +2302,7 @@ class SearchFindElementReferencesResult {
|
| * "name": String
|
| * }
|
| */
|
| -class SearchFindMemberDeclarationsParams {
|
| +class SearchFindMemberDeclarationsParams implements HasToJson {
|
| /**
|
| * The name of the declarations to be found.
|
| */
|
| @@ -2368,7 +2368,7 @@ class SearchFindMemberDeclarationsParams {
|
| * "id": SearchId
|
| * }
|
| */
|
| -class SearchFindMemberDeclarationsResult {
|
| +class SearchFindMemberDeclarationsResult implements HasToJson {
|
| /**
|
| * The identifier used to associate results with this search request.
|
| */
|
| @@ -2434,7 +2434,7 @@ class SearchFindMemberDeclarationsResult {
|
| * "name": String
|
| * }
|
| */
|
| -class SearchFindMemberReferencesParams {
|
| +class SearchFindMemberReferencesParams implements HasToJson {
|
| /**
|
| * The name of the references to be found.
|
| */
|
| @@ -2500,7 +2500,7 @@ class SearchFindMemberReferencesParams {
|
| * "id": SearchId
|
| * }
|
| */
|
| -class SearchFindMemberReferencesResult {
|
| +class SearchFindMemberReferencesResult implements HasToJson {
|
| /**
|
| * The identifier used to associate results with this search request.
|
| */
|
| @@ -2566,7 +2566,7 @@ class SearchFindMemberReferencesResult {
|
| * "pattern": String
|
| * }
|
| */
|
| -class SearchFindTopLevelDeclarationsParams {
|
| +class SearchFindTopLevelDeclarationsParams implements HasToJson {
|
| /**
|
| * The regular expression used to match the names of the declarations to be
|
| * found.
|
| @@ -2633,7 +2633,7 @@ class SearchFindTopLevelDeclarationsParams {
|
| * "id": SearchId
|
| * }
|
| */
|
| -class SearchFindTopLevelDeclarationsResult {
|
| +class SearchFindTopLevelDeclarationsResult implements HasToJson {
|
| /**
|
| * The identifier used to associate results with this search request.
|
| */
|
| @@ -2700,7 +2700,7 @@ class SearchFindTopLevelDeclarationsResult {
|
| * "offset": int
|
| * }
|
| */
|
| -class SearchGetTypeHierarchyParams {
|
| +class SearchGetTypeHierarchyParams implements HasToJson {
|
| /**
|
| * The file containing the declaration or reference to the type for which a
|
| * hierarchy is being requested.
|
| @@ -2781,7 +2781,7 @@ class SearchGetTypeHierarchyParams {
|
| * "hierarchyItems": optional List<TypeHierarchyItem>
|
| * }
|
| */
|
| -class SearchGetTypeHierarchyResult {
|
| +class SearchGetTypeHierarchyResult implements HasToJson {
|
| /**
|
| * A list of the types in the requested hierarchy. The first element of the
|
| * list is the item representing the type for which the hierarchy was
|
| @@ -2863,7 +2863,7 @@ class SearchGetTypeHierarchyResult {
|
| * "isLast": bool
|
| * }
|
| */
|
| -class SearchResultsParams {
|
| +class SearchResultsParams implements HasToJson {
|
| /**
|
| * The id associated with the search.
|
| */
|
| @@ -2960,7 +2960,7 @@ class SearchResultsParams {
|
| * "length": int
|
| * }
|
| */
|
| -class EditGetAssistsParams {
|
| +class EditGetAssistsParams implements HasToJson {
|
| /**
|
| * The file containing the code for which assists are being requested.
|
| */
|
| @@ -3054,7 +3054,7 @@ class EditGetAssistsParams {
|
| * "assists": List<SourceChange>
|
| * }
|
| */
|
| -class EditGetAssistsResult {
|
| +class EditGetAssistsResult implements HasToJson {
|
| /**
|
| * The assists that are available at the given location.
|
| */
|
| @@ -3122,7 +3122,7 @@ class EditGetAssistsResult {
|
| * "length": int
|
| * }
|
| */
|
| -class EditGetAvailableRefactoringsParams {
|
| +class EditGetAvailableRefactoringsParams implements HasToJson {
|
| /**
|
| * The file containing the code on which the refactoring would be based.
|
| */
|
| @@ -3216,7 +3216,7 @@ class EditGetAvailableRefactoringsParams {
|
| * "kinds": List<RefactoringKind>
|
| * }
|
| */
|
| -class EditGetAvailableRefactoringsResult {
|
| +class EditGetAvailableRefactoringsResult implements HasToJson {
|
| /**
|
| * The kinds of refactorings that are valid for the given selection.
|
| */
|
| @@ -3283,7 +3283,7 @@ class EditGetAvailableRefactoringsResult {
|
| * "offset": int
|
| * }
|
| */
|
| -class EditGetFixesParams {
|
| +class EditGetFixesParams implements HasToJson {
|
| /**
|
| * The file containing the errors for which fixes are being requested.
|
| */
|
| @@ -3363,7 +3363,7 @@ class EditGetFixesParams {
|
| * "fixes": List<ErrorFixes>
|
| * }
|
| */
|
| -class EditGetFixesResult {
|
| +class EditGetFixesResult implements HasToJson {
|
| /**
|
| * The fixes that are available for each of the analysis errors. There is a
|
| * one-to-one correspondence between the analysis errors in the request and
|
| @@ -3439,7 +3439,7 @@ class EditGetFixesResult {
|
| * "options": optional object
|
| * }
|
| */
|
| -class EditGetRefactoringParams {
|
| +class EditGetRefactoringParams implements HasToJson {
|
| /**
|
| * The kind of refactoring to be performed.
|
| */
|
| @@ -3473,7 +3473,7 @@ class EditGetRefactoringParams {
|
| * as “Options”. This field can be omitted if the refactoring does not
|
| * require any options or if the values of those options are not known.
|
| */
|
| - Object options;
|
| + Map options;
|
|
|
| EditGetRefactoringParams(this.kind, this.file, this.offset, this.length, this.validateOnly, {this.options});
|
|
|
| @@ -3512,7 +3512,7 @@ class EditGetRefactoringParams {
|
| } else {
|
| throw jsonDecoder.missingKey(jsonPath, "validateOnly");
|
| }
|
| - Object options;
|
| + Map options;
|
| if (json.containsKey("options")) {
|
| options = json["options"];
|
| }
|
| @@ -3583,7 +3583,7 @@ class EditGetRefactoringParams {
|
| * "potentialEdits": optional List<String>
|
| * }
|
| */
|
| -class EditGetRefactoringResult {
|
| +class EditGetRefactoringResult implements HasToJson {
|
| /**
|
| * The status of the refactoring. The array will be empty if there are no
|
| * known problems.
|
| @@ -3596,7 +3596,7 @@ class EditGetRefactoringResult {
|
| * returned is documented in the section titled Refactorings, labeled as
|
| * “Feedback”.
|
| */
|
| - Object feedback;
|
| + Map feedback;
|
|
|
| /**
|
| * The changes that are to be applied to affect the refactoring. This field
|
| @@ -3633,7 +3633,7 @@ class EditGetRefactoringResult {
|
| } else {
|
| throw jsonDecoder.missingKey(jsonPath, "problems");
|
| }
|
| - Object feedback;
|
| + Map feedback;
|
| if (json.containsKey("feedback")) {
|
| feedback = json["feedback"];
|
| }
|
| @@ -3709,7 +3709,7 @@ class EditGetRefactoringResult {
|
| * "contextRoot": FilePath
|
| * }
|
| */
|
| -class DebugCreateContextParams {
|
| +class DebugCreateContextParams implements HasToJson {
|
| /**
|
| * The path of the Dart or HTML file that will be launched.
|
| */
|
| @@ -3775,7 +3775,7 @@ class DebugCreateContextParams {
|
| * "id": DebugContextId
|
| * }
|
| */
|
| -class DebugCreateContextResult {
|
| +class DebugCreateContextResult implements HasToJson {
|
| /**
|
| * The identifier used to refer to the debugging context that was created.
|
| */
|
| @@ -3841,7 +3841,7 @@ class DebugCreateContextResult {
|
| * "id": DebugContextId
|
| * }
|
| */
|
| -class DebugDeleteContextParams {
|
| +class DebugDeleteContextParams implements HasToJson {
|
| /**
|
| * The identifier of the debugging context that is to be deleted.
|
| */
|
| @@ -3930,7 +3930,7 @@ class DebugDeleteContextResult {
|
| * "uri": optional String
|
| * }
|
| */
|
| -class DebugMapUriParams {
|
| +class DebugMapUriParams implements HasToJson {
|
| /**
|
| * The identifier of the debugging context in which the URI is to be mapped.
|
| */
|
| @@ -4025,7 +4025,7 @@ class DebugMapUriParams {
|
| * "uri": optional String
|
| * }
|
| */
|
| -class DebugMapUriResult {
|
| +class DebugMapUriResult implements HasToJson {
|
| /**
|
| * The file to which the URI was mapped. This field is omitted if the uri
|
| * field was not given in the request.
|
| @@ -4107,7 +4107,7 @@ class DebugMapUriResult {
|
| * "subscriptions": List<DebugService>
|
| * }
|
| */
|
| -class DebugSetSubscriptionsParams {
|
| +class DebugSetSubscriptionsParams implements HasToJson {
|
| /**
|
| * A list of the services being subscribed to.
|
| */
|
| @@ -4196,7 +4196,7 @@ class DebugSetSubscriptionsResult {
|
| * "htmlToDart": Map<FilePath, List<FilePath>>
|
| * }
|
| */
|
| -class DebugLaunchDataParams {
|
| +class DebugLaunchDataParams implements HasToJson {
|
| /**
|
| * A list of the files that are executable in the given context. This list
|
| * replaces any previous list provided for the given context.
|
| @@ -4294,7 +4294,7 @@ class DebugLaunchDataParams {
|
| * "content": String
|
| * }
|
| */
|
| -class AddContentOverlay {
|
| +class AddContentOverlay implements HasToJson {
|
| /**
|
| * The new content of the file.
|
| */
|
| @@ -4360,7 +4360,7 @@ class AddContentOverlay {
|
| * "correction": optional String
|
| * }
|
| */
|
| -class AnalysisError {
|
| +class AnalysisError implements HasToJson {
|
| /**
|
| * Returns a list of AnalysisErrors correponding to the given list of Engine
|
| * errors.
|
| @@ -4493,7 +4493,7 @@ class AnalysisError {
|
| * "generateHints": optional bool
|
| * }
|
| */
|
| -class AnalysisOptions {
|
| +class AnalysisOptions implements HasToJson {
|
| /**
|
| * True if the client wants to enable support for the proposed async feature.
|
| */
|
| @@ -4674,7 +4674,7 @@ class AnalysisService {
|
| * "analysisTarget": optional String
|
| * }
|
| */
|
| -class AnalysisStatus {
|
| +class AnalysisStatus implements HasToJson {
|
| /**
|
| * True if analysis is currently being performed.
|
| */
|
| @@ -4747,7 +4747,7 @@ class AnalysisStatus {
|
| * "edits": List<SourceEdit>
|
| * }
|
| */
|
| -class ChangeContentOverlay {
|
| +class ChangeContentOverlay implements HasToJson {
|
| /**
|
| * The edits to be applied to the file.
|
| */
|
| @@ -4874,7 +4874,7 @@ class CompletionRelevance {
|
| * "parameterType": optional String
|
| * }
|
| */
|
| -class CompletionSuggestion {
|
| +class CompletionSuggestion implements HasToJson {
|
| /**
|
| * The kind of element being suggested.
|
| */
|
| @@ -5369,7 +5369,7 @@ class DebugService {
|
| * "returnType": optional String
|
| * }
|
| */
|
| -class Element {
|
| +class Element implements HasToJson {
|
| static const int FLAG_ABSTRACT = 0x01;
|
| static const int FLAG_CONST = 0x02;
|
| static const int FLAG_FINAL = 0x04;
|
| @@ -5672,7 +5672,7 @@ class ElementKind {
|
| * "data": optional object
|
| * }
|
| */
|
| -class Error {
|
| +class Error implements HasToJson {
|
| /**
|
| * A code that uniquely identifies the error that occurred.
|
| */
|
| @@ -5687,7 +5687,7 @@ class Error {
|
| * Additional data related to the error. This field is omitted if there is no
|
| * additional data available.
|
| */
|
| - Object data;
|
| + Map data;
|
|
|
| Error(this.code, this.message, {this.data});
|
|
|
| @@ -5708,7 +5708,7 @@ class Error {
|
| } else {
|
| throw jsonDecoder.missingKey(jsonPath, "message");
|
| }
|
| - Object data;
|
| + Map data;
|
| if (json.containsKey("data")) {
|
| data = json["data"];
|
| }
|
| @@ -5759,7 +5759,7 @@ class Error {
|
| * "fixes": List<SourceChange>
|
| * }
|
| */
|
| -class ErrorFixes {
|
| +class ErrorFixes implements HasToJson {
|
| /**
|
| * The error with which the fixes are associated.
|
| */
|
| @@ -5955,7 +5955,7 @@ class ErrorType {
|
| * "offset": ExecutableKind
|
| * }
|
| */
|
| -class ExecutableFile {
|
| +class ExecutableFile implements HasToJson {
|
| /**
|
| * The path of the executable file.
|
| */
|
| @@ -6136,7 +6136,7 @@ class FoldingKind {
|
| * "length": int
|
| * }
|
| */
|
| -class FoldingRegion {
|
| +class FoldingRegion implements HasToJson {
|
| /**
|
| * The kind of the region.
|
| */
|
| @@ -6223,7 +6223,7 @@ class FoldingRegion {
|
| * "length": int
|
| * }
|
| */
|
| -class HighlightRegion {
|
| +class HighlightRegion implements HasToJson {
|
| /**
|
| * The type of highlight associated with the region.
|
| */
|
| @@ -6526,7 +6526,7 @@ class HighlightRegionType {
|
| * "staticType": optional String
|
| * }
|
| */
|
| -class HoverInformation {
|
| +class HoverInformation implements HasToJson {
|
| /**
|
| * The offset of the range of characters that encompases the cursor position
|
| * and has the same hover information as the cursor position.
|
| @@ -6727,7 +6727,7 @@ class HoverInformation {
|
| * "suggestions": List<LinkedEditSuggestion>
|
| * }
|
| */
|
| -class LinkedEditGroup {
|
| +class LinkedEditGroup implements HasToJson {
|
| /**
|
| * The positions of the regions that should be edited simultaneously.
|
| */
|
| @@ -6834,7 +6834,7 @@ class LinkedEditGroup {
|
| * "kind": LinkedEditSuggestionKind
|
| * }
|
| */
|
| -class LinkedEditSuggestion {
|
| +class LinkedEditSuggestion implements HasToJson {
|
| /**
|
| * The value that could be used to replace all of the linked edit regions.
|
| */
|
| @@ -6963,7 +6963,7 @@ class LinkedEditSuggestionKind {
|
| * "startColumn": int
|
| * }
|
| */
|
| -class Location {
|
| +class Location implements HasToJson {
|
| /**
|
| * The file containing the range.
|
| */
|
| @@ -7104,7 +7104,7 @@ class Location {
|
| * "targets": List<Element>
|
| * }
|
| */
|
| -class NavigationRegion {
|
| +class NavigationRegion implements HasToJson {
|
| /**
|
| * The offset of the region from which the user can navigate.
|
| */
|
| @@ -7192,7 +7192,7 @@ class NavigationRegion {
|
| * "length": int
|
| * }
|
| */
|
| -class Occurrences {
|
| +class Occurrences implements HasToJson {
|
| /**
|
| * The element that was referenced.
|
| */
|
| @@ -7280,7 +7280,7 @@ class Occurrences {
|
| * "children": optional List<Outline>
|
| * }
|
| */
|
| -class Outline {
|
| +class Outline implements HasToJson {
|
| /**
|
| * A description of the element represented by this node.
|
| */
|
| @@ -7392,7 +7392,7 @@ class Outline {
|
| * "interfaceMembers": optional List<OverriddenMember>
|
| * }
|
| */
|
| -class Override {
|
| +class Override implements HasToJson {
|
| /**
|
| * The offset of the name of the overriding member.
|
| */
|
| @@ -7502,7 +7502,7 @@ class Override {
|
| * "className": String
|
| * }
|
| */
|
| -class OverriddenMember {
|
| +class OverriddenMember implements HasToJson {
|
| /**
|
| * The element that is being overridden.
|
| */
|
| @@ -7580,7 +7580,7 @@ class OverriddenMember {
|
| * "offset": int
|
| * }
|
| */
|
| -class Position {
|
| +class Position implements HasToJson {
|
| /**
|
| * The file containing the position.
|
| */
|
| @@ -7724,7 +7724,7 @@ class RefactoringKind {
|
| * "parameters": optional String
|
| * }
|
| */
|
| -class RefactoringMethodParameter {
|
| +class RefactoringMethodParameter implements HasToJson {
|
| /**
|
| * The unique identifier of the parameter. Clients may omit this field for
|
| * the parameters they want to add.
|
| @@ -7892,7 +7892,7 @@ class RefactoringMethodParameterKind {
|
| * "location": optional Location
|
| * }
|
| */
|
| -class RefactoringProblem {
|
| +class RefactoringProblem implements HasToJson {
|
| /**
|
| * The severity of the problem being represented.
|
| */
|
| @@ -8039,7 +8039,7 @@ class RefactoringProblemSeverity {
|
| * "type": "remove"
|
| * }
|
| */
|
| -class RemoveContentOverlay {
|
| +class RemoveContentOverlay implements HasToJson {
|
| RemoveContentOverlay();
|
|
|
| factory RemoveContentOverlay.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) {
|
| @@ -8186,7 +8186,7 @@ class RequestErrorCode {
|
| * "path": List<Element>
|
| * }
|
| */
|
| -class SearchResult {
|
| +class SearchResult implements HasToJson {
|
| /**
|
| * The location of the code that matched the search criteria.
|
| */
|
| @@ -8435,7 +8435,7 @@ class ServerService {
|
| * "selection": optional Position
|
| * }
|
| */
|
| -class SourceChange {
|
| +class SourceChange implements HasToJson {
|
| /**
|
| * A human-readable description of the change to be applied.
|
| */
|
| @@ -8571,7 +8571,7 @@ class SourceChange {
|
| * "id": optional String
|
| * }
|
| */
|
| -class SourceEdit {
|
| +class SourceEdit implements HasToJson {
|
| /**
|
| * Get the result of applying a set of [edits] to the given [code]. Edits are
|
| * applied in the order they appear in [edits].
|
| @@ -8701,7 +8701,7 @@ class SourceEdit {
|
| * "edits": List<SourceEdit>
|
| * }
|
| */
|
| -class SourceFileEdit {
|
| +class SourceFileEdit implements HasToJson {
|
| /**
|
| * The file containing the code to be modified.
|
| */
|
| @@ -8793,7 +8793,7 @@ class SourceFileEdit {
|
| * "subclasses": List<int>
|
| * }
|
| */
|
| -class TypeHierarchyItem {
|
| +class TypeHierarchyItem implements HasToJson {
|
| /**
|
| * The class element represented by this item.
|
| */
|
| @@ -9025,7 +9025,7 @@ class ConvertMethodToGetterOptions {
|
| * "lengths": List<int>
|
| * }
|
| */
|
| -class ExtractLocalVariableFeedback {
|
| +class ExtractLocalVariableFeedback implements HasToJson {
|
| /**
|
| * The proposed names for the local variable.
|
| */
|
| @@ -9120,7 +9120,7 @@ class ExtractLocalVariableFeedback {
|
| * "extractAll": bool
|
| * }
|
| */
|
| -class ExtractLocalVariableOptions {
|
| +class ExtractLocalVariableOptions implements HasToJson {
|
| /**
|
| * The name that the local variable should be given.
|
| */
|
| @@ -9207,7 +9207,7 @@ class ExtractLocalVariableOptions {
|
| * "lengths": List<int>
|
| * }
|
| */
|
| -class ExtractMethodFeedback {
|
| +class ExtractMethodFeedback implements HasToJson {
|
| /**
|
| * The offset to the beginning of the expression or statements that will be
|
| * extracted.
|
| @@ -9391,7 +9391,7 @@ class ExtractMethodFeedback {
|
| * "extractAll": bool
|
| * }
|
| */
|
| -class ExtractMethodOptions {
|
| +class ExtractMethodOptions implements HasToJson {
|
| /**
|
| * The return type that should be defined for the method.
|
| */
|
| @@ -9573,7 +9573,7 @@ class InlineMethodFeedback {
|
| * "inlineAll": bool
|
| * }
|
| */
|
| -class InlineMethodOptions {
|
| +class InlineMethodOptions implements HasToJson {
|
| /**
|
| * True if the method being inlined should be removed. It is an error if this
|
| * field is true and inlineAll is false.
|
| @@ -9652,7 +9652,7 @@ class InlineMethodOptions {
|
| * "length": int
|
| * }
|
| */
|
| -class RenameFeedback {
|
| +class RenameFeedback implements HasToJson {
|
| /**
|
| * The offset to the beginning of the name selected to be renamed.
|
| */
|
| @@ -9728,7 +9728,7 @@ class RenameFeedback {
|
| * "newName": String
|
| * }
|
| */
|
| -class RenameOptions {
|
| +class RenameOptions implements HasToJson {
|
| /**
|
| * The name that the element should have after the refactoring.
|
| */
|
|
|