for (int i = 0; i < tvcount; i++) {
m.typeVariables[i] = TypeVariable.read(s);
m.typeVariables[i].setDeclaringElement(m);
+ m.typeVariables[i].setRank(i);
}
}
if (s.getMajorVersion() >= AjAttribute.WeaverVersionInfo.WEAVER_VERSION_MAJOR_AJ150M4) {
StringBuffer sb = new StringBuffer();
sb.append(name);
sb.append(":");
- sb.append(((ResolvedType) superclass).getSignatureForAttribute());
+ if (superInterfaces.length == 0) {
+ sb.append(((ResolvedType) superclass).getSignatureForAttribute());
+ }
if (superInterfaces.length != 0) {
sb.append(":");
for (int i = 0; i < superInterfaces.length; i++) {