| OLD | NEW |
| 1 library java.engine; | 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 2 | 4 |
| 3 import 'interner.dart'; | 5 library analyzer.src.generated.java_engine; |
| 4 import 'java_core.dart'; | 6 |
| 7 import 'package:analyzer/src/generated/interner.dart'; |
| 8 import 'package:analyzer/src/generated/java_core.dart'; |
| 5 | 9 |
| 6 /** | 10 /** |
| 7 * A predicate is a one-argument function that returns a boolean value. | 11 * A predicate is a one-argument function that returns a boolean value. |
| 8 */ | 12 */ |
| 9 typedef bool Predicate<E>(E argument); | 13 typedef bool Predicate<E>(E argument); |
| 10 | 14 |
| 11 /** | 15 /** |
| 12 * Instances of the class `AnalysisException` represent an exception that | 16 * Instances of the class `AnalysisException` represent an exception that |
| 13 * occurred during the analysis of one or more sources. | 17 * occurred during the analysis of one or more sources. |
| 14 */ | 18 */ |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 } | 369 } |
| 366 } | 370 } |
| 367 | 371 |
| 368 class UUID { | 372 class UUID { |
| 369 static int __nextId = 0; | 373 static int __nextId = 0; |
| 370 final String id; | 374 final String id; |
| 371 UUID(this.id); | 375 UUID(this.id); |
| 372 String toString() => id; | 376 String toString() => id; |
| 373 static UUID randomUUID() => new UUID((__nextId).toString()); | 377 static UUID randomUUID() => new UUID((__nextId).toString()); |
| 374 } | 378 } |
| OLD | NEW |