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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.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_test/src/com/google/dart/engine/ast/ASTFactory.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java
index 26b8060e43570f1c77d26cbd1aa1252d7848c893..7ccb74301d76b3a17df8ad02ce538bd54554bde5 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java
@@ -1065,7 +1065,7 @@ public final class ASTFactory {
*/
public static TypeName typeName(ClassElement element, TypeName... arguments) {
SimpleIdentifier name = identifier(element.getName());
- name.setElement(element);
+ name.setStaticElement(element);
TypeName typeName = typeName(name, arguments);
typeName.setType(element.getType());
return typeName;

Powered by Google App Engine
This is Rietveld 408576698