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

Unified Diff: pkg/analyzer/lib/file_system/memory_file_system.dart

Issue 1749143003: Add @overrides to (a lot of) analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: options Created 4 years, 10 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
Index: pkg/analyzer/lib/file_system/memory_file_system.dart
diff --git a/pkg/analyzer/lib/file_system/memory_file_system.dart b/pkg/analyzer/lib/file_system/memory_file_system.dart
index a8aca3812047868d59c6de627a70544fdce28ed0..fd26eb179dca34ac26d390c0e263ff846ec185d5 100644
--- a/pkg/analyzer/lib/file_system/memory_file_system.dart
+++ b/pkg/analyzer/lib/file_system/memory_file_system.dart
@@ -29,6 +29,7 @@ class MemoryResourceProvider implements ResourceProvider {
int nextStamp = 0;
final Context _pathContext;
+ @override
final AbsolutePathContext absolutePathContext;
MemoryResourceProvider({bool isWindows: false})
@@ -211,6 +212,7 @@ class _MemoryDummyLink extends _MemoryResource implements File {
@override
bool get exists => false;
+ @override
int get modificationStamp {
int stamp = _provider._pathToTimestamp[path];
if (stamp == null) {
@@ -249,6 +251,7 @@ class _MemoryFile extends _MemoryResource implements File {
@override
bool get exists => _provider._pathToResource[path] is _MemoryFile;
+ @override
int get modificationStamp {
int stamp = _provider._pathToTimestamp[path];
if (stamp == null) {
@@ -303,6 +306,7 @@ class _MemoryFileSource extends Source {
final _MemoryFile file;
+ @override
final Uri uri;
/**
@@ -453,6 +457,7 @@ class _MemoryFolder extends _MemoryResource implements Folder {
*/
abstract class _MemoryResource implements Resource {
final MemoryResourceProvider _provider;
+ @override
final String path;
_MemoryResource(this._provider, this.path);
« no previous file with comments | « pkg/analyzer/lib/file_system/file_system.dart ('k') | pkg/analyzer/lib/file_system/physical_file_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698