|
39 | 39 | * All ways to specify a long literal.
|
40 | 40 | *
|
41 | 41 | * <ul>
|
42 |
| - * <li><code>8934l</code> |
43 |
| - * <li><code>0x01L</code> |
44 |
| - * <li><code>022l</code> |
45 |
| - * <li><code>0B10101010L</code> |
46 |
| - * <li><code>99999999L</code> |
| 42 | + * <li><code>8934l</code></li> |
| 43 | + * <li><code>0x01L</code></li> |
| 44 | + * <li><code>022l</code></li> |
| 45 | + * <li><code>0B10101010L</code></li> |
| 46 | + * <li><code>99999999L</code></li> |
47 | 47 | * </ul>
|
48 | 48 | *
|
49 | 49 | * @author Julio Vilmar Gesser
|
@@ -73,8 +73,8 @@ public LongLiteralExpr(TokenRange tokenRange, String value) {
|
73 | 73 | }
|
74 | 74 |
|
75 | 75 | /**
|
76 |
| - * @deprecated This function is deprecated in favor of constructing the literal by a string value. Please refer to |
77 |
| - * the {@link #asNumber()} function especially on how to construct literals holding negative values. |
| 76 | + * @deprecated This function is deprecated in favor of {@link #LongLiteralExpr(String)}. Please refer to the {@link |
| 77 | + * #asNumber()} function for valid formats and how to construct literals holding negative values. |
78 | 78 | */
|
79 | 79 | @Deprecated
|
80 | 80 | public LongLiteralExpr(final long value) {
|
@@ -155,8 +155,8 @@ public Number asNumber() {
|
155 | 155 | }
|
156 | 156 |
|
157 | 157 | /**
|
158 |
| - * @deprecated This function is deprecated in favor of constructing the literal by a string value. Please refer to |
159 |
| - * the {@link #asNumber()} function especially on how to construct literals holding negative values. |
| 158 | + * @deprecated This function is deprecated in favor of {@link #setValue(String)}. Please refer to the {@link |
| 159 | + * #asNumber()} function for valid formats and how to construct literals holding negative values. |
160 | 160 | */
|
161 | 161 | @Deprecated
|
162 | 162 | public LongLiteralExpr setLong(long value) {
|
|
0 commit comments