OLD | NEW |
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 |
(...skipping 24 matching lines...) Expand all Loading... |
35 * Dead code is code that is never reached. This case covers cases where the u
ser has an on-catch | 35 * Dead code is code that is never reached. This case covers cases where the u
ser has an on-catch |
36 * clause such as {@code on A catch (e)}, where a supertype of {@code A} was a
lready caught. | 36 * clause such as {@code on A catch (e)}, where a supertype of {@code A} was a
lready caught. |
37 * | 37 * |
38 * @param subtypeName name of the subtype | 38 * @param subtypeName name of the subtype |
39 * @param supertypeName name of the supertype | 39 * @param supertypeName name of the supertype |
40 */ | 40 */ |
41 DEAD_CODE_ON_CATCH_SUBTYPE( | 41 DEAD_CODE_ON_CATCH_SUBTYPE( |
42 "Dead code, this on-catch block will never be executed since '%s' is a sub
type of '%s'"), | 42 "Dead code, this on-catch block will never be executed since '%s' is a sub
type of '%s'"), |
43 | 43 |
44 /** | 44 /** |
| 45 * Deprecated members should not be invoked or used. |
| 46 * |
| 47 * @param memberName the name of the member |
| 48 */ |
| 49 DEPRECATED_MEMBER_USE("'%s' is deprecated"), |
| 50 |
| 51 /** |
45 * Duplicate imports. | 52 * Duplicate imports. |
46 */ | 53 */ |
47 DUPLICATE_IMPORT("Duplicate import"), | 54 DUPLICATE_IMPORT("Duplicate import"), |
48 | 55 |
49 /** | 56 /** |
50 * Hint to use the ~/ operator. | 57 * Hint to use the ~/ operator. |
51 */ | 58 */ |
52 DIVISION_OPTIMIZATION("The operator x ~/ y is more efficient than (x / y).toIn
t()"), | 59 DIVISION_OPTIMIZATION("The operator x ~/ y is more efficient than (x / y).toIn
t()"), |
53 | 60 |
54 /** | 61 /** |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 @Override | 217 @Override |
211 public String getMessage() { | 218 public String getMessage() { |
212 return message; | 219 return message; |
213 } | 220 } |
214 | 221 |
215 @Override | 222 @Override |
216 public ErrorType getType() { | 223 public ErrorType getType() { |
217 return ErrorType.HINT; | 224 return ErrorType.HINT; |
218 } | 225 } |
219 } | 226 } |
OLD | NEW |