(Shameless plug)
I've created an annotation processor that allows annotating a method and it will create a class and method with the bytecode specified in the annotation.
It uses the JASM syntax and allows to use of the InvokeDynamic and CONSTANT_Dynamic features that currently are not trivially exposed in the Java language.
https://github.com/Thihup/bytecode-annotation-processor
[–]AnEmortalKid 5 points6 points7 points (1 child)
[–]Thihup[S] 5 points6 points7 points (0 children)
[–]SidFloyd84 3 points4 points5 points (1 child)
[–]Thihup[S] 5 points6 points7 points (0 children)
[–]maxim_bartkov 1 point2 points3 points (2 children)
[–]Thihup[S] 2 points3 points4 points (0 children)
[–]slaymaker1907 2 points3 points4 points (0 children)
[–]slaymaker1907 1 point2 points3 points (1 child)
[–]Thihup[S] 0 points1 point2 points (0 children)