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

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

Issue 9700019: Use NodeElement to access Node in Resolver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/DartMethodDefinition.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java b/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
index 39f928d31bf97b28904f6826f72484e4fdcbfd02..d25e8a0cda2aac8c2902a81007c7cd5043537dae 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
@@ -5,7 +5,7 @@
package com.google.dart.compiler.ast;
import com.google.dart.compiler.resolver.Element;
-import com.google.dart.compiler.resolver.MethodElement;
+import com.google.dart.compiler.resolver.MethodNodeElement;
import java.util.Collections;
import java.util.List;
@@ -16,7 +16,7 @@ import java.util.List;
public class DartMethodDefinition extends DartClassMember<DartExpression> {
protected DartFunction function;
- private MethodElement element;
+ private MethodNodeElement element;
public static DartMethodDefinition create(DartExpression name,
DartFunction function,
@@ -40,13 +40,13 @@ public class DartMethodDefinition extends DartClassMember<DartExpression> {
}
@Override
- public MethodElement getElement() {
+ public MethodNodeElement getElement() {
return element;
}
@Override
public void setElement(Element element) {
- this.element = (MethodElement) element;
+ this.element = (MethodNodeElement) element;
}
public List<DartInitializer> getInitializers() {

Powered by Google App Engine
This is Rietveld 408576698