Index: compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java |
diff --git a/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java b/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java |
index dd33c775206e4a301ee68b1cd6de901cbeaa7bdd..58a0c2920c3a0f696369f83252a5d0131ee2b5c4 100644 |
--- a/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java |
+++ b/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java |
@@ -1,11 +1,10 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
package com.google.dart.compiler.ast; |
import com.google.dart.compiler.resolver.Element; |
-import com.google.dart.compiler.type.Type; |
/** |
* Represents a type parameter in a class or interface declaration. |
@@ -13,7 +12,6 @@ import com.google.dart.compiler.type.Type; |
public class DartTypeParameter extends DartDeclaration<DartIdentifier> { |
private DartTypeNode bound; |
- private Type type; |
public DartTypeParameter(DartIdentifier name, DartTypeNode bound) { |
super(name); |
@@ -36,16 +34,6 @@ public class DartTypeParameter extends DartDeclaration<DartIdentifier> { |
public <R> R accept(ASTVisitor<R> visitor) { |
return visitor.visitTypeParameter(this); |
} |
- |
- @Override |
- public Type getType() { |
- return type; |
- } |
- |
- @Override |
- public void setType(Type type) { |
- this.type = type; |
- } |
@Override |
public Element getElement() { |