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

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

Issue 473763003: Rename 'kindId' to 'kind' in 'edit.getRefactoring'. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 * @param file The file containing the errors for which fixes are being reques ted. 267 * @param file The file containing the errors for which fixes are being reques ted.
268 * @param offset The offset used to select the errors for which fixes will be returned. 268 * @param offset The offset used to select the errors for which fixes will be returned.
269 */ 269 */
270 public void edit_getFixes(String file, Integer offset, GetFixesConsumer consum er); 270 public void edit_getFixes(String file, Integer offset, GetFixesConsumer consum er);
271 271
272 /** 272 /**
273 * {@code edit.getRefactoring} 273 * {@code edit.getRefactoring}
274 * 274 *
275 * Get the changes required to perform a refactoring. 275 * Get the changes required to perform a refactoring.
276 * 276 *
277 * @param kindId The identifier of the kind of refactoring to be performed. 277 * @param kind The kind of refactoring to be performed.
278 * @param file The file containing the code involved in the refactoring. 278 * @param file The file containing the code involved in the refactoring.
279 * @param offset The offset of the region involved in the refactoring. 279 * @param offset The offset of the region involved in the refactoring.
280 * @param length The length of the region involved in the refactoring. 280 * @param length The length of the region involved in the refactoring.
281 * @param validateOnly True if the client is only requesting that the values o f the options be 281 * @param validateOnly True if the client is only requesting that the values o f the options be
282 * validated and no change be generated. 282 * validated and no change be generated.
283 * @param options Data used to provide values provided by the user. The struct ure of the data is 283 * @param options Data used to provide values provided by the user. The struct ure of the data is
284 * dependent on the kind of refactoring being performed. The data that is expected is 284 * dependent on the kind of refactoring being performed. The data that is expected is
285 * documented in the section titled Refactorings, labeled as “Options” . This field can be 285 * documented in the section titled Refactorings, labeled as “Options” . This field can be
286 * omitted if the refactoring does not require any options or if the v alues of those 286 * omitted if the refactoring does not require any options or if the v alues of those
287 * options are not known. 287 * options are not known.
288 */ 288 */
289 public void edit_getRefactoring(String kindId, String file, Integer offset, In teger length, Boolean validateOnly, Object options, GetRefactoringConsumer consu mer); 289 public void edit_getRefactoring(String kind, String file, Integer offset, Inte ger length, Boolean validateOnly, Object options, GetRefactoringConsumer consume r);
290 290
291 /** 291 /**
292 * Remove the given listener from the list of listeners that will receive noti fication when new 292 * Remove the given listener from the list of listeners that will receive noti fication when new
293 * analysis results become available. 293 * analysis results become available.
294 * 294 *
295 * @param listener the listener to be removed 295 * @param listener the listener to be removed
296 */ 296 */
297 public void removeAnalysisServerListener(AnalysisServerListener listener); 297 public void removeAnalysisServerListener(AnalysisServerListener listener);
298 298
299 /** 299 /**
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 393
394 /** 394 /**
395 * Start the analysis server. 395 * Start the analysis server.
396 * 396 *
397 * @param millisToRestart the number of milliseconds to wait for an unresponsi ve server before 397 * @param millisToRestart the number of milliseconds to wait for an unresponsi ve server before
398 * restarting it, or zero if the server should not be restarted. 398 * restarting it, or zero if the server should not be restarted.
399 */ 399 */
400 public void start(long millisToRestart) throws Exception; 400 public void start(long millisToRestart) throws Exception;
401 401
402 } 402 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698