jasm icon indicating copy to clipboard operation
jasm copied to clipboard

Annotations?

Open MattiDragon opened this issue 2 years ago • 3 comments

There doesn't currently seem to be any way to apply annotation to things is jasm files. Some frameworks and libraries depend on runtime annotations and would thus require class files intended for use with them to have it.

If this is a feature then examples of the syntax would be useful

MattiDragon avatar Jun 26 '22 09:06 MattiDragon

Thanks for this :)

Unfortunately annotations aren't currently supported, but coincidentally I started working on them yesterday. They'll be in the next release.

roscopeco avatar Jun 26 '22 10:06 roscopeco

Any progress?

MattiDragon avatar Aug 06 '22 18:08 MattiDragon

Any progress?

Still a work-in-progress, the time I initially set aside for this was soaked up by https://github.com/roscopeco/jasm/issues/35 and I've been a bit pressed for OSS time otherwise. This is still top of the list though, I hope to have something ready soon!

roscopeco avatar Aug 06 '22 18:08 roscopeco

Apologies for the delay on this @MattiDragon , work and life got in the way. Annotations are now supported in the assembler in the develop branch. I just need to add support into the disassembler and then they can go into a release 🥳

See https://github.com/roscopeco/jasm/blob/develop/docs/examples.md#annotations for example syntax if you want to try them out 👍

(worth noting that parameter annotations aren’t yet supported - only type, field and method. Parameters will also be along soon).

roscopeco avatar Sep 10 '22 18:09 roscopeco

Complete, annotations are now fully supported in develop and will be in the next release.

roscopeco avatar Sep 12 '22 18:09 roscopeco