} else if (cp == CP_LONG) {
return new CPLong(new Long(bands.getCpLong()[index]));
} else if (cp == CP_DOUBLE) {
return new CPDouble(new Double(bands.getCpDouble()[index]));
} else if (cp == CP_STRING) {
return new CPString(bands.getCpString()[index]);
} else if (cp == CP_CLASS) {
return new CPClass(bands.getCpClass()[index]);
} else if (cp == SIGNATURE) {
throw new Error("I don't know what to do with signatures yet");
// return null /* new CPSignature(bands.getCpSignature()[index]) */;