MCPcopy Index your code
hub / github.com/clojure/clojure / readUTF8

Method readUTF8

src/jvm/clojure/asm/ClassReader.java:3369–3375  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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}.

Callers 14

ClassReaderMethod · 0.95
acceptMethod · 0.95
readModuleMethod · 0.95
readFieldMethod · 0.95
readMethodMethod · 0.95
readCodeMethod · 0.95
readTypeAnnotationsMethod · 0.95
readElementValuesMethod · 0.95
readElementValueMethod · 0.95
readStringishMethod · 0.95
readConstantDynamicMethod · 0.95

Calls 2

readUnsignedShortMethod · 0.95
readUTFMethod · 0.95

Tested by

no test coverage detected