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

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

Issue 56083004: Added hint to report invocations of members (methods, getters, setters, operators, ...) that are de… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes from comments Created 7 years, 1 month 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 | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/HintCode.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/Element.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/Element.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/Element.java
index bea9a2438fc49fdc0339908ccb0c1e1a3bb8fc5e..308e15f7792281066ce8a4dbd51ae5fe111cd383 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/Element.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/Element.java
@@ -175,6 +175,14 @@ public interface Element {
public boolean isAccessibleIn(LibraryElement library);
/**
+ * Return {@code true} if this element has an annotation of the form '@deprecated' or
+ * '@Deprecated('..')'.
+ *
+ * @return {@code true} if this element is deprecated
+ */
+ public boolean isDeprecated();
+
+ /**
* Return {@code true} if this element is synthetic. A synthetic element is an element that is not
* represented in the source code explicitly, but is implied by the source code, such as the
* default constructor for a class that does not explicitly define any constructors.
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/HintCode.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698