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/plugin/protocol/protocol.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_constants.dart' as plugin; | 14 import 'package:analyzer_plugin/protocol/protocol_constants.dart' as plugin; |
15 import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; | 15 import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; |
16 | 16 |
17 /** | 17 /** |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 } | 389 } |
390 } | 390 } |
391 return false; | 391 return false; |
392 } | 392 } |
393 | 393 |
394 // TODO(brianwilkerson) Return false if error notifications are globally | 394 // TODO(brianwilkerson) Return false if error notifications are globally |
395 // disabled. | 395 // disabled. |
396 return isIncluded() && !isExcluded(); | 396 return isIncluded() && !isExcluded(); |
397 } | 397 } |
398 } | 398 } |
OLD | NEW |