OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library analysis_server.plugin.edit.fix.fix_core; | 5 library analysis_server.plugin.edit.fix.fix_core; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/plugin/protocol/protocol.dart' | 9 import 'package:analysis_server/protocol/protocol_generated.dart' |
10 show SourceChange; | 10 show SourceChange; |
11 import 'package:analyzer/error/error.dart'; | 11 import 'package:analyzer/error/error.dart'; |
12 import 'package:analyzer/file_system/file_system.dart'; | 12 import 'package:analyzer/file_system/file_system.dart'; |
13 import 'package:analyzer/src/generated/engine.dart'; | 13 import 'package:analyzer/src/generated/engine.dart'; |
14 | 14 |
15 /** | 15 /** |
16 * A description of a single proposed fix for some problem. | 16 * A description of a single proposed fix for some problem. |
17 * | 17 * |
18 * Clients may not extend, implement or mix-in this class. | 18 * Clients may not extend, implement or mix-in this class. |
19 */ | 19 */ |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 /** | 118 /** |
119 * Initialize a newly created kind of fix to have the given [name], | 119 * Initialize a newly created kind of fix to have the given [name], |
120 * [relevance] and [message]. | 120 * [relevance] and [message]. |
121 */ | 121 */ |
122 const FixKind(this.name, this.relevance, this.message); | 122 const FixKind(this.name, this.relevance, this.message); |
123 | 123 |
124 @override | 124 @override |
125 String toString() => name; | 125 String toString() => name; |
126 } | 126 } |
OLD | NEW |