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

Unified Diff: pkg/analyzer_plugin/lib/protocol/protocol_common.dart

Issue 2883793002: Stop sharing two types between wire protocols (Closed)
Patch Set: Created 3 years, 7 months 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
Index: pkg/analyzer_plugin/lib/protocol/protocol_common.dart
diff --git a/pkg/analyzer_plugin/lib/protocol/protocol_common.dart b/pkg/analyzer_plugin/lib/protocol/protocol_common.dart
index 881f7bd3e56521fdff6e55911ec428cb6f4c1030..c3e7d04b30af34fb4d25e9f4705f87559c002b1e 100644
--- a/pkg/analyzer_plugin/lib/protocol/protocol_common.dart
+++ b/pkg/analyzer_plugin/lib/protocol/protocol_common.dart
@@ -4182,47 +4182,6 @@ class Position implements HasToJson {
}
/**
- * RefactoringFeedback
- *
- * {
- * }
- *
- * Clients may not extend, implement or mix-in this class.
- */
-class RefactoringFeedback implements HasToJson {
- RefactoringFeedback();
-
- factory RefactoringFeedback.fromJson(
- JsonDecoder jsonDecoder, String jsonPath, Object json, Map responseJson) {
- return refactoringFeedbackFromJson(
- jsonDecoder, jsonPath, json, responseJson);
- }
-
- @override
- Map<String, dynamic> toJson() {
- Map<String, dynamic> result = {};
- return result;
- }
-
- @override
- String toString() => JSON.encode(toJson());
-
- @override
- bool operator ==(other) {
- if (other is RefactoringFeedback) {
- return true;
- }
- return false;
- }
-
- @override
- int get hashCode {
- int hash = 0;
- return JenkinsSmiHash.finish(hash);
- }
-}
-
-/**
* RefactoringKind
*
* enum {
@@ -4579,46 +4538,6 @@ class RefactoringMethodParameterKind implements Enum {
}
/**
- * RefactoringOptions
- *
- * {
- * }
- *
- * Clients may not extend, implement or mix-in this class.
- */
-class RefactoringOptions implements HasToJson {
- RefactoringOptions();
-
- factory RefactoringOptions.fromJson(JsonDecoder jsonDecoder, String jsonPath,
- Object json, RefactoringKind kind) {
- return refactoringOptionsFromJson(jsonDecoder, jsonPath, json, kind);
- }
-
- @override
- Map<String, dynamic> toJson() {
- Map<String, dynamic> result = {};
- return result;
- }
-
- @override
- String toString() => JSON.encode(toJson());
-
- @override
- bool operator ==(other) {
- if (other is RefactoringOptions) {
- return true;
- }
- return false;
- }
-
- @override
- int get hashCode {
- int hash = 0;
- return JenkinsSmiHash.finish(hash);
- }
-}
-
-/**
* RefactoringProblem
*
* {
« no previous file with comments | « pkg/analyzer_plugin/lib/protocol/protocol.dart ('k') | pkg/analyzer_plugin/lib/protocol/protocol_generated.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698