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