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

Method put

src/jvm/clojure/asm/TypePath.java:193–200  ·  view source on GitHub ↗

Puts the type_path JVMS structure corresponding to the given TypePath into the given ByteVector. @param typePath a TypePath instance, or null for empty paths. @param output where the type path must be put.

(final TypePath typePath, final ByteVector output)

Source from the content-addressed store, hash-verified

191 * @param output where the type path must be put.
192 */
193 static void put(final TypePath typePath, final ByteVector output) {
194 if (typePath == null) {
195 output.putByte(0);
196 } else {
197 int length = typePath.typePathContainer[typePath.typePathOffset] * 2 + 1;
198 output.putByteArray(typePath.typePathContainer, typePath.typePathOffset, length);
199 }
200 }
201}

Callers 6

visitTypeAnnotationMethod · 0.95
visitTypeAnnotationMethod · 0.95
visitInsnAnnotationMethod · 0.95
visitTypeAnnotationMethod · 0.95

Calls 2

putByteMethod · 0.80
putByteArrayMethod · 0.80

Tested by

no test coverage detected