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

Side by Side Diff: pkg/analysis_services/lib/src/generated/proposal.dart

Issue 475543002: New analyzer snapshot, add format/formatList. (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
OLDNEW
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 code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library services.proposal; 8 library services.proposal;
9 9
10 import 'package:analyzer/src/generated/java_core.dart'; 10 import 'package:analyzer/src/generated/java_core.dart';
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 /** 231 /**
232 * An empty array of [CorrectionProposal]s. 232 * An empty array of [CorrectionProposal]s.
233 */ 233 */
234 static List<CorrectionProposal> EMPTY_ARRAY = new List<CorrectionProposal>(0); 234 static List<CorrectionProposal> EMPTY_ARRAY = new List<CorrectionProposal>(0);
235 235
236 final CorrectionKind kind; 236 final CorrectionKind kind;
237 237
238 String _name; 238 String _name;
239 239
240 CorrectionProposal(this.kind, List<Object> arguments) { 240 CorrectionProposal(this.kind, List<Object> arguments) {
241 this._name = JavaString.format(kind.message, arguments); 241 this._name = formatList(kind.message, arguments);
242 } 242 }
243 243
244 /** 244 /**
245 * @return the name to display for user. 245 * @return the name to display for user.
246 */ 246 */
247 String get name => _name; 247 String get name => _name;
248 } 248 }
249 249
250 /** 250 /**
251 * [CorrectionProposal] to create new file. 251 * [CorrectionProposal] to create new file.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 this._linkedPositionProposals = {}; 300 this._linkedPositionProposals = {};
301 } 301 }
302 302
303 /** 303 /**
304 * Sets the [Map] or position IDs to their locations. 304 * Sets the [Map] or position IDs to their locations.
305 */ 305 */
306 void set linkedPositions(Map<String, List<SourceRange>> linkedPositions) { 306 void set linkedPositions(Map<String, List<SourceRange>> linkedPositions) {
307 this._linkedPositions = {}; 307 this._linkedPositions = {};
308 } 308 }
309 } 309 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698