| 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 72bdc99c952196a2ab12d939c9c96fae1b7f711b..fe120f09e20d4be3f79679c7487cabc650190c0e 100644
|
| --- a/pkg/analyzer-experimental/lib/src/generated/java_core.dart
|
| +++ b/pkg/analyzer-experimental/lib/src/generated/java_core.dart
|
| @@ -31,15 +31,22 @@ bool isInstanceOf(o, Type t) {
|
| if (oTypeName == tTypeName) {
|
| return true;
|
| }
|
| - if (oTypeName == "${tTypeName}Impl") {
|
| - return true;
|
| - }
|
| if (oTypeName.startsWith("HashMap") && tTypeName == "Map") {
|
| return true;
|
| }
|
| if (oTypeName.startsWith("List") && tTypeName == "List") {
|
| return true;
|
| }
|
| + // Dart Analysis Engine specific
|
| + if (oTypeName == "${tTypeName}Impl") {
|
| + return true;
|
| + }
|
| + if (tTypeName == "ExecutableElement") {
|
| + if (oTypeName == "MethodElementImpl" || oTypeName == "FunctionElementImpl") {
|
| + return true;
|
| + }
|
| + }
|
| + // no
|
| return false;
|
| }
|
|
|
|
|