public int hashCode() {
int hashcode=type^arraycount;
- hashcode+=annotationSet.hashCode();
if (type==CLASS)
hashcode^=getSymbol().hashCode();
return hashcode;
//Can't safely use [ in C
if (isArray())
return "_AR_"+this.dereference().getSafeDescriptor();
- else if (isClass())
+ else if (isClass()||isEnum())
return class_desc.getSafeDescriptor();
else if (isByte())
return "B";
return "F";
else if (isTag())
return "T";
- else throw new Error();
+ else throw new Error(toString());
}
public boolean isNumber() {