OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 analyzer.src.generated.element_handle; | 5 library analyzer.src.generated.element_handle; |
6 | 6 |
| 7 import 'package:analyzer/dart/element/element.dart'; |
| 8 import 'package:analyzer/dart/element/type.dart'; |
| 9 import 'package:analyzer/src/dart/element/element.dart'; |
7 import 'package:analyzer/src/generated/ast.dart'; | 10 import 'package:analyzer/src/generated/ast.dart'; |
8 import 'package:analyzer/src/generated/constant.dart'; | 11 import 'package:analyzer/src/generated/constant.dart'; |
9 import 'package:analyzer/src/generated/element.dart'; | |
10 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
11 import 'package:analyzer/src/generated/java_core.dart'; | 13 import 'package:analyzer/src/generated/java_core.dart'; |
12 import 'package:analyzer/src/generated/java_engine.dart'; | 14 import 'package:analyzer/src/generated/java_engine.dart'; |
13 import 'package:analyzer/src/generated/resolver.dart'; | 15 import 'package:analyzer/src/generated/resolver.dart'; |
14 import 'package:analyzer/src/generated/source.dart'; | 16 import 'package:analyzer/src/generated/source.dart'; |
15 import 'package:analyzer/src/generated/utilities_dart.dart'; | 17 import 'package:analyzer/src/generated/utilities_dart.dart'; |
16 | 18 |
17 /** | 19 /** |
18 * Instances of the class `ClassElementHandle` implement a handle to a `ClassEle
ment`. | 20 * Instances of the class `ClassElementHandle` implement a handle to a `ClassEle
ment`. |
19 */ | 21 */ |
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 } | 1117 } |
1116 | 1118 |
1117 /** | 1119 /** |
1118 * TODO(scheglov) invalid implementation | 1120 * TODO(scheglov) invalid implementation |
1119 */ | 1121 */ |
1120 class WeakReference<T> { | 1122 class WeakReference<T> { |
1121 final T value; | 1123 final T value; |
1122 WeakReference(this.value); | 1124 WeakReference(this.value); |
1123 T get() => value; | 1125 T get() => value; |
1124 } | 1126 } |
OLD | NEW |