Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: pkg/analyzer_experimental/lib/src/generated/java_core.dart

Issue 23080005: New analysis_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4e9d2588629fc306f3e5ea83d45003403e502ff0..96651f3bc709ccf62d8efd33e09a1b00693e565d 100644
--- a/pkg/analyzer_experimental/lib/src/generated/java_core.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/java_core.dart
@@ -47,7 +47,26 @@ bool isInstanceOf(o, Type t) {
}
}
if (tTypeName == "ExecutableElement") {
- if (oTypeName == "MethodElementImpl" || oTypeName == "FunctionElementImpl") {
+ if (oTypeName == "MethodElementImpl" ||
+ oTypeName == "FunctionElementImpl" ||
+ oTypeName == "PropertyAccessorElementImpl") {
+ return true;
+ }
+ }
+ if (tTypeName == "ParameterElement") {
+ if (oTypeName == "FieldFormalParameterElementImpl" ||
+ oTypeName == "DefaultFieldFormalParameterElementImpl" ||
+ oTypeName == "DefaultParameterElementImpl") {
+ return true;
+ }
+ }
+ if (tTypeName == "VariableElement") {
+ if (oTypeName == "LocalVariableElementImpl" ||
+ oTypeName == "ConstLocalVariableElementImpl" ||
+ oTypeName == "FieldElementImpl" ||
+ oTypeName == "ConstFieldElementImpl" ||
+ oTypeName == "TopLevelVariableElementImpl" ||
+ oTypeName == "ConstTopLevelVariableElementImpl") {
return true;
}
}
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/error.dart ('k') | pkg/analyzer_experimental/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698