()
| 690 | } |
| 691 | |
| 692 | public Annotation[] getAnnotations() { |
| 693 | Annotation[] array = new Annotation[countAnnotations()]; |
| 694 | int i = 0; |
| 695 | for (VMClass c = vmClass; c != null; c = c.super_) { |
| 696 | if (c.addendum != null && c.addendum.annotationTable != null) { |
| 697 | Object[] table = (Object[]) c.addendum.annotationTable; |
| 698 | for (int j = 0; j < table.length; ++j) { |
| 699 | array[i++] = getAnnotation(vmClass, (Object[]) table[j]); |
| 700 | } |
| 701 | } |
| 702 | } |
| 703 | |
| 704 | return array; |
| 705 | } |
| 706 | |
| 707 | public ProtectionDomain getProtectionDomain() { |
| 708 | return Classes.getProtectionDomain(vmClass); |
nothing calls this directly
no test coverage detected