| 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 services.completion.computer.dart.invocation; | 5 library services.completion.dart.invocation; | 
| 6 | 6 | 
| 7 import 'dart:async'; | 7 import 'dart:async'; | 
| 8 | 8 | 
| 9 import 'package:analysis_server/src/protocol_server.dart' | 9 import 'package:analysis_server/src/protocol_server.dart' | 
| 10     show CompletionSuggestion, CompletionSuggestionKind, SourceChange; | 10     show CompletionSuggestion, CompletionSuggestionKind, SourceChange; | 
| 11 import 'package:analysis_server/src/protocol_server.dart' as protocol | 11 import 'package:analysis_server/src/protocol_server.dart' as protocol | 
| 12     hide CompletionSuggestion, CompletionSuggestionKind; | 12     hide CompletionSuggestion, CompletionSuggestionKind; | 
| 13 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
     ; | 13 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
     ; | 
| 14 import 'package:analysis_server/src/provisional/completion/completion_dart.dart'
     ; | 14 import 'package:analysis_server/src/provisional/completion/completion_dart.dart'
     ; | 
| 15 import 'package:analysis_server/src/provisional/completion/dart/completion_targe
     t.dart'; | 15 import 'package:analysis_server/src/provisional/completion/dart/completion_targe
     t.dart'; | 
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 166    * Return `true` if the given [classElement] directly declares a member with | 166    * Return `true` if the given [classElement] directly declares a member with | 
| 167    * the given [memberName]. | 167    * the given [memberName]. | 
| 168    */ | 168    */ | 
| 169   bool _hasMember(ClassElement classElement, String memberName) { | 169   bool _hasMember(ClassElement classElement, String memberName) { | 
| 170     return classElement.getField(memberName) != null || | 170     return classElement.getField(memberName) != null || | 
| 171         classElement.getGetter(memberName) != null || | 171         classElement.getGetter(memberName) != null || | 
| 172         classElement.getMethod(memberName) != null || | 172         classElement.getMethod(memberName) != null || | 
| 173         classElement.getSetter(memberName) != null; | 173         classElement.getSetter(memberName) != null; | 
| 174   } | 174   } | 
| 175 } | 175 } | 
| OLD | NEW | 
|---|