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

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

Issue 537733002: Use typed RefactoringOptions in the Dart version of the protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update also Java generator Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014, the Dart project authors. 2 * Copyright (c) 2014, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 * @param offset The offset of the region involved in the refactoring. 281 * @param offset The offset of the region involved in the refactoring.
282 * @param length The length of the region involved in the refactoring. 282 * @param length The length of the region involved in the refactoring.
283 * @param validateOnly True if the client is only requesting that the values o f the options be 283 * @param validateOnly True if the client is only requesting that the values o f the options be
284 * validated and no change be generated. 284 * validated and no change be generated.
285 * @param options Data used to provide values provided by the user. The struct ure of the data is 285 * @param options Data used to provide values provided by the user. The struct ure of the data is
286 * dependent on the kind of refactoring being performed. The data that is expected is 286 * dependent on the kind of refactoring being performed. The data that is expected is
287 * documented in the section titled Refactorings, labeled as “Options” . This field can be 287 * documented in the section titled Refactorings, labeled as “Options” . This field can be
288 * omitted if the refactoring does not require any options or if the v alues of those 288 * omitted if the refactoring does not require any options or if the v alues of those
289 * options are not known. 289 * options are not known.
290 */ 290 */
291 public void edit_getRefactoring(String kind, String file, Integer offset, Inte ger length, Boolean validateOnly, Object options, GetRefactoringConsumer consume r); 291 public void edit_getRefactoring(String kind, String file, Integer offset, Inte ger length, Boolean validateOnly, RefactoringOptions options, GetRefactoringCons umer consumer);
292 292
293 /** 293 /**
294 * Remove the given listener from the list of listeners that will receive noti fication when new 294 * Remove the given listener from the list of listeners that will receive noti fication when new
295 * analysis results become available. 295 * analysis results become available.
296 * 296 *
297 * @param listener the listener to be removed 297 * @param listener the listener to be removed
298 */ 298 */
299 public void removeAnalysisServerListener(AnalysisServerListener listener); 299 public void removeAnalysisServerListener(AnalysisServerListener listener);
300 300
301 /** 301 /**
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 395
396 /** 396 /**
397 * Start the analysis server. 397 * Start the analysis server.
398 * 398 *
399 * @param millisToRestart the number of milliseconds to wait for an unresponsi ve server before 399 * @param millisToRestart the number of milliseconds to wait for an unresponsi ve server before
400 * restarting it, or zero if the server should not be restarted. 400 * restarting it, or zero if the server should not be restarted.
401 */ 401 */
402 public void start(long millisToRestart) throws Exception; 402 public void start(long millisToRestart) throws Exception;
403 403
404 } 404 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698