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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java

Issue 189433006: Support for DartBlockBody, DartExpressionBody, DartOmit in java2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments. 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/context/AnalysisContextImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
index 69c8d311332239e1caf0153f5c9058e09ee9550e..3168e423881c3ea534b3cce4e509107a395d35f3 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
@@ -89,6 +89,7 @@ import com.google.dart.engine.utilities.collection.ListUtilities;
import com.google.dart.engine.utilities.io.PrintStringWriter;
import com.google.dart.engine.utilities.os.OSUtilities;
import com.google.dart.engine.utilities.source.LineInfo;
+import com.google.dart.engine.utilities.translation.DartOmit;
import java.io.IOException;
import java.util.ArrayList;
@@ -718,6 +719,7 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
@Override
@SuppressWarnings("deprecation")
+ @DartOmit
public void getContentsToReceiver(Source source, ContentReceiver receiver) throws Exception {
synchronized (cacheLock) {
String contents = contentCache.getContents(source);

Powered by Google App Engine
This is Rietveld 408576698