Index: sdk/lib/mirrors/mirrors.dart |
diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart |
index 027b197ffd55ad2d897b2d4ad55d7b080d770f1a..a366d72a469610bc6a59b805fd0493d383c20808 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 Type, or if it is a constructor that was implicitly |
+ * introduced as a 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 |