Index: compiler/java/com/google/dart/compiler/type/FunctionType.java |
diff --git a/compiler/java/com/google/dart/compiler/type/FunctionType.java b/compiler/java/com/google/dart/compiler/type/FunctionType.java |
index 165f2ff0503bb584b8ec4a63792bb52d6ea4fc01..3ebac465475146babcb2e85d6ff95a5d98ea2371 100644 |
--- a/compiler/java/com/google/dart/compiler/type/FunctionType.java |
+++ b/compiler/java/com/google/dart/compiler/type/FunctionType.java |
@@ -20,7 +20,10 @@ import java.util.Map; |
public interface FunctionType extends Type { |
Type getReturnType(); |
- List<? extends Type> getParameterTypes(); |
+ /** |
+ * @return "normal" parameter types, i.e. required, does not include "named". |
+ */ |
+ List<Type> getParameterTypes(); |
/** |
* Return the class element corresponding to the interface Function. |
@@ -32,5 +35,8 @@ public interface FunctionType extends Type { |
boolean hasRest(); |
+ /** |
+ * @return "named" parameter types. |
+ */ |
Map<String, Type> getNamedParameterTypes(); |
} |