| OLD | NEW |
| 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 * @param offset The offset of the region involved in the refactoring. | 280 * @param offset The offset of the region involved in the refactoring. |
| 281 * @param length The length of the region involved in the refactoring. | 281 * @param length The length of the region involved in the refactoring. |
| 282 * @param validateOnly True if the client is only requesting that the values o
f the options be | 282 * @param validateOnly True if the client is only requesting that the values o
f the options be |
| 283 * validated and no change be generated. | 283 * validated and no change be generated. |
| 284 * @param options Data used to provide values provided by the user. The struct
ure of the data is | 284 * @param options Data used to provide values provided by the user. The struct
ure of the data is |
| 285 * dependent on the kind of refactoring being performed. The data that
is expected is | 285 * dependent on the kind of refactoring being performed. The data that
is expected is |
| 286 * documented in the section titled Refactorings, labeled as “Options”
. This field can be | 286 * documented in the section titled Refactorings, labeled as “Options”
. This field can be |
| 287 * omitted if the refactoring does not require any options or if the v
alues of those | 287 * omitted if the refactoring does not require any options or if the v
alues of those |
| 288 * options are not known. | 288 * options are not known. |
| 289 */ | 289 */ |
| 290 public void edit_getRefactoring(String kindId, String file, int offset, int le
ngth, boolean validateOnly, Object options, GetRefactoringConsumer consumer); | 290 public void edit_getRefactoring(String kindId, String file, int offset, int le
ngth, Boolean validateOnly, Object options, GetRefactoringConsumer consumer); |
| 291 | 291 |
| 292 /** | 292 /** |
| 293 * Remove the given listener from the list of listeners that will receive noti
fication when new | 293 * Remove the given listener from the list of listeners that will receive noti
fication when new |
| 294 * analysis results become available. | 294 * analysis results become available. |
| 295 * | 295 * |
| 296 * @param listener the listener to be removed | 296 * @param listener the listener to be removed |
| 297 */ | 297 */ |
| 298 public void removeAnalysisServerListener(AnalysisServerListener listener); | 298 public void removeAnalysisServerListener(AnalysisServerListener listener); |
| 299 | 299 |
| 300 /** | 300 /** |
| 301 * {@code search.findElementReferences} | 301 * {@code search.findElementReferences} |
| 302 * | 302 * |
| 303 * Perform a search for references to the element defined or referenced at the
given offset in the | 303 * Perform a search for references to the element defined or referenced at the
given offset in the |
| 304 * given file. | 304 * given file. |
| 305 * | 305 * |
| 306 * An identifier is returned immediately, and individual results will be retur
ned via the | 306 * An identifier is returned immediately, and individual results will be retur
ned via the |
| 307 * search.results notification as they become available. | 307 * search.results notification as they become available. |
| 308 * | 308 * |
| 309 * @param file The file containing the declaration of or reference to the elem
ent used to define | 309 * @param file The file containing the declaration of or reference to the elem
ent used to define |
| 310 * the search. | 310 * the search. |
| 311 * @param offset The offset within the file of the declaration of or reference
to the element. | 311 * @param offset The offset within the file of the declaration of or reference
to the element. |
| 312 * @param includePotential True if potential matches are to be included in the
results. | 312 * @param includePotential True if potential matches are to be included in the
results. |
| 313 */ | 313 */ |
| 314 public void search_findElementReferences(String file, int offset, boolean incl
udePotential, FindElementReferencesConsumer consumer); | 314 public void search_findElementReferences(String file, int offset, Boolean incl
udePotential, FindElementReferencesConsumer consumer); |
| 315 | 315 |
| 316 /** | 316 /** |
| 317 * {@code search.findMemberDeclarations} | 317 * {@code search.findMemberDeclarations} |
| 318 * | 318 * |
| 319 * Perform a search for declarations of members whose name is equal to the giv
en name. | 319 * Perform a search for declarations of members whose name is equal to the giv
en name. |
| 320 * | 320 * |
| 321 * An identifier is returned immediately, and individual results will be retur
ned via the | 321 * An identifier is returned immediately, and individual results will be retur
ned via the |
| 322 * search.results notification as they become available. | 322 * search.results notification as they become available. |
| 323 * | 323 * |
| 324 * @param name The name of the declarations to be found. | 324 * @param name The name of the declarations to be found. |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 394 |
| 395 /** | 395 /** |
| 396 * Start the analysis server. | 396 * Start the analysis server. |
| 397 * | 397 * |
| 398 * @param millisToRestart the number of milliseconds to wait for an unresponsi
ve server before | 398 * @param millisToRestart the number of milliseconds to wait for an unresponsi
ve server before |
| 399 * restarting it, or zero if the server should not be restarted. | 399 * restarting it, or zero if the server should not be restarted. |
| 400 */ | 400 */ |
| 401 public void start(long millisToRestart) throws Exception; | 401 public void start(long millisToRestart) throws Exception; |
| 402 | 402 |
| 403 } | 403 } |
| OLD | NEW |