| 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.assist.assist_core; | 5 library analysis_server.plugin.edit.assist.assist_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/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
| 12 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * A description of a single proposed assist. | 15 * A description of a single proposed assist. |
| 16 * | 16 * |
| 17 * Clients may not extend, implement or mix-in this class. | 17 * Clients may not extend, implement or mix-in this class. |
| 18 */ | 18 */ |
| 19 class Assist { | 19 class Assist { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 /** | 117 /** |
| 118 * Initialize a newly created kind of assist to have the given [name], | 118 * Initialize a newly created kind of assist to have the given [name], |
| 119 * [relevance] and [message]. | 119 * [relevance] and [message]. |
| 120 */ | 120 */ |
| 121 const AssistKind(this.name, this.relevance, this.message); | 121 const AssistKind(this.name, this.relevance, this.message); |
| 122 | 122 |
| 123 @override | 123 @override |
| 124 String toString() => name; | 124 String toString() => name; |
| 125 } | 125 } |
| OLD | NEW |