Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: pkg/analyzer/lib/src/generated/sdk.dart

Issue 192363003: Translate Java's @Override into Dart's @override. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/scanner.dart ('k') | pkg/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/sdk.dart
diff --git a/pkg/analyzer/lib/src/generated/sdk.dart b/pkg/analyzer/lib/src/generated/sdk.dart
index 46fe71d6899fbe39a8f11ee6fa6339eff874c29e..b16e31d55f3c9a0200457f755780d0686b5a4356 100644
--- a/pkg/analyzer/lib/src/generated/sdk.dart
+++ b/pkg/analyzer/lib/src/generated/sdk.dart
@@ -138,19 +138,25 @@ class SdkLibraryImpl implements SdkLibrary {
this._shortName = name;
}
+ @override
String get shortName => _shortName;
+ @override
bool get isDart2JsLibrary => (_platforms & DART2JS_PLATFORM) != 0;
+ @override
bool get isDocumented => _documented;
+ @override
bool get isImplementation => _implementation;
+ @override
bool get isInternal => "Internal" == category;
/**
* Return `true` if library can be used for both client and server
*/
+ @override
bool get isShared => category == "Shared";
/**
@@ -158,6 +164,7 @@ class SdkLibraryImpl implements SdkLibrary {
*
* @return `true` if this library can be run on the VM
*/
+ @override
bool get isVmLibrary => (_platforms & VM_PLATFORM) != 0;
/**
@@ -262,6 +269,7 @@ class SdkLibrariesReader_LibraryBuilder extends RecursiveAstVisitor<Object> {
*/
LibraryMap get librariesMap => _librariesMap;
+ @override
Object visitMapLiteralEntry(MapLiteralEntry node) {
String libraryName = null;
Expression key = node.key;
« no previous file with comments | « pkg/analyzer/lib/src/generated/scanner.dart ('k') | pkg/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698