Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart

Issue 1453433002: Move diagnostics to `diagnostics` domain (#24931). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: master merge Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_diagnostic.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart
diff --git a/pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart b/pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart
index d076bd052a4aa61883c96a231711af822386482d..26a0080001c92d2e5adcfd3f2115a6e8df005572 100644
--- a/pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart
+++ b/pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart
@@ -7422,18 +7422,18 @@ class ExecutionLaunchDataParams implements HasToJson {
}
}
/**
- * experimental.getDiagnostics params
+ * diagnostic.getDiagnostics params
*
* Clients may not extend, implement or mix-in this class.
*/
-class ExperimentalGetDiagnosticsParams {
+class DiagnosticGetDiagnosticsParams {
Request toRequest(String id) {
- return new Request(id, "experimental.getDiagnostics", null);
+ return new Request(id, "diagnostic.getDiagnostics", null);
}
@override
bool operator==(other) {
- if (other is ExperimentalGetDiagnosticsParams) {
+ if (other is DiagnosticGetDiagnosticsParams) {
return true;
}
return false;
@@ -7441,12 +7441,12 @@ class ExperimentalGetDiagnosticsParams {
@override
int get hashCode {
- return 876666064;
+ return 587526202;
}
}
/**
- * experimental.getDiagnostics result
+ * diagnostic.getDiagnostics result
*
* {
* "contexts": List<ContextData>
@@ -7454,7 +7454,7 @@ class ExperimentalGetDiagnosticsParams {
*
* Clients may not extend, implement or mix-in this class.
*/
-class ExperimentalGetDiagnosticsResult implements HasToJson {
+class DiagnosticGetDiagnosticsResult implements HasToJson {
List<ContextData> _contexts;
/**
@@ -7470,11 +7470,11 @@ class ExperimentalGetDiagnosticsResult implements HasToJson {
this._contexts = value;
}
- ExperimentalGetDiagnosticsResult(List<ContextData> contexts) {
+ DiagnosticGetDiagnosticsResult(List<ContextData> contexts) {
this.contexts = contexts;
}
- factory ExperimentalGetDiagnosticsResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) {
+ factory DiagnosticGetDiagnosticsResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) {
if (json == null) {
json = {};
}
@@ -7485,14 +7485,14 @@ class ExperimentalGetDiagnosticsResult implements HasToJson {
} else {
throw jsonDecoder.missingKey(jsonPath, "contexts");
}
- return new ExperimentalGetDiagnosticsResult(contexts);
+ return new DiagnosticGetDiagnosticsResult(contexts);
} else {
- throw jsonDecoder.mismatch(jsonPath, "experimental.getDiagnostics result", json);
+ throw jsonDecoder.mismatch(jsonPath, "diagnostic.getDiagnostics result", json);
}
}
- factory ExperimentalGetDiagnosticsResult.fromResponse(Response response) {
- return new ExperimentalGetDiagnosticsResult.fromJson(
+ factory DiagnosticGetDiagnosticsResult.fromResponse(Response response) {
+ return new DiagnosticGetDiagnosticsResult.fromJson(
new ResponseDecoder(REQUEST_ID_REFACTORING_KINDS.remove(response.id)), "result", response._result);
}
@@ -7511,7 +7511,7 @@ class ExperimentalGetDiagnosticsResult implements HasToJson {
@override
bool operator==(other) {
- if (other is ExperimentalGetDiagnosticsResult) {
+ if (other is DiagnosticGetDiagnosticsResult) {
return listEqual(contexts, other.contexts, (ContextData a, ContextData b) => a == b);
}
return false;
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_diagnostic.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698