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)
| 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. |
no test coverage detected