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

Side by Side Diff: pkg/analysis_server/lib/src/domains/analysis/implemented_dart.dart

Issue 1527793003: Clean up imports in analysis_server and analyzer_cli (and one missed in analyzer) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
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 domains.analysis.implemented_dart; 5 library domains.analysis.implemented_dart;
6 6
7 import 'package:analysis_server/src/protocol_server.dart' as protocol; 7 import 'package:analysis_server/src/protocol_server.dart' as protocol;
8 import 'package:analysis_server/src/services/search/hierarchy.dart'; 8 import 'package:analysis_server/src/services/search/hierarchy.dart';
9 import 'package:analysis_server/src/services/search/search_engine.dart'; 9 import 'package:analysis_server/src/services/search/search_engine.dart';
10 import 'package:analyzer/src/generated/element.dart'; 10 import 'package:analyzer/dart/element/element.dart';
11 11
12 class ImplementedComputer { 12 class ImplementedComputer {
13 final SearchEngine searchEngine; 13 final SearchEngine searchEngine;
14 final CompilationUnitElement unitElement; 14 final CompilationUnitElement unitElement;
15 15
16 List<protocol.ImplementedClass> classes = <protocol.ImplementedClass>[]; 16 List<protocol.ImplementedClass> classes = <protocol.ImplementedClass>[];
17 List<protocol.ImplementedMember> members = <protocol.ImplementedMember>[]; 17 List<protocol.ImplementedMember> members = <protocol.ImplementedMember>[];
18 18
19 Set<ClassElement> subtypes; 19 Set<ClassElement> subtypes;
20 20
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 */ 82 */
83 static bool _isStatic(Element element) { 83 static bool _isStatic(Element element) {
84 if (element is ExecutableElement) { 84 if (element is ExecutableElement) {
85 return element.isStatic; 85 return element.isStatic;
86 } else if (element is PropertyInducingElement) { 86 } else if (element is PropertyInducingElement) {
87 return element.isStatic; 87 return element.isStatic;
88 } 88 }
89 return false; 89 return false;
90 } 90 }
91 } 91 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/domain_analysis.dart ('k') | pkg/analysis_server/lib/src/domains/analysis/navigation_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698