Index: compiler/java/com/google/dart/compiler/type/InterfaceType.java |
diff --git a/compiler/java/com/google/dart/compiler/type/InterfaceType.java b/compiler/java/com/google/dart/compiler/type/InterfaceType.java |
index 99b7c9df9ee5549bb28b1770068e9ddd4ba3825a..2f76916ad88806b40c0282fb02130bbd0ada3b8d 100644 |
--- a/compiler/java/com/google/dart/compiler/type/InterfaceType.java |
+++ b/compiler/java/com/google/dart/compiler/type/InterfaceType.java |
@@ -35,11 +35,12 @@ public interface InterfaceType extends Type { |
void registerSubClass(ClassElement subClass); |
void unregisterSubClass(ClassElement subClass); |
+ |
/** |
- * @return the unique {@link Member} with given name, defined in one of the subtypes. May be |
- * <code>null</code> if not found or not unique. |
+ * @return the {@link Member}s with given name, defined in one of the subtypes. May be empty, but |
+ * not <code>null</code>. |
*/ |
- Member lookupSubTypeMember(String name); |
+ List<Member> lookupSubTypeMembers(String name); |
interface Member { |
InterfaceType getHolder(); |