The purpose of this scenario is to construct a more compatible proxy structure, but I don't care what the constructor parameters of the parent class are. I just need to successfully build a subclass. In addition to allocateInstance provided by unsafe, there are other way, can I use bytebuddy to construct such a class?
The problem I'm encountering now is that I'm blocked by the parameterized constructor of the parent class.
The purpose of this scenario is to construct a more compatible proxy structure, but I don't care what the constructor parameters of the parent class are. I just need to successfully build a subclass. In addition to allocateInstance provided by unsafe, there are other way, can I use bytebuddy to construct such a class? The problem I'm encountering now is that I'm blocked by the parameterized constructor of the parent class.