| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
| 6 // To regenerate the file, use the script | 6 // To regenerate the file, use the script |
| 7 // "pkg/analysis_server/tool/spec/generate_files". | 7 // "pkg/analysis_server/tool/spec/generate_files". |
| 8 | 8 |
| 9 part of analysis_server.plugin.protocol.protocol; | 9 part of analysis_server.plugin.protocol.protocol; |
| 10 | 10 |
| (...skipping 6209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6220 */ | 6220 */ |
| 6221 void set validateOnly(bool value) { | 6221 void set validateOnly(bool value) { |
| 6222 assert(value != null); | 6222 assert(value != null); |
| 6223 this._validateOnly = value; | 6223 this._validateOnly = value; |
| 6224 } | 6224 } |
| 6225 | 6225 |
| 6226 /** | 6226 /** |
| 6227 * Data used to provide values provided by the user. The structure of the | 6227 * Data used to provide values provided by the user. The structure of the |
| 6228 * data is dependent on the kind of refactoring being performed. The data | 6228 * data is dependent on the kind of refactoring being performed. The data |
| 6229 * that is expected is documented in the section titled Refactorings, labeled | 6229 * that is expected is documented in the section titled Refactorings, labeled |
| 6230 * as “Options”. This field can be omitted if the refactoring does not | 6230 * as "Options". This field can be omitted if the refactoring does not |
| 6231 * require any options or if the values of those options are not known. | 6231 * require any options or if the values of those options are not known. |
| 6232 */ | 6232 */ |
| 6233 RefactoringOptions get options => _options; | 6233 RefactoringOptions get options => _options; |
| 6234 | 6234 |
| 6235 /** | 6235 /** |
| 6236 * Data used to provide values provided by the user. The structure of the | 6236 * Data used to provide values provided by the user. The structure of the |
| 6237 * data is dependent on the kind of refactoring being performed. The data | 6237 * data is dependent on the kind of refactoring being performed. The data |
| 6238 * that is expected is documented in the section titled Refactorings, labeled | 6238 * that is expected is documented in the section titled Refactorings, labeled |
| 6239 * as “Options”. This field can be omitted if the refactoring does not | 6239 * as "Options". This field can be omitted if the refactoring does not |
| 6240 * require any options or if the values of those options are not known. | 6240 * require any options or if the values of those options are not known. |
| 6241 */ | 6241 */ |
| 6242 void set options(RefactoringOptions value) { | 6242 void set options(RefactoringOptions value) { |
| 6243 this._options = value; | 6243 this._options = value; |
| 6244 } | 6244 } |
| 6245 | 6245 |
| 6246 EditGetRefactoringParams(RefactoringKind kind, String file, int offset, int le
ngth, bool validateOnly, {RefactoringOptions options}) { | 6246 EditGetRefactoringParams(RefactoringKind kind, String file, int offset, int le
ngth, bool validateOnly, {RefactoringOptions options}) { |
| 6247 this.kind = kind; | 6247 this.kind = kind; |
| 6248 this.file = file; | 6248 this.file = file; |
| 6249 this.offset = offset; | 6249 this.offset = offset; |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6425 */ | 6425 */ |
| 6426 void set finalProblems(List<RefactoringProblem> value) { | 6426 void set finalProblems(List<RefactoringProblem> value) { |
| 6427 assert(value != null); | 6427 assert(value != null); |
| 6428 this._finalProblems = value; | 6428 this._finalProblems = value; |
| 6429 } | 6429 } |
| 6430 | 6430 |
| 6431 /** | 6431 /** |
| 6432 * Data used to provide feedback to the user. The structure of the data is | 6432 * Data used to provide feedback to the user. The structure of the data is |
| 6433 * dependent on the kind of refactoring being created. The data that is | 6433 * dependent on the kind of refactoring being created. The data that is |
| 6434 * returned is documented in the section titled Refactorings, labeled as | 6434 * returned is documented in the section titled Refactorings, labeled as |
| 6435 * “Feedback”. | 6435 * "Feedback". |
| 6436 */ | 6436 */ |
| 6437 RefactoringFeedback get feedback => _feedback; | 6437 RefactoringFeedback get feedback => _feedback; |
| 6438 | 6438 |
| 6439 /** | 6439 /** |
| 6440 * Data used to provide feedback to the user. The structure of the data is | 6440 * Data used to provide feedback to the user. The structure of the data is |
| 6441 * dependent on the kind of refactoring being created. The data that is | 6441 * dependent on the kind of refactoring being created. The data that is |
| 6442 * returned is documented in the section titled Refactorings, labeled as | 6442 * returned is documented in the section titled Refactorings, labeled as |
| 6443 * “Feedback”. | 6443 * "Feedback". |
| 6444 */ | 6444 */ |
| 6445 void set feedback(RefactoringFeedback value) { | 6445 void set feedback(RefactoringFeedback value) { |
| 6446 this._feedback = value; | 6446 this._feedback = value; |
| 6447 } | 6447 } |
| 6448 | 6448 |
| 6449 /** | 6449 /** |
| 6450 * The changes that are to be applied to affect the refactoring. This field | 6450 * The changes that are to be applied to affect the refactoring. This field |
| 6451 * will be omitted if there are problems that prevent a set of changes from | 6451 * will be omitted if there are problems that prevent a set of changes from |
| 6452 * being computed, such as having no options specified for a refactoring that | 6452 * being computed, such as having no options specified for a refactoring that |
| 6453 * requires them, or if only validation was requested. | 6453 * requires them, or if only validation was requested. |
| (...skipping 5110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11564 /** | 11564 /** |
| 11565 * A human-readable description of the element being referenced. This data is | 11565 * A human-readable description of the element being referenced. This data is |
| 11566 * omitted if there is no referenced element. | 11566 * omitted if there is no referenced element. |
| 11567 */ | 11567 */ |
| 11568 void set elementDescription(String value) { | 11568 void set elementDescription(String value) { |
| 11569 this._elementDescription = value; | 11569 this._elementDescription = value; |
| 11570 } | 11570 } |
| 11571 | 11571 |
| 11572 /** | 11572 /** |
| 11573 * A human-readable description of the kind of element being referenced (such | 11573 * A human-readable description of the kind of element being referenced (such |
| 11574 * as “class” or “function type alias”). This data is omitted if there is no | 11574 * as "class" or "function type alias"). This data is omitted if there is no |
| 11575 * referenced element. | 11575 * referenced element. |
| 11576 */ | 11576 */ |
| 11577 String get elementKind => _elementKind; | 11577 String get elementKind => _elementKind; |
| 11578 | 11578 |
| 11579 /** | 11579 /** |
| 11580 * A human-readable description of the kind of element being referenced (such | 11580 * A human-readable description of the kind of element being referenced (such |
| 11581 * as “class” or “function type alias”). This data is omitted if there is no | 11581 * as "class" or "function type alias"). This data is omitted if there is no |
| 11582 * referenced element. | 11582 * referenced element. |
| 11583 */ | 11583 */ |
| 11584 void set elementKind(String value) { | 11584 void set elementKind(String value) { |
| 11585 this._elementKind = value; | 11585 this._elementKind = value; |
| 11586 } | 11586 } |
| 11587 | 11587 |
| 11588 /** | 11588 /** |
| 11589 * True if the referenced element is deprecated. | 11589 * True if the referenced element is deprecated. |
| 11590 */ | 11590 */ |
| 11591 bool get isDeprecated => _isDeprecated; | 11591 bool get isDeprecated => _isDeprecated; |
| (...skipping 5377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16969 /** | 16969 /** |
| 16970 * The length of the name selected to be renamed. | 16970 * The length of the name selected to be renamed. |
| 16971 */ | 16971 */ |
| 16972 void set length(int value) { | 16972 void set length(int value) { |
| 16973 assert(value != null); | 16973 assert(value != null); |
| 16974 this._length = value; | 16974 this._length = value; |
| 16975 } | 16975 } |
| 16976 | 16976 |
| 16977 /** | 16977 /** |
| 16978 * The human-readable description of the kind of element being renamed (such | 16978 * The human-readable description of the kind of element being renamed (such |
| 16979 * as “class” or “function type alias”). | 16979 * as "class" or "function type alias"). |
| 16980 */ | 16980 */ |
| 16981 String get elementKindName => _elementKindName; | 16981 String get elementKindName => _elementKindName; |
| 16982 | 16982 |
| 16983 /** | 16983 /** |
| 16984 * The human-readable description of the kind of element being renamed (such | 16984 * The human-readable description of the kind of element being renamed (such |
| 16985 * as “class” or “function type alias”). | 16985 * as "class" or "function type alias"). |
| 16986 */ | 16986 */ |
| 16987 void set elementKindName(String value) { | 16987 void set elementKindName(String value) { |
| 16988 assert(value != null); | 16988 assert(value != null); |
| 16989 this._elementKindName = value; | 16989 this._elementKindName = value; |
| 16990 } | 16990 } |
| 16991 | 16991 |
| 16992 /** | 16992 /** |
| 16993 * The old name of the element before the refactoring. | 16993 * The old name of the element before the refactoring. |
| 16994 */ | 16994 */ |
| 16995 String get oldName => _oldName; | 16995 String get oldName => _oldName; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17146 return false; | 17146 return false; |
| 17147 } | 17147 } |
| 17148 | 17148 |
| 17149 @override | 17149 @override |
| 17150 int get hashCode { | 17150 int get hashCode { |
| 17151 int hash = 0; | 17151 int hash = 0; |
| 17152 hash = JenkinsSmiHash.combine(hash, newName.hashCode); | 17152 hash = JenkinsSmiHash.combine(hash, newName.hashCode); |
| 17153 return JenkinsSmiHash.finish(hash); | 17153 return JenkinsSmiHash.finish(hash); |
| 17154 } | 17154 } |
| 17155 } | 17155 } |
| OLD | NEW |