Index: pkg/analyzer/lib/dart/element/element.dart |
diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart |
index d210229d602c3ce908b4f0432301af4c07fba5e5..539b748888681ba49007ce90ede7365e2a89f7cf 100644 |
--- a/pkg/analyzer/lib/dart/element/element.dart |
+++ b/pkg/analyzer/lib/dart/element/element.dart |
@@ -635,6 +635,11 @@ abstract class Element implements AnalysisTarget { |
bool get isPrivate; |
/** |
+ * Return `true` if this element has an annotation of the form '@protected'. |
+ */ |
+ bool get isProtected; |
+ |
+ /** |
* Return `true` if this element is public. Public elements are visible within |
* any library that imports the library in which they are declared. |
*/ |
@@ -808,6 +813,13 @@ abstract class ElementAnnotation implements ConstantEvaluationTarget { |
*/ |
bool get isOverride; |
+ |
+ /** |
+ * Return `true` if this annotation marks the associated method as being |
Brian Wilkerson
2016/02/23 17:45:56
"method" --> "member"
pquitslund
2016/02/23 22:59:07
Done.
|
+ * protected. |
+ */ |
+ bool get isProtected; |
+ |
/** |
* Return `true` if this annotation marks the associated class as implementing |
* a proxy object. |