()
| 287 | } |
| 288 | |
| 289 | public Constructor[] getDeclaredConstructors() { |
| 290 | Constructor[] array = new Constructor[countConstructors(false)]; |
| 291 | if (vmClass.methodTable != null) { |
| 292 | Classes.link(vmClass); |
| 293 | |
| 294 | int index = 0; |
| 295 | for (int i = 0; i < vmClass.methodTable.length; ++i) { |
| 296 | if (Method.getName(vmClass.methodTable[i]).equals("<init>")) { |
| 297 | array[index++] = new Constructor(new Method(vmClass.methodTable[i])); |
| 298 | } |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | return array; |
| 303 | } |
| 304 | |
| 305 | public Constructor[] getConstructors() { |
| 306 | Constructor[] array = new Constructor[countConstructors(true)]; |
no test coverage detected