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

Unified Diff: sdk/lib/mirrors/mirrors.dart

Issue 182603003: Add TypeVariableMirror.isStatic to the API and dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/lib/_internal/lib/js_mirrors.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/mirrors/mirrors.dart
diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart
index 31e4cd3466614b2de387ee19fb2c47550863c23e..2edb544790a0694c89bfde9f7151ddc77f522fec 100644
--- a/sdk/lib/mirrors/mirrors.dart
+++ b/sdk/lib/mirrors/mirrors.dart
@@ -885,6 +885,14 @@ abstract class TypeVariableMirror extends TypeMirror {
TypeMirror get upperBound;
/**
+ * Is the reflectee static?
+ *
+ * For the purposes of the mirrors library, type variables are considered
+ * non-static.
+ */
+ bool get isStatic;
+
+ /**
* Returns [:true:] if this mirror is equal to [other].
* Otherwise returns [:false:].
*
« no previous file with comments | « sdk/lib/_internal/lib/js_mirrors.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698