offset += 2; // size
for (int i = 1; i < size(); i++) {
ConstantPoolInfo cpi = get(i);
int length = cpi.getData().length;
map.put(cpi, new Range(offset, length));
offset += length;
// 2 word(8 byte) types take up 2 indices
if (cpi.getType() == ConstantPoolInfo.LONG
|| cpi.getType() == ConstantPoolInfo.DOUBLE) {