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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/operation/OperationProcessor.java

Issue 189433006: Support for DartBlockBody, DartExpressionBody, DartOmit in java2dart. (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/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/operation/OperationProcessor.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/operation/OperationProcessor.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/operation/OperationProcessor.java
index de5b514274a6918f49b3a1b3b5e3ef77fa25718f..312dd4792f31efe93eacd88a8ef827261e5d9baa 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/operation/OperationProcessor.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/operation/OperationProcessor.java
@@ -17,6 +17,7 @@ import com.google.common.collect.Sets;
import com.google.common.util.concurrent.Uninterruptibles;
import com.google.dart.engine.AnalysisEngine;
import com.google.dart.engine.source.Source;
+import com.google.dart.engine.utilities.translation.DartBlockBody;
import java.util.Set;
import java.util.concurrent.TimeUnit;
@@ -190,10 +191,12 @@ public class OperationProcessor {
}
}
+ @DartBlockBody({})
Brian Wilkerson 2014/03/07 16:12:31 If a method does nothing on the Dart side, don't w
scheglov 2014/03/07 22:47:44 OK, I will just remove the whole class then.
private void threadYield() {
Thread.yield();
}
+ @DartBlockBody({})
private void waitOneMs() {
Uninterruptibles.sleepUninterruptibly(1, TimeUnit.MILLISECONDS);
}

Powered by Google App Engine
This is Rietveld 408576698