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..543911f1a93d988a2bf1b4f1c63b1441f580d1e7 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 {@code true} if "dynamic" should be considered as a subtype of any type |
+ * @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' |