Index: dart/compiler/java/com/google/dart/compiler/type/InterfaceType.java |
diff --git a/dart/compiler/java/com/google/dart/compiler/type/InterfaceType.java b/dart/compiler/java/com/google/dart/compiler/type/InterfaceType.java |
deleted file mode 100644 |
index 2f76916ad88806b40c0282fb02130bbd0ada3b8d..0000000000000000000000000000000000000000 |
--- a/dart/compiler/java/com/google/dart/compiler/type/InterfaceType.java |
+++ /dev/null |
@@ -1,53 +0,0 @@ |
-// 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.type; |
- |
-import com.google.dart.compiler.resolver.ClassElement; |
-import com.google.dart.compiler.resolver.Element; |
- |
-import java.util.List; |
- |
-/** |
- * An interface type. |
- */ |
-public interface InterfaceType extends Type { |
- @Override |
- InterfaceType subst(List<Type> arguments, |
- List<Type> parameters); |
- |
- @Override |
- ClassElement getElement(); |
- |
- List<Type> getArguments(); |
- |
- boolean isRaw(); |
- |
- /** |
- * @return Whether type args for this interface instance is of type DYNAMIC. |
- */ |
- boolean hasDynamicTypeArgs(); |
- |
- InterfaceType asRawType(); |
- |
- Member lookupMember(String name); |
- |
- void registerSubClass(ClassElement subClass); |
- void unregisterSubClass(ClassElement subClass); |
- |
- /** |
- * @return the {@link Member}s with given name, defined in one of the subtypes. May be empty, but |
- * not <code>null</code>. |
- */ |
- List<Member> lookupSubTypeMembers(String name); |
- |
- interface Member { |
- InterfaceType getHolder(); |
- Element getElement(); |
- Type getType(); |
- Type getSetterType(); |
- Type getGetterType(); |
- |
- } |
-} |