()
| 758 | } |
| 759 | |
| 760 | public Type[] getGenericInterfaces() { |
| 761 | if (vmClass.addendum == null || vmClass.addendum.signature == null) { |
| 762 | return getInterfaces(); |
| 763 | } |
| 764 | |
| 765 | String[] typeSigns = getGenericTypeSignatures(); |
| 766 | if (typeSigns.length < 1) { |
| 767 | throw new RuntimeException("Class signature doesn't contain any type"); |
| 768 | } |
| 769 | |
| 770 | // Parsing types |
| 771 | Type[] res = new Type[typeSigns.length - 1]; |
| 772 | for (int i = 0; i < typeSigns.length - 1; i++) { |
| 773 | res[i] = SignatureParser.parse(vmClass.loader, typeSigns[i + 1], this); |
| 774 | } |
| 775 | |
| 776 | return res; |
| 777 | } |
| 778 | |
| 779 | public Type getGenericSuperclass() { |
| 780 | if (vmClass.addendum == null || vmClass.addendum.signature == null) { |
nothing calls this directly
no test coverage detected