| 485 | } |
| 486 | |
| 487 | public int getModifiers() { |
| 488 | ClassAddendum addendum = vmClass.addendum; |
| 489 | if (addendum != null) { |
| 490 | InnerClassReference[] table = addendum.innerClassTable; |
| 491 | if (table != null) { |
| 492 | for (int i = 0; i < table.length; ++i) { |
| 493 | InnerClassReference reference = table[i]; |
| 494 | if (Arrays.equals(vmClass.name, reference.inner)) { |
| 495 | return reference.flags; |
| 496 | } |
| 497 | } |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | return vmClass.flags; |
| 502 | } |
| 503 | |
| 504 | public boolean isInterface() { |
| 505 | return (vmClass.flags & Modifier.INTERFACE) != 0; |