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

Side by Side Diff: editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/correction/CorrectionKind.java

Issue 150853003: Terminate JSON generator Quick Assist. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 /* 1 /*
2 * Copyright (c) 2013, the Dart project authors. 2 * Copyright (c) 2013, 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
11 * or implied. See the License for the specific language governing permissions a nd limitations under 11 * or implied. See the License for the specific language governing permissions a nd limitations under
12 * the License. 12 * the License.
13 */ 13 */
14 14
15 package com.google.dart.engine.services.correction; 15 package com.google.dart.engine.services.correction;
16 16
17 /** 17 /**
18 * Identifier of {@link CorrectionProposal}. 18 * Identifier of {@link CorrectionProposal}.
19 */ 19 */
20 public enum CorrectionKind { 20 public enum CorrectionKind {
21 QA_ADD_JSON(30, "Add toJson() / fromJson()"),
22 QA_ADD_PART_DIRECTIVE(30, "Add 'part' directive"), 21 QA_ADD_PART_DIRECTIVE(30, "Add 'part' directive"),
23 QA_ADD_TYPE_ANNOTATION(30, "Add type annotation"), 22 QA_ADD_TYPE_ANNOTATION(30, "Add type annotation"),
24 QA_ASSIGN_TO_LOCAL_VARIABLE(30, "Assign value to new local variable"), 23 QA_ASSIGN_TO_LOCAL_VARIABLE(30, "Assign value to new local variable"),
25 QA_CONVERT_INTO_BLOCK_BODY(30, "Convert into block body"), 24 QA_CONVERT_INTO_BLOCK_BODY(30, "Convert into block body"),
26 QA_CONVERT_INTO_EXPRESSION_BODY(30, "Convert into expression body"), 25 QA_CONVERT_INTO_EXPRESSION_BODY(30, "Convert into expression body"),
27 QA_CONVERT_INTO_IS_NOT(30, "Convert into is!"), 26 QA_CONVERT_INTO_IS_NOT(30, "Convert into is!"),
28 QA_CONVERT_INTO_IS_NOT_EMPTY(30, "Convert into 'isNotEmpty'"), 27 QA_CONVERT_INTO_IS_NOT_EMPTY(30, "Convert into 'isNotEmpty'"),
29 QA_EXCHANGE_OPERANDS(30, "Exchange operands"), 28 QA_EXCHANGE_OPERANDS(30, "Exchange operands"),
30 QA_EXTRACT_CLASS(30, "Extract class into file '%s'"), 29 QA_EXTRACT_CLASS(30, "Extract class into file '%s'"),
31 QA_IMPORT_ADD_SHOW(30, "Add explicit 'show' combinator"), 30 QA_IMPORT_ADD_SHOW(30, "Add explicit 'show' combinator"),
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 98 }
100 99
101 /** 100 /**
102 * @return the relevance of {@link CorrectionProposal} - greater value, higher in the list of 101 * @return the relevance of {@link CorrectionProposal} - greater value, higher in the list of
103 * proposals. 102 * proposals.
104 */ 103 */
105 public int getRelevance() { 104 public int getRelevance() {
106 return relevance; 105 return relevance;
107 } 106 }
108 } 107 }
OLDNEW
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/internal/correction/QuickAssistProcessorImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698