I am trying to change the class reference of a lambda class in it's constant pool. I've found a way to change it's name, but I need to change the class reference too since it remains the same (e.g. CapturingClass$$Lambda$counter). I want the class reference to point to a new name (e.g. CapturingClass$$Lambda$newIdentifier). Anyone who have an idea how to achieve this using ASM?
Unfortunately, I have not been lucky so far. I found no solutions on the internet.