Index: pkg/analyzer_experimental/lib/src/generated/java_core.dart |
diff --git a/pkg/analyzer_experimental/lib/src/generated/java_core.dart b/pkg/analyzer_experimental/lib/src/generated/java_core.dart |
index d13bb3d72e1bf7812215b9c4cbbb41812e9b2057..769fdf15ded20a58372e6049da944500be6de52e 100644 |
--- a/pkg/analyzer_experimental/lib/src/generated/java_core.dart |
+++ b/pkg/analyzer_experimental/lib/src/generated/java_core.dart |
@@ -31,13 +31,10 @@ bool isInstanceOf(o, Type t) { |
if (oTypeName == tTypeName) { |
return true; |
} |
- if (oTypeName.startsWith("HashMap") && tTypeName == "Map") { |
- return true; |
- } |
- if (oTypeName.startsWith("LinkedHashMap") && tTypeName == "Map") { |
+ if (oTypeName.startsWith("List") && tTypeName == "List") { |
return true; |
} |
- if (oTypeName.startsWith("List") && tTypeName == "List") { |
+ if (tTypeName == "Map" && o is Map) { |
return true; |
} |
// Dart Analysis Engine specific |