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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassMemberElement.java

Issue 23189012: Fix for issue 11708 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassMemberElement.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassMemberElement.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassMemberElement.java
index d2f9b2cb721062396ad765d98b330d7aee574882..00dd3e4c72a390953c42cbbc9f1affded4237df8 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassMemberElement.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassMemberElement.java
@@ -25,4 +25,12 @@ public interface ClassMemberElement extends Element {
*/
@Override
public ClassElement getEnclosingElement();
+
+ /**
+ * Return {@code true} if this element is a static element. A static element is an element that is
+ * not associated with a particular instance, but rather with an entire library or class.
+ *
+ * @return {@code true} if this executable element is a static element
+ */
+ public boolean isStatic();
}

Powered by Google App Engine
This is Rietveld 408576698