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

Unified Diff: pkg/analyzer/lib/src/dart/element/element.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
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/token.dart ('k') | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/element/element.dart
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index 516aa1f14f06b5bfec872794a4cd30fabf0a5c73..55c22fc33be79ea48ed3848ab36f531af454a9e3 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -86,11 +86,13 @@ class ClassElementImpl extends ElementImpl implements ClassElement {
* A list containing all of the mixins that are applied to the class being
* extended in order to derive the superclass of this class.
*/
+ @override
List<InterfaceType> mixins = InterfaceType.EMPTY_LIST;
/**
* A list containing all of the interfaces that are implemented by this class.
*/
+ @override
List<InterfaceType> interfaces = InterfaceType.EMPTY_LIST;
/**
@@ -102,11 +104,13 @@ class ClassElementImpl extends ElementImpl implements ClassElement {
* The superclass of the class, or `null` if the class does not have an
* explicit superclass.
*/
+ @override
InterfaceType supertype;
/**
* The type defined by the class.
*/
+ @override
InterfaceType type;
/**
@@ -911,6 +915,7 @@ class CompilationUnitElementImpl extends UriReferencedElementImpl
/**
* The source that corresponds to this compilation unit.
*/
+ @override
Source source;
/**
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/token.dart ('k') | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698