| 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 /// Implementation of the smoke services using mirrors. | 5 /// Implementation of the smoke services using mirrors. |
| 6 library smoke.mirrors; | 6 library smoke.mirrors; |
| 7 | 7 |
| 8 import 'dart:mirrors'; | 8 import 'dart:mirrors'; |
| 9 import 'package:smoke/smoke.dart'; | 9 import 'package:smoke/smoke.dart'; |
| 10 import 'package:logging/logging.dart'; | 10 import 'package:logging/logging.dart'; |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 String toString() => (new StringBuffer() | 315 String toString() => (new StringBuffer() |
| 316 ..write('(mirror-based-declaration ') | 316 ..write('(mirror-based-declaration ') |
| 317 ..write(name) | 317 ..write(name) |
| 318 ..write( | 318 ..write( |
| 319 isField ? ' (field) ' : (isProperty ? ' (property) ' : ' (method) ')) | 319 isField ? ' (field) ' : (isProperty ? ' (property) ' : ' (method) ')) |
| 320 ..write(isFinal ? 'final ' : '') | 320 ..write(isFinal ? 'final ' : '') |
| 321 ..write(isStatic ? 'static ' : '') | 321 ..write(isStatic ? 'static ' : '') |
| 322 ..write(annotations) | 322 ..write(annotations) |
| 323 ..write(')')).toString(); | 323 ..write(')')).toString(); |
| 324 } | 324 } |
| OLD | NEW |