Get the classes which this class references.
Vector classRefs = new Vector();
for (int i = 0; i < constantPool.size(); ++i) {
ConstantPoolEntry entry = constantPool.getEntry(i);
if (entry != null
&& entry.getTag() == ConstantPoolEntry.CONSTANT_CLASS) {
ClassCPInfo classEntry = (ClassCPInfo) entry;
if (!classEntry.getClassName().equals(className)) {
classRefs.addElement(
ClassFileUtils.convertSlashName(classEntry.getClassName()));
}
}
}
return classRefs;