Reads a CONSTANT_Utf8 constant pool entry in #b. @param constantPoolEntryIndex the index of a CONSTANT_Utf8 entry in the class's constant pool table. @param charBuffer the buffer to be used to read the string. This buffer must be sufficiently large. It is not automatically resized.
(final int constantPoolEntryIndex, final char[] charBuffer)
| 3384 | * @return the String corresponding to the specified CONSTANT_Utf8 entry. |
| 3385 | */ |
| 3386 | final String readUTF(final int constantPoolEntryIndex, final char[] charBuffer) { |
| 3387 | String value = (String) cpInfoValues[constantPoolEntryIndex]; |
| 3388 | if (value != null) { |
| 3389 | return value; |
| 3390 | } |
| 3391 | int cpInfoOffset = cpInfoOffsets[constantPoolEntryIndex]; |
| 3392 | value = readUTF(cpInfoOffset + 2, readUnsignedShort(cpInfoOffset), charBuffer); |
| 3393 | cpInfoValues[constantPoolEntryIndex] = value; |
| 3394 | return value; |
| 3395 | } |
| 3396 | |
| 3397 | /** |
| 3398 | * Reads an UTF8 string in {@link #b}. |
no test coverage detected