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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineInstanceOfProcessor.java

Issue 189043003: Improved 'has' properties translation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineInstanceOfProcessor.java
diff --git a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineInstanceOfProcessor.java b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineInstanceOfProcessor.java
index f4f6724403e50326928e9e55cc079a1553c2c78d..51a0b265209e2fc3dde752ee300aade7575b58fe 100644
--- a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineInstanceOfProcessor.java
+++ b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineInstanceOfProcessor.java
@@ -68,7 +68,7 @@ public class EngineInstanceOfProcessor extends SemanticProcessor {
if (isMethodInClass(node, "getAncestor", "com.google.dart.engine.ast.AstNode")
|| isMethodInClass(
node,
- "getNode",
+ "getNodeMatching",
"com.google.dart.engine.internal.element.ElementImpl")
&& parameters.size() == 1
|| isMethodInClass(
@@ -148,7 +148,7 @@ public class EngineInstanceOfProcessor extends SemanticProcessor {
if (isMethodInClass(node, "getAncestor", "com.google.dart.engine.ast.AstNode")
|| isMethodInClass(
node,
- "getNode",
+ "getNodeMatching",
"com.google.dart.engine.internal.element.ElementImpl") && arguments.size() == 1) {
typeLiteralIndex = 0;
predicateArgumentName = "node";

Powered by Google App Engine
This is Rietveld 408576698