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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Annotation.java

Issue 22854024: Rename Identifier.getElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: clean-up and fix 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/ast/Annotation.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Annotation.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Annotation.java
index f0e02c8b4e7879df25c9f9f86a922518f7cdce71..478cfdb6bc4380c0484deff0114d7d3449c881ad 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Annotation.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/Annotation.java
@@ -138,7 +138,7 @@ public class Annotation extends ASTNode {
return element;
}
if (name != null) {
- return name.getElement();
+ return name.getStaticElement();
}
return null;
}

Powered by Google App Engine
This is Rietveld 408576698