| 1 |
/** |
| 2 |
* @throws IllegalArgumentException if the argument is negative. |
| 3 |
* @see org.my.company.InfoClass for more information. |
| 4 |
* @param <T> the first generic argument. |
| 5 |
* {@linkplain #foo(char[], java.lang.String) foo} |
| 6 |
* |
| 7 |
* multi-line {@link |
| 8 |
* #foo(char[], java.lang.String)} |
| 9 |
* |
| 10 |
* @see #field |
| 11 |
* @see #method(Type, Type) |
| 12 |
* @see #method(Type argname, Type argname) |
| 13 |
* @see #constructor(Type, Type) |
| 14 |
* @see #constructor(Type argname, Type argname) |
| 15 |
* @see Class#field |
| 16 |
* @see Class#method(Type, Type) |
| 17 |
* @see Class#method(Type argname, Type argname) |
| 18 |
* @see Class#constructor(Type, Type) |
| 19 |
* @see Class#constructor(Type argname, Type argname) |
| 20 |
* @see Class.NestedClass |
| 21 |
* @see Class |
| 22 |
* @see foo.bar.Class#field |
| 23 |
* @see foo.bar.Class#method(Type, Type) |
| 24 |
* @see foo.bar.Class#method(Type argname, Type argname) |
| 25 |
* @see foo.bar.Class#constructor(Type, Type) |
| 26 |
* @see foo.bar.Class#constructor(Type argname, Type argname) |
| 27 |
* @see foo.bar.Class.NestedClass |
| 28 |
* @see foo.bar.Class |
| 29 |
*/ |
| 30 |
|
| 31 |
---------------------------------------------------- |
| 32 |
|
| 33 |
[ |
| 34 |
"/**\r\n * ", |
| 35 |
["keyword", "@throws"], |
| 36 |
["reference", [ |
| 37 |
["class-name", "IllegalArgumentException"] |
| 38 |
]], |
| 39 |
" if the argument is negative.\r\n * ", |
| 40 |
["keyword", "@see"], |
| 41 |
["reference", [ |
| 42 |
["namespace", [ |
| 43 |
"org", |
| 44 |
["punctuation", "."], |
| 45 |
"my", |
| 46 |
["punctuation", "."], |
| 47 |
"company", |
| 48 |
["punctuation", "."] |
| 49 |
]], |
| 50 |
["class-name", "InfoClass"] |
| 51 |
]], |
| 52 |
" for more information.\r\n * ", |
| 53 |
["keyword", "@param"], |
| 54 |
["class-name", [ |
| 55 |
["punctuation", "<"], |
| 56 |
"T", |
| 57 |
["punctuation", ">"] |
| 58 |
]], |
| 59 |
" the first generic argument.\r\n * ", |
| 60 |
["punctuation", "{"], |
| 61 |
["keyword", "@linkplain"], |
| 62 |
["reference", [ |
| 63 |
["punctuation", "#"], |
| 64 |
["function", "foo"], |
| 65 |
["punctuation", "("], |
| 66 |
["keyword", "char"], |
| 67 |
["punctuation", "["], |
| 68 |
["punctuation", "]"], |
| 69 |
["punctuation", ","], |
| 70 |
["namespace", [ |
| 71 |
"java", |
| 72 |
["punctuation", "."], |
| 73 |
"lang", |
| 74 |
["punctuation", "."] |
| 75 |
]], |
| 76 |
["class-name", "String"], |
| 77 |
["punctuation", ")"] |
| 78 |
]], |
| 79 |
" foo", |
| 80 |
["punctuation", "}"], |
| 81 |
|
| 82 |
"\r\n *\r\n * multi-line ", |
| 83 |
["punctuation", "{"], |
| 84 |
["keyword", "@link"], |
| 85 |
"\r\n * ", |
| 86 |
["reference", [ |
| 87 |
["punctuation", "#"], |
| 88 |
["function", "foo"], |
| 89 |
["punctuation", "("], |
| 90 |
["keyword", "char"], |
| 91 |
["punctuation", "["], |
| 92 |
["punctuation", "]"], |
| 93 |
["punctuation", ","], |
| 94 |
["namespace", [ |
| 95 |
"java", |
| 96 |
["punctuation", "."], |
| 97 |
"lang", |
| 98 |
["punctuation", "."] |
| 99 |
]], |
| 100 |
["class-name", "String"], |
| 101 |
["punctuation", ")"] |
| 102 |
]], |
| 103 |
["punctuation", "}"], |
| 104 |
|
| 105 |
"\r\n *\r\n * ", |
| 106 |
["keyword", "@see"], |
| 107 |
["reference", [ |
| 108 |
["punctuation", "#"], |
| 109 |
["field", "field"] |
| 110 |
]], |
| 111 |
"\r\n * ", |
| 112 |
["keyword", "@see"], |
| 113 |
["reference", [ |
| 114 |
["punctuation", "#"], |
| 115 |
["function", "method"], |
| 116 |
["punctuation", "("], |
| 117 |
["class-name", "Type"], |
| 118 |
["punctuation", ","], |
| 119 |
["class-name", "Type"], |
| 120 |
["punctuation", ")"] |
| 121 |
]], |
| 122 |
"\r\n * ", |
| 123 |
["keyword", "@see"], |
| 124 |
["reference", [ |
| 125 |
["punctuation", "#"], |
| 126 |
["function", "method"], |
| 127 |
["punctuation", "("], |
| 128 |
["class-name", "Type"], |
| 129 |
" argname", |
| 130 |
["punctuation", ","], |
| 131 |
["class-name", "Type"], |
| 132 |
" argname", |
| 133 |
["punctuation", ")"] |
| 134 |
]], |
| 135 |
"\r\n * ", |
| 136 |
["keyword", "@see"], |
| 137 |
["reference", [ |
| 138 |
["punctuation", "#"], |
| 139 |
["function", "constructor"], |
| 140 |
["punctuation", "("], |
| 141 |
["class-name", "Type"], |
| 142 |
["punctuation", ","], |
| 143 |
["class-name", "Type"], |
| 144 |
["punctuation", ")"] |
| 145 |
]], |
| 146 |
"\r\n * ", |
| 147 |
["keyword", "@see"], |
| 148 |
["reference", [ |
| 149 |
["punctuation", "#"], |
| 150 |
["function", "constructor"], |
| 151 |
["punctuation", "("], |
| 152 |
["class-name", "Type"], |
| 153 |
" argname", |
| 154 |
["punctuation", ","], |
| 155 |
["class-name", "Type"], |
| 156 |
" argname", |
| 157 |
["punctuation", ")"] |
| 158 |
]], |
| 159 |
"\r\n * ", |
| 160 |
["keyword", "@see"], |
| 161 |
["reference", [ |
| 162 |
["class-name", "Class"], |
| 163 |
["punctuation", "#"], |
| 164 |
["field", "field"] |
| 165 |
]], |
| 166 |
"\r\n * ", |
| 167 |
["keyword", "@see"], |
| 168 |
["reference", [ |
| 169 |
["class-name", "Class"], |
| 170 |
["punctuation", "#"], |
| 171 |
["function", "method"], |
| 172 |
["punctuation", "("], |
| 173 |
["class-name", "Type"], |
| 174 |
["punctuation", ","], |
| 175 |
["class-name", "Type"], |
| 176 |
["punctuation", ")"] |
| 177 |
]], |
| 178 |
"\r\n * ", |
| 179 |
["keyword", "@see"], |
| 180 |
["reference", [ |
| 181 |
["class-name", "Class"], |
| 182 |
["punctuation", "#"], |
| 183 |
["function", "method"], |
| 184 |
["punctuation", "("], |
| 185 |
["class-name", "Type"], |
| 186 |
" argname", |
| 187 |
["punctuation", ","], |
| 188 |
["class-name", "Type"], |
| 189 |
" argname", |
| 190 |
["punctuation", ")"] |
| 191 |
]], |
| 192 |
"\r\n * ", |
| 193 |
["keyword", "@see"], |
| 194 |
["reference", [ |
| 195 |
["class-name", "Class"], |
| 196 |
["punctuation", "#"], |
| 197 |
["function", "constructor"], |
| 198 |
["punctuation", "("], |
| 199 |
["class-name", "Type"], |
| 200 |
["punctuation", ","], |
| 201 |
["class-name", "Type"], |
| 202 |
["punctuation", ")"] |
| 203 |
]], |
| 204 |
"\r\n * ", |
| 205 |
["keyword", "@see"], |
| 206 |
["reference", [ |
| 207 |
["class-name", "Class"], |
| 208 |
["punctuation", "#"], |
| 209 |
["function", "constructor"], |
| 210 |
["punctuation", "("], |
| 211 |
["class-name", "Type"], |
| 212 |
" argname", |
| 213 |
["punctuation", ","], |
| 214 |
["class-name", "Type"], |
| 215 |
" argname", |
| 216 |
["punctuation", ")"] |
| 217 |
]], |
| 218 |
"\r\n * ", |
| 219 |
["keyword", "@see"], |
| 220 |
["reference", [ |
| 221 |
["class-name", "Class"], |
| 222 |
["punctuation", "."], |
| 223 |
["class-name", "NestedClass"] |
| 224 |
]], |
| 225 |
"\r\n * ", |
| 226 |
["keyword", "@see"], |
| 227 |
["reference", [ |
| 228 |
["class-name", "Class"] |
| 229 |
]], |
| 230 |
"\r\n * ", |
| 231 |
["keyword", "@see"], |
| 232 |
["reference", [ |
| 233 |
["namespace", [ |
| 234 |
"foo", |
| 235 |
["punctuation", "."], |
| 236 |
"bar", |
| 237 |
["punctuation", "."] |
| 238 |
]], |
| 239 |
["class-name", "Class"], |
| 240 |
["punctuation", "#"], |
| 241 |
["field", "field"] |
| 242 |
]], |
| 243 |
"\r\n * ", |
| 244 |
["keyword", "@see"], |
| 245 |
["reference", [ |
| 246 |
["namespace", [ |
| 247 |
"foo", |
| 248 |
["punctuation", "."], |
| 249 |
"bar", |
| 250 |
["punctuation", "."] |
| 251 |
]], |
| 252 |
["class-name", "Class"], |
| 253 |
["punctuation", "#"], |
| 254 |
["function", "method"], |
| 255 |
["punctuation", "("], |
| 256 |
["class-name", "Type"], |
| 257 |
["punctuation", ","], |
| 258 |
["class-name", "Type"], |
| 259 |
["punctuation", ")"] |
| 260 |
]], |
| 261 |
"\r\n * ", |
| 262 |
["keyword", "@see"], |
| 263 |
["reference", [ |
| 264 |
["namespace", [ |
| 265 |
"foo", |
| 266 |
["punctuation", "."], |
| 267 |
"bar", |
| 268 |
["punctuation", "."] |
| 269 |
]], |
| 270 |
["class-name", "Class"], |
| 271 |
["punctuation", "#"], |
| 272 |
["function", "method"], |
| 273 |
["punctuation", "("], |
| 274 |
["class-name", "Type"], |
| 275 |
" argname", |
| 276 |
["punctuation", ","], |
| 277 |
["class-name", "Type"], |
| 278 |
" argname", |
| 279 |
["punctuation", ")"] |
| 280 |
]], |
| 281 |
"\r\n * ", |
| 282 |
["keyword", "@see"], |
| 283 |
["reference", [ |
| 284 |
["namespace", [ |
| 285 |
"foo", |
| 286 |
["punctuation", "."], |
| 287 |
"bar", |
| 288 |
["punctuation", "."] |
| 289 |
]], |
| 290 |
["class-name", "Class"], |
| 291 |
["punctuation", "#"], |
| 292 |
["function", "constructor"], |
| 293 |
["punctuation", "("], |
| 294 |
["class-name", "Type"], |
| 295 |
["punctuation", ","], |
| 296 |
["class-name", "Type"], |
| 297 |
["punctuation", ")"] |
| 298 |
]], |
| 299 |
"\r\n * ", |
| 300 |
["keyword", "@see"], |
| 301 |
["reference", [ |
| 302 |
["namespace", [ |
| 303 |
"foo", |
| 304 |
["punctuation", "."], |
| 305 |
"bar", |
| 306 |
["punctuation", "."] |
| 307 |
]], |
| 308 |
["class-name", "Class"], |
| 309 |
["punctuation", "#"], |
| 310 |
["function", "constructor"], |
| 311 |
["punctuation", "("], |
| 312 |
["class-name", "Type"], |
| 313 |
" argname", |
| 314 |
["punctuation", ","], |
| 315 |
["class-name", "Type"], |
| 316 |
" argname", |
| 317 |
["punctuation", ")"] |
| 318 |
]], |
| 319 |
"\r\n * ", |
| 320 |
["keyword", "@see"], |
| 321 |
["reference", [ |
| 322 |
["namespace", [ |
| 323 |
"foo", |
| 324 |
["punctuation", "."], |
| 325 |
"bar", |
| 326 |
["punctuation", "."] |
| 327 |
]], |
| 328 |
["class-name", "Class"], |
| 329 |
["punctuation", "."], |
| 330 |
["class-name", "NestedClass"] |
| 331 |
]], |
| 332 |
"\r\n * ", |
| 333 |
["keyword", "@see"], |
| 334 |
["reference", [ |
| 335 |
["namespace", [ |
| 336 |
"foo", |
| 337 |
["punctuation", "."], |
| 338 |
"bar", |
| 339 |
["punctuation", "."] |
| 340 |
]], |
| 341 |
["class-name", "Class"] |
| 342 |
]], |
| 343 |
"\r\n */" |
| 344 |
] |
| 345 |
|
| 346 |
---------------------------------------------------- |
| 347 |
|
| 348 |
Checks for references. |