Index: pkg/meta/lib/meta.dart |
diff --git a/pkg/meta/lib/meta.dart b/pkg/meta/lib/meta.dart |
index e3e4a250753c5b613716ce9f3c75b2298a663389..98177b92913816ee736f420cf3dafe9fc5ca4c4f 100644 |
--- a/pkg/meta/lib/meta.dart |
+++ b/pkg/meta/lib/meta.dart |
@@ -4,8 +4,10 @@ |
/** |
* Constants for use in metadata annotations such as |
- * `@deprecated`, `@override`, and `@proxy`. |
- * |
+ * `@proxy`. |
+ * |
+ * See also `@deprecated` and `@override` in the `dart:core` library. |
+ * |
* Annotations provide semantic information |
* that tools can use to provide a better user experience. |
* For example, an IDE might not autocomplete |
@@ -22,29 +24,6 @@ |
library meta; |
/** |
- * An annotation used to mark a class, field, getter, setter, method, top-level |
- * variable, or top-level function as one that should no longer be used. Tools |
- * can use this annotation to provide a warning on references to the marked |
- * element. |
- */ |
-const deprecated = const _Deprecated(); |
- |
-class _Deprecated { |
- const _Deprecated(); |
-} |
- |
-/** |
- * An annotation used to mark an instance member (method, field, getter or |
- * setter) as overriding an inherited class member. Tools can use this |
- * annotation to provide a warning if there is no overridden member. |
- */ |
-const override = const _Override(); |
- |
-class _Override { |
- const _Override(); |
-} |
- |
-/** |
* An annotation used to mark a class that should be considered to implement |
* every possible getter, setter and method. Tools can use this annotation to |
* suppress warnings when there is no explicit implementation of a referenced |
@@ -57,4 +36,4 @@ const proxy = const _Proxy(); |
class _Proxy { |
const _Proxy(); |
-} |
+} |