A Question regarding the usage of CtClass
I have a scenario where I first add a new field to the class and then add insertBefore which is using that new field.
I noticed javassist on the insertBefore has access to the CtClass (1st image) but later on when looking up the new field it goes through MemberResolver. lookupClass0
The problem is that if anyone added via public CtClass makeClass(InputStream classfile) non synchronized method a CtClass based on the original byteCode I will not find the new member I just added.
My questions are
Retrieving data ...