Lines Matching defs:item
54 * The start index of each constant pool item in {@link #b b}, plus one.
55 * The one byte offset skips the constant pool item tag that indicates its
62 * avoids multiple parsing of a given CONSTANT_Utf8 constant pool item,
160 Item item = new Item(i);
167 item.set(tag,
174 item.set(readInt(index));
178 item.set(Float.intBitsToFloat(readInt(index)));
182 item.set(tag,
189 item.set(readLong(index));
194 item.set(Double.longBitsToDouble(readLong(index)));
206 item.set(tag, s, null, null);
213 item.set(tag, readUTF8(index, buf), null, null);
217 int index2 = item.hashCode % items2.length;
218 item.next = items2[index2];
219 items2[index2] = item;
403 int item = readUnsignedShort(v + 8);
404 if (item != 0) {
405 enclosingName = readUTF8(items[item], c);
406 enclosingDesc = readUTF8(items[item] + 2, c);
1412 * Returns the start index of the constant pool item in {@link #b b}, plus
1416 * @param item the index a constant pool item.
1417 * @return the start index of the constant pool item in {@link #b b}, plus
1420 public int getItem(final int item) {
1421 return items[item];
1491 * Reads an UTF8 string constant pool item in {@link #b b}. <i>This method
1496 * whose value is the index of an UTF8 constant pool item.
1497 * @param buf buffer to be used to read the item. This buffer must be
1499 * @return the String corresponding to the specified UTF8 item.
1502 int item = readUnsignedShort(index);
1503 String s = strings[item];
1507 index = items[item];
1508 return strings[item] = readUTF(index + 2, readUnsignedShort(index), buf);
1558 * Reads a class constant pool item in {@link #b b}. <i>This method is
1563 * whose value is the index of a class constant pool item.
1564 * @param buf buffer to be used to read the item. This buffer must be
1566 * @return the String corresponding to the specified class item.
1569 // computes the start index of the CONSTANT_Class item in b
1570 // and reads the CONSTANT_Utf8 item designated by
1571 // the first two bytes of this CONSTANT_Class item
1576 * Reads a numeric or string constant pool item in {@link #b b}. <i>This
1580 * @param item the index of a constant pool item.
1581 * @param buf buffer to be used to read the item. This buffer must be
1585 * the given constant pool item.
1587 public Object readConst(final int item, final char[] buf) {
1588 int index = items[item];