| 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() {
|
|
|