| OLD | NEW |
| 1 <html><head> | 1 <html><head> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <title>Analysis Server API Specification</title> | 3 <title>Analysis Server API Specification</title> |
| 4 <style>body { | 4 <style>body { |
| 5 font-family: sans-serif, serif; | 5 font-family: sans-serif, serif; |
| 6 padding-left: 5%; | 6 padding-left: 5%; |
| 7 padding-right: 5%; | 7 padding-right: 5%; |
| 8 } | 8 } |
| 9 h1 { | 9 h1 { |
| 10 text-align: center; | 10 text-align: center; |
| (...skipping 2432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2443 <dl><dt class="field"><b><i>element ( <a href="#type_Element">Element</a>
)</i></b></dt><dd> | 2443 <dl><dt class="field"><b><i>element ( <a href="#type_Element">Element</a>
)</i></b></dt><dd> |
| 2444 | 2444 |
| 2445 <p> | 2445 <p> |
| 2446 The element that is being overridden. | 2446 The element that is being overridden. |
| 2447 </p> | 2447 </p> |
| 2448 </dd><dt class="field"><b><i>className ( String )</i></b></dt><dd> | 2448 </dd><dt class="field"><b><i>className ( String )</i></b></dt><dd> |
| 2449 | 2449 |
| 2450 <p> | 2450 <p> |
| 2451 The name of the class in which the member is defined. | 2451 The name of the class in which the member is defined. |
| 2452 </p> | 2452 </p> |
| 2453 </dd></dl></dd><dt class="typeDefinition"><a name="type_Parameter">Par
ameter: object</a></dt><dd> | |
| 2454 <p> | |
| 2455 A description of a parameter. | |
| 2456 </p> | |
| 2457 | |
| 2458 <dl><dt class="field"><b><i>type ( String )</i></b></dt><dd> | |
| 2459 | |
| 2460 <p> | |
| 2461 The type that should be given to the parameter. | |
| 2462 </p> | |
| 2463 </dd><dt class="field"><b><i>name ( String )</i></b></dt><dd> | |
| 2464 | |
| 2465 <p> | |
| 2466 The name that should be given to the parameter. | |
| 2467 </p> | |
| 2468 </dd></dl></dd><dt class="typeDefinition"><a name="type_Position">Posi
tion: object</a></dt><dd> | 2453 </dd></dl></dd><dt class="typeDefinition"><a name="type_Position">Posi
tion: object</a></dt><dd> |
| 2469 <p> | 2454 <p> |
| 2470 A position within a file. | 2455 A position within a file. |
| 2471 </p> | 2456 </p> |
| 2472 | 2457 |
| 2473 <dl><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath</a> )
</i></b></dt><dd> | 2458 <dl><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath</a> )
</i></b></dt><dd> |
| 2474 | 2459 |
| 2475 <p> | 2460 <p> |
| 2476 The file containing the position. | 2461 The file containing the position. |
| 2477 </p> | 2462 </p> |
| 2478 </dd><dt class="field"><b><i>offset ( int )</i></b></dt><dd> | 2463 </dd><dt class="field"><b><i>offset ( int )</i></b></dt><dd> |
| 2479 | 2464 |
| 2480 <p> | 2465 <p> |
| 2481 The offset of the position. | 2466 The offset of the position. |
| 2482 </p> | 2467 </p> |
| 2483 </dd></dl></dd><dt class="typeDefinition"><a name="type_RefactoringKin
d">RefactoringKind: String</a></dt><dd> | 2468 </dd></dl></dd><dt class="typeDefinition"><a name="type_RefactoringKin
d">RefactoringKind: String</a></dt><dd> |
| 2484 <p> | 2469 <p> |
| 2485 An enumeration of the kinds of refactorings that can be | 2470 An enumeration of the kinds of refactorings that can be |
| 2486 created. | 2471 created. |
| 2487 </p> | 2472 </p> |
| 2488 | 2473 |
| 2489 <dl><dt class="value">CONVERT_GETTER_TO_METHOD</dt><dt class="value">CONVE
RT_METHOD_TO_GETTER</dt><dt class="value">EXTRACT_LOCAL_VARIABLE</dt><dt class="
value">EXTRACT_METHOD</dt><dt class="value">INLINE_LOCAL_VARIABLE</dt><dt class=
"value">INLINE_METHOD</dt><dt class="value">RENAME</dt></dl></dd><dt class="type
Definition"><a name="type_RefactoringProblem">RefactoringProblem: object</a></dt
><dd> | 2474 <dl><dt class="value">CONVERT_GETTER_TO_METHOD</dt><dt class="value">CONVE
RT_METHOD_TO_GETTER</dt><dt class="value">EXTRACT_LOCAL_VARIABLE</dt><dt class="
value">EXTRACT_METHOD</dt><dt class="value">INLINE_LOCAL_VARIABLE</dt><dt class=
"value">INLINE_METHOD</dt><dt class="value">RENAME</dt></dl></dd><dt class="type
Definition"><a name="type_RefactoringMethodParameter">RefactoringMethodParameter
: object</a></dt><dd> |
| 2475 <p> |
| 2476 A description of a parameter in a method refactoring. |
| 2477 </p> |
| 2478 |
| 2479 <dl><dt class="field"><b><i>id ( <span style="color:#999999">optional</spa
n> String )</i></b></dt><dd> |
| 2480 |
| 2481 <p> |
| 2482 The unique identifier of the parameter. |
| 2483 Clients may omit this field for the parameters they want to add. |
| 2484 </p> |
| 2485 </dd><dt class="field"><b><i>type ( String )</i></b></dt><dd> |
| 2486 |
| 2487 <p> |
| 2488 The type that should be given to the parameter. |
| 2489 </p> |
| 2490 </dd><dt class="field"><b><i>name ( String )</i></b></dt><dd> |
| 2491 |
| 2492 <p> |
| 2493 The name that should be given to the parameter. |
| 2494 </p> |
| 2495 </dd></dl></dd><dt class="typeDefinition"><a name="type_RefactoringPro
blem">RefactoringProblem: object</a></dt><dd> |
| 2490 <p> | 2496 <p> |
| 2491 A description of a problem related to a refactoring. | 2497 A description of a problem related to a refactoring. |
| 2492 </p> | 2498 </p> |
| 2493 | 2499 |
| 2494 <dl><dt class="field"><b><i>severity ( <a href="#type_RefactoringProblemSe
verity">RefactoringProblemSeverity</a> )</i></b></dt><dd> | 2500 <dl><dt class="field"><b><i>severity ( <a href="#type_RefactoringProblemSe
verity">RefactoringProblemSeverity</a> )</i></b></dt><dd> |
| 2495 | 2501 |
| 2496 <p> | 2502 <p> |
| 2497 The severity of the problem being represented. | 2503 The severity of the problem being represented. |
| 2498 </p> | 2504 </p> |
| 2499 </dd><dt class="field"><b><i>message ( String )</i></b></dt><dd> | 2505 </dd><dt class="field"><b><i>message ( String )</i></b></dt><dd> |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2841 </dd><dt class="field"><b><i>names ( List<String> )</i></b></dt>
<dd> | 2847 </dd><dt class="field"><b><i>names ( List<String> )</i></b></dt>
<dd> |
| 2842 | 2848 |
| 2843 <p> | 2849 <p> |
| 2844 The proposed names for the method. | 2850 The proposed names for the method. |
| 2845 </p> | 2851 </p> |
| 2846 </dd><dt class="field"><b><i>canCreateGetter ( bool )</i></b></dt><dd> | 2852 </dd><dt class="field"><b><i>canCreateGetter ( bool )</i></b></dt><dd> |
| 2847 | 2853 |
| 2848 <p> | 2854 <p> |
| 2849 True if a getter could be created rather than a method. | 2855 True if a getter could be created rather than a method. |
| 2850 </p> | 2856 </p> |
| 2851 </dd><dt class="field"><b><i>parameters ( List<<a href="#type_Param
eter">Parameter</a>> )</i></b></dt><dd> | 2857 </dd><dt class="field"><b><i>parameters ( List<<a href="#type_Refac
toringMethodParameter">RefactoringMethodParameter</a>> )</i></b></dt><dd> |
| 2852 | 2858 |
| 2853 <p> | 2859 <p> |
| 2854 The proposed parameters for the method. | 2860 The proposed parameters for the method. |
| 2855 </p> | 2861 </p> |
| 2856 </dd><dt class="field"><b><i>occurrences ( int )</i></b></dt><dd> | 2862 </dd><dt class="field"><b><i>occurrences ( int )</i></b></dt><dd> |
| 2857 | 2863 |
| 2858 <p> | 2864 <p> |
| 2859 The number of times the expression or statements occurs. | 2865 The number of times the expression or statements occurs. |
| 2860 </p> | 2866 </p> |
| 2861 </dd><dt class="field"><b><i>offsets ( List<int> )</i></b></dt><
dd> | 2867 </dd><dt class="field"><b><i>offsets ( List<int> )</i></b></dt><
dd> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 2884 <p> | 2890 <p> |
| 2885 True if a getter should be created rather than a | 2891 True if a getter should be created rather than a |
| 2886 method. It is an error if this field is true and the | 2892 method. It is an error if this field is true and the |
| 2887 list of parameters is non-empty. | 2893 list of parameters is non-empty. |
| 2888 </p> | 2894 </p> |
| 2889 </dd><dt class="field"><b><i>name ( String )</i></b></dt><dd> | 2895 </dd><dt class="field"><b><i>name ( String )</i></b></dt><dd> |
| 2890 | 2896 |
| 2891 <p> | 2897 <p> |
| 2892 The name that the method should be given. | 2898 The name that the method should be given. |
| 2893 </p> | 2899 </p> |
| 2894 </dd><dt class="field"><b><i>parameters ( List<<a href="#type_Param
eter">Parameter</a>> )</i></b></dt><dd> | 2900 </dd><dt class="field"><b><i>parameters ( List<<a href="#type_Refac
toringMethodParameter">RefactoringMethodParameter</a>> )</i></b></dt><dd> |
| 2895 | 2901 |
| 2896 <p> | 2902 <p> |
| 2897 The parameters that should be defined for the method. | 2903 The parameters that should be defined for the method. |
| 2904 Clients may change order of proposed parameters, add new ones |
| 2905 or omit some parameters (corresponding parameters will not be |
| 2906 generated). |
| 2898 </p> | 2907 </p> |
| 2899 </dd><dt class="field"><b><i>extractAll ( bool )</i></b></dt><dd> | 2908 </dd><dt class="field"><b><i>extractAll ( bool )</i></b></dt><dd> |
| 2900 | 2909 |
| 2901 <p> | 2910 <p> |
| 2902 True if all occurrences of the expression or statements | 2911 True if all occurrences of the expression or statements |
| 2903 should be replaced by an invocation of the method. The | 2912 should be replaced by an invocation of the method. The |
| 2904 expression or statements used to initiate the | 2913 expression or statements used to initiate the |
| 2905 refactoring will always be replaced. | 2914 refactoring will always be replaced. |
| 2906 </p> | 2915 </p> |
| 2907 </dd></dl></dd><dt class="refactoring">INLINE_LOCAL_VARIABLE</dt><dd> | 2916 </dd></dl></dd><dt class="refactoring">INLINE_LOCAL_VARIABLE</dt><dd> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2972 <p> | 2981 <p> |
| 2973 This section contains a list of all of the errors that are | 2982 This section contains a list of all of the errors that are |
| 2974 produced by the server and the data that is returned with each. | 2983 produced by the server and the data that is returned with each. |
| 2975 </p> | 2984 </p> |
| 2976 <p> | 2985 <p> |
| 2977 TBD | 2986 TBD |
| 2978 </p> | 2987 </p> |
| 2979 | 2988 |
| 2980 | 2989 |
| 2981 </body></html> | 2990 </body></html> |
| OLD | NEW |