OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:collection'; | 5 import 'dart:collection'; |
6 | 6 |
7 import 'package:analysis_server/protocol/protocol_generated.dart' as server; | 7 import 'package:analysis_server/protocol/protocol_generated.dart' as server; |
8 import 'package:analysis_server/src/channel/channel.dart'; | 8 import 'package:analysis_server/src/channel/channel.dart'; |
9 import 'package:analysis_server/src/plugin/result_collector.dart'; | 9 import 'package:analysis_server/src/plugin/result_collector.dart'; |
10 import 'package:analysis_server/src/plugin/result_converter.dart'; | 10 import 'package:analysis_server/src/plugin/result_converter.dart'; |
11 import 'package:analysis_server/src/plugin/result_merger.dart'; | 11 import 'package:analysis_server/src/plugin/result_merger.dart'; |
12 import 'package:analyzer/file_system/file_system.dart'; | 12 import 'package:analyzer/file_system/file_system.dart'; |
13 import 'package:analyzer_plugin/protocol/protocol.dart' as plugin; | 13 import 'package:analyzer_plugin/protocol/protocol.dart' as plugin; |
| 14 import 'package:analyzer_plugin/protocol/protocol_common.dart' as plugin; |
14 import 'package:analyzer_plugin/protocol/protocol_constants.dart' as plugin; | 15 import 'package:analyzer_plugin/protocol/protocol_constants.dart' as plugin; |
15 import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; | 16 import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; |
16 | 17 |
17 /** | 18 /** |
18 * The object used to coordinate the results of notifications from the analysis | 19 * The object used to coordinate the results of notifications from the analysis |
19 * server and multiple plugins. | 20 * server and multiple plugins. |
20 */ | 21 */ |
21 class NotificationManager { | 22 class NotificationManager { |
22 /** | 23 /** |
23 * The identifier used to identify results from the server. | 24 * The identifier used to identify results from the server. |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 } | 390 } |
390 } | 391 } |
391 return false; | 392 return false; |
392 } | 393 } |
393 | 394 |
394 // TODO(brianwilkerson) Return false if error notifications are globally | 395 // TODO(brianwilkerson) Return false if error notifications are globally |
395 // disabled. | 396 // disabled. |
396 return isIncluded() && !isExcluded(); | 397 return isIncluded() && !isExcluded(); |
397 } | 398 } |
398 } | 399 } |
OLD | NEW |