Is someone familiar with ASM Transformations?
# compiler
i
Is someone familiar with ASM Transformations?
d
I'm just getting started with them but I made a basic JVM compiler plugin with ASM transformations
i
can you send me the repo
d
i
Or better, did you work with the
Remapper
d
didn't use remapper at all, I used the TransformationMethodVisitor
my use case was just for changing the body of a method so that gives you a
MethodNode
for which you can modify the list of instructions
i
Can you send in the file where you do that
i
Using the TreeApi kills compilation time. Why didnt you use an MethodeVisitor?
d
I was having trouble getting the information I needed with just MethodVisitor, so for the first version I just wanted to get it working. Going to look into using MethodVisitor again to make it faster later
i
Thanks for sharing @Daniel Rampelt 👍🏽
d
No problem 🙂
i
Yes for sure. I am going to share it here if I find valuable ressources.
d
Thanks, I'll be looking forward to it 👍