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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartSuperConstructorInvocation.java

Issue 9703096: Remove Element.getNode() method (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes for review comments Created 8 years, 9 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: compiler/java/com/google/dart/compiler/ast/DartSuperConstructorInvocation.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartSuperConstructorInvocation.java b/compiler/java/com/google/dart/compiler/ast/DartSuperConstructorInvocation.java
index a74050c4c0bcad018df93a75c2c5afc4aa04fd62..288e4fc2729b54a02acd0ee4ac82583fcd485647 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartSuperConstructorInvocation.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartSuperConstructorInvocation.java
@@ -4,7 +4,7 @@
package com.google.dart.compiler.ast;
-import com.google.dart.compiler.resolver.ConstructorElement;
+import com.google.dart.compiler.resolver.ConstructorNodeElement;
import com.google.dart.compiler.resolver.Element;
import java.util.List;
@@ -15,7 +15,7 @@ import java.util.List;
public class DartSuperConstructorInvocation extends DartInvocation {
private DartIdentifier name;
- private ConstructorElement element;
+ private ConstructorNodeElement element;
public DartSuperConstructorInvocation(DartIdentifier name, List<DartExpression> args) {
super(args);
@@ -39,11 +39,11 @@ public class DartSuperConstructorInvocation extends DartInvocation {
@Override
public void setElement(Element element) {
- this.element = (ConstructorElement) element;
+ this.element = (ConstructorNodeElement) element;
}
@Override
- public ConstructorElement getElement() {
+ public ConstructorNodeElement getElement() {
return element;
}

Powered by Google App Engine
This is Rietveld 408576698