Reads a CONSTANT_Utf8 constant pool entry in #b. This method is intended for Attribute sub classes, and is normally not needed by class generators or adapters. @param offset the start offset of an unsigned short value in #b, whose value is the index of a CONSTANT_
(final int offset, final char[] charBuffer)
| 3367 | * @return the String corresponding to the specified CONSTANT_Utf8 entry. |
| 3368 | */ |
| 3369 | public String readUTF8(final int offset, final char[] charBuffer) { |
| 3370 | int constantPoolEntryIndex = readUnsignedShort(offset); |
| 3371 | if (offset == 0 || constantPoolEntryIndex == 0) { |
| 3372 | return null; |
| 3373 | } |
| 3374 | return readUTF(constantPoolEntryIndex, charBuffer); |
| 3375 | } |
| 3376 | |
| 3377 | /** |
| 3378 | * Reads a CONSTANT_Utf8 constant pool entry in {@link #b}. |
no test coverage detected