()
| 665 | } |
| 666 | |
| 667 | public Annotation[] getDeclaredAnnotations() { |
| 668 | if (vmClass.addendum.annotationTable != null) { |
| 669 | Classes.link(vmClass); |
| 670 | |
| 671 | Object[] table = (Object[]) vmClass.addendum.annotationTable; |
| 672 | Annotation[] array = new Annotation[table.length]; |
| 673 | for (int i = 0; i < table.length; ++i) { |
| 674 | array[i] = getAnnotation(vmClass, (Object[]) table[i]); |
| 675 | } |
| 676 | return array; |
| 677 | } else { |
| 678 | return new Annotation[0]; |
| 679 | } |
| 680 | } |
| 681 | |
| 682 | private int countAnnotations() { |
| 683 | int count = 0; |
nothing calls this directly
no test coverage detected