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

Method readStringish

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

Reads a CONSTANT_Class, CONSTANT_String, CONSTANT_MethodType, CONSTANT_Module or CONSTANT_Package 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 uns

(final int offset, final char[] charBuffer)

Source from the content-addressed store, hash-verified

3439 * @return the String corresponding to the specified constant pool entry.
3440 */
3441 private String readStringish(final int offset, final char[] charBuffer) {
3442 // Get the start offset of the cp_info structure (plus one), and read the CONSTANT_Utf8 entry
3443 // designated by the first two bytes of this cp_info.
3444 return readUTF8(cpInfoOffsets[readUnsignedShort(offset)], charBuffer);
3445 }
3446
3447 /**
3448 * Reads a CONSTANT_Class constant pool entry in {@link #b}. <i>This method is intended for {@link

Callers 3

readClassMethod · 0.95
readModuleMethod · 0.95
readPackageMethod · 0.95

Calls 2

readUTF8Method · 0.95
readUnsignedShortMethod · 0.95

Tested by

no test coverage detected