} else if (cp == CP_FIELD) {
return new CPFieldRef(bands.getCpFieldClass()[index], bands.getCpFieldDescriptor()[index]);
} else if (cp == CP_METHOD) {
return new CPMethodRef(bands.getCpMethodClass()[index], bands.getCpMethodDescriptor()[index]);
} else if (cp == CP_IMETHOD) {
return new CPInterfaceMethodRef(bands.getCpIMethodClass()[index], bands.getCpIMethodDescriptor()[index]);
} else {
// etc
throw new Error("Get value incomplete");
}
}