Index: sdk/lib/mirrors/mirrors.dart |
diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart |
index 027b197ffd55ad2d897b2d4ad55d7b080d770f1a..d94782ab303e6346e2df816adf0c9b7da46805c6 100644 |
--- a/sdk/lib/mirrors/mirrors.dart |
+++ b/sdk/lib/mirrors/mirrors.dart |
@@ -919,6 +919,15 @@ abstract class MethodMirror implements DeclarationMirror { |
bool get isAbstract; |
/** |
+ * Returns true if the reflectee is synthetic, and returns false otherwise. |
+ * |
+ * A reflectee is synthetic if it is a getter or setter implicitly introduced |
+ * for a field or if it is a constructor that was implicitly introduced as a |
gbracha
2013/11/26 18:35:14
or Type.
rmacnak
2013/11/26 19:27:07
Done.
|
+ * default constructor or as part of a mixin application. |
+ */ |
+ bool get isSynthetic; |
+ |
+ /** |
* Is the reflectee a regular function or method? |
* |
* A function or method is regular if it is not a getter, setter, or |