OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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("dart:mirrors"); | 5 #library("dart:mirrors"); |
6 | 6 |
7 import "dart:isolate"; | 7 #import("dart:isolate"); |
8 | 8 |
9 part "../../../mirrors/mirrors.dart"; | 9 #source("../../../mirrors/mirrors.dart"); |
10 | 10 |
11 /** | 11 /** |
12 * Stub class for the mirror system. | 12 * Stub class for the mirror system. |
13 */ | 13 */ |
14 class _Mirrors { | 14 class _Mirrors { |
15 static MirrorSystem currentMirrorSystem() { | 15 static MirrorSystem currentMirrorSystem() { |
16 throw new UnsupportedOperationException("MirrorSystem not implemented"); | 16 throw new UnsupportedOperationException("MirrorSystem not implemented"); |
17 } | 17 } |
18 | 18 |
19 static Future<MirrorSystem> mirrorSystemOf(SendPort port) { | 19 static Future<MirrorSystem> mirrorSystemOf(SendPort port) { |
20 throw new UnsupportedOperationException("MirrorSystem not implemented"); | 20 throw new UnsupportedOperationException("MirrorSystem not implemented"); |
21 } | 21 } |
22 | 22 |
23 static InstanceMirror reflect(Object reflectee) { | 23 static InstanceMirror reflect(Object reflectee) { |
24 throw new UnsupportedOperationException("MirrorSystem not implemented"); | 24 throw new UnsupportedOperationException("MirrorSystem not implemented"); |
25 } | 25 } |
26 } | 26 } |
OLD | NEW |