Module descriptor writing example?

Mark Raynsford <[email protected]> Tue, 20 Mar 2018 15:04:02 +0000
Newsgroups gmane.comp.java.objectweb.asm
Organization io7m.com
Message-ID <[email protected]>
Hello!

Does anyone have any example code that shows how to serialize a simple
module descriptor?

I have a populated ModuleNode with a name and a few requires/exports,
but I can't work out how to transform that to valid bytecode via a
ClassWriter.

-- 
Mark Raynsford | http://www.io7m.com
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQS4Thd0dhbGF0xo1eVcGntxKBLMBQUCWrEi4gAKCRBcGntxKBLM
BaHwAQD0kxHTt6Xtt/mT6SYKU2lE72e4rSQpg7wSKC7qb2Cz8AD/VJp99IRvSvuy
x1Uou8+s/J1stXiCfFcyIN/YPUXYIws=
=RtmQ
-----END PGP SIGNATURE-----