()
| 371 | } |
| 372 | |
| 373 | public Annotation[] getAnnotations() { |
| 374 | if (hasAnnotations()) { |
| 375 | Object[] table = (Object[]) vmField.addendum.annotationTable; |
| 376 | Annotation[] array = new Annotation[table.length]; |
| 377 | for (int i = 0; i < table.length; ++i) { |
| 378 | array[i] = getAnnotation((Object[]) table[i]); |
| 379 | } |
| 380 | return array; |
| 381 | } else { |
| 382 | return new Annotation[0]; |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | public Annotation[] getDeclaredAnnotations() { |
| 387 | return getAnnotations(); |
no test coverage detected