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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java

Issue 485213004: Generate a toJson method onto our generated types, int is now represented as the wrapped Integer in… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
index c8451280c3d80f329dd4be2c38a2afb7f6740afe..a81007b2a5caa50db87b409fae74242d1a1cb51a 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
@@ -63,7 +63,7 @@ public interface AnalysisServer {
* @param file The file in which hover information is being requested.
* @param offset The offset for which hover information is being requested.
*/
- public void analysis_getHover(String file, int offset, GetHoverConsumer consumer);
+ public void analysis_getHover(String file, Integer offset, GetHoverConsumer consumer);
/**
* {@code analysis.reanalyze}
@@ -186,7 +186,7 @@ public interface AnalysisServer {
* @param file The file containing the point at which suggestions are to be made.
* @param offset The offset within the file at which suggestions are to be made.
*/
- public void completion_getSuggestions(String file, int offset, GetSuggestionsConsumer consumer);
+ public void completion_getSuggestions(String file, Integer offset, GetSuggestionsConsumer consumer);
/**
* {@code debug.createContext}
@@ -246,7 +246,7 @@ public interface AnalysisServer {
* @param offset The offset of the code for which assists are being requested.
* @param length The length of the code for which assists are being requested.
*/
- public void edit_getAssists(String file, int offset, int length, GetAssistsConsumer consumer);
+ public void edit_getAssists(String file, Integer offset, Integer length, GetAssistsConsumer consumer);
/**
* {@code edit.getAvailableRefactorings}
@@ -258,7 +258,7 @@ public interface AnalysisServer {
* @param offset The offset of the code on which the refactoring would be based.
* @param length The length of the code on which the refactoring would be based.
*/
- public void edit_getAvailableRefactorings(String file, int offset, int length, GetAvailableRefactoringsConsumer consumer);
+ public void edit_getAvailableRefactorings(String file, Integer offset, Integer length, GetAvailableRefactoringsConsumer consumer);
/**
* {@code edit.getFixes}
@@ -268,7 +268,7 @@ public interface AnalysisServer {
* @param file The file containing the errors for which fixes are being requested.
* @param offset The offset used to select the errors for which fixes will be returned.
*/
- public void edit_getFixes(String file, int offset, GetFixesConsumer consumer);
+ public void edit_getFixes(String file, Integer offset, GetFixesConsumer consumer);
/**
* {@code edit.getRefactoring}
@@ -287,7 +287,7 @@ public interface AnalysisServer {
* omitted if the refactoring does not require any options or if the values of those
* options are not known.
*/
- public void edit_getRefactoring(String kindId, String file, int offset, int length, Boolean validateOnly, Object options, GetRefactoringConsumer consumer);
+ public void edit_getRefactoring(String kindId, String file, Integer offset, Integer length, Boolean validateOnly, Object options, GetRefactoringConsumer consumer);
/**
* Remove the given listener from the list of listeners that will receive notification when new
@@ -311,7 +311,7 @@ public interface AnalysisServer {
* @param offset The offset within the file of the declaration of or reference to the element.
* @param includePotential True if potential matches are to be included in the results.
*/
- public void search_findElementReferences(String file, int offset, Boolean includePotential, FindElementReferencesConsumer consumer);
+ public void search_findElementReferences(String file, Integer offset, Boolean includePotential, FindElementReferencesConsumer consumer);
/**
* {@code search.findMemberDeclarations}
@@ -361,7 +361,7 @@ public interface AnalysisServer {
* is being requested.
* @param offset The offset of the name of the type within the file.
*/
- public void search_getTypeHierarchy(String file, int offset, GetTypeHierarchyConsumer consumer);
+ public void search_getTypeHierarchy(String file, Integer offset, GetTypeHierarchyConsumer consumer);
/**
* {@code server.getVersion}

Powered by Google App Engine
This is Rietveld 408576698