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

Method putBootstrapMethods

src/jvm/clojure/asm/SymbolTable.java:388–396  ·  view source on GitHub ↗

Puts this symbol table's BootstrapMethods attribute in the given ByteVector. This includes the 6 attribute header bytes and the num_bootstrap_methods value. @param output where the JVMS BootstrapMethods attribute must be put.

(final ByteVector output)

Source from the content-addressed store, hash-verified

386 * @param output where the JVMS BootstrapMethods attribute must be put.
387 */
388 void putBootstrapMethods(final ByteVector output) {
389 if (bootstrapMethods != null) {
390 output
391 .putShort(addConstantUtf8(Constants.BOOTSTRAP_METHODS))
392 .putInt(bootstrapMethods.length + 2)
393 .putShort(bootstrapMethodCount)
394 .putByteArray(bootstrapMethods.data, 0, bootstrapMethods.length);
395 }
396 }
397
398 // -----------------------------------------------------------------------------------------------
399 // Generic symbol table entries management.

Callers 1

toByteArrayMethod · 0.80

Calls 4

addConstantUtf8Method · 0.95
putByteArrayMethod · 0.80
putShortMethod · 0.80
putIntMethod · 0.80

Tested by

no test coverage detected