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

Unified Diff: pkg/analysis_server/lib/src/computer/computer_hover.dart

Issue 2310153002: Issue 27244. Add 'isDeprecated' to HoverInformation. (Closed)
Patch Set: Created 4 years, 3 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: pkg/analysis_server/lib/src/computer/computer_hover.dart
diff --git a/pkg/analysis_server/lib/src/computer/computer_hover.dart b/pkg/analysis_server/lib/src/computer/computer_hover.dart
index d4e10b4ddd2265d118cf8771324593ba587bc65c..1e3b80729f583d0d8d4dc0de78b61ece63db60c7 100644
--- a/pkg/analysis_server/lib/src/computer/computer_hover.dart
+++ b/pkg/analysis_server/lib/src/computer/computer_hover.dart
@@ -56,6 +56,7 @@ class DartUnitHoverComputer {
// description
hover.elementDescription = element.toString();
hover.elementKind = element.kind.displayName;
+ hover.isDeprecated = element.isDeprecated;
// not local element
if (element.enclosingElement is! ExecutableElement) {
// containing class
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/test/analysis/get_hover_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698