ConstantInteger c = (ConstantInteger) constant;
result.append("int\t");
result.append(constPool.constantToString(c));
result.append(';');
} else if (constant instanceof ConstantLong) {
ConstantLong c = (ConstantLong) constant;
result.append("long\t");
result.append(constPool.constantToString(c));
result.append(';');
} else if (constant instanceof ConstantClass) {
ConstantClass c = (ConstantClass) constant;
result.append("class\t#");
result.append(c.getNameIndex());
result.append(";\t// ");
result.append(constPool.constantToString(c));
} else if (constant instanceof ConstantString) {
ConstantString c = (ConstantString) constant;
result.append("String\t#");
result.append(c.getStringIndex());
result.append(";\t// ");
result.append(constPool.constantToString(c));
}
result.append(n);