MCPcopy Create free account
hub / github.com/ReadyTalk/avian / getGenericSuperclass

Method getGenericSuperclass

classpath/java/lang/Class.java:779–789  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

777 }
778
779 public Type getGenericSuperclass() {
780 if (vmClass.addendum == null || vmClass.addendum.signature == null) {
781 return getSuperclass();
782 }
783 String[] typeSigns = getGenericTypeSignatures();
784 if (typeSigns.length < 1) {
785 throw new RuntimeException("Class signature doesn't contain any type");
786 }
787
788 return SignatureParser.parse(vmClass.loader, typeSigns[0], this);
789 }
790
791}

Callers

nothing calls this directly

Calls 3

getSuperclassMethod · 0.95
parseMethod · 0.95

Tested by

no test coverage detected