Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/type/Type.java |
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/type/Type.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/type/Type.java |
index cf03aeee192e8ec29756ca1c350064254718f039..d63efa0f5d7cc56bb277275c7b41e113d096c161 100644 |
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/type/Type.java |
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/type/Type.java |
@@ -98,6 +98,15 @@ public interface Type { |
public boolean isMoreSpecificThan(Type type); |
/** |
+ * Return {@code true} if this type is more specific than the given type. |
+ * |
+ * @param type the type being compared with this type |
+ * @param withDynamic is {@code true} is "dynamic" should be considered as a subtype of any type |
Brian Wilkerson
2013/10/30 14:00:02
nit: "is {@code true} is" --> "{@code true} if"
scheglov
2013/10/30 15:58:50
Done.
|
+ * @return {@code true} if this type is more specific than the given type |
+ */ |
+ public boolean isMoreSpecificThan(Type type, boolean withDynamic); |
+ |
+ /** |
* Return {@code true} if this type represents the type 'Object'. |
* |
* @return {@code true} if this type represents the type 'Object' |