ClassEnt(String s) { this(); this.utf8 = (Utf8Ent) addUtf8(s); }
void dump(DataOutput o) throws IOException { super.dump(o); o.writeShort(utf8.n); }
Type.Class getTypeClass() { return (Type.Class) key(); }
- Object _key() { return new Type.Class(utf8.s); }
+ Object _key() { return Type.Class.instance(utf8.s); }
void unref() { utf8.unref(); super.unref(); }
String debugToString() { return "[Class: " + utf8.s + "]"; }
}
return p == -1 ? descriptor.substring(1,descriptor.length()-1) : descriptor.substring(p+1,descriptor.length()-1);
}
private static String _initHelper(String s) {
- if (!s.startsWith("L") || !s.endsWith(";")) s = "L" + s.replace('.', '/') + ";";
+ if (!s.startsWith("L") || !s.endsWith(";")) throw new Error("invalid");
return s;
}
String[] components() {