Rafael Winterhalter
Rafael Winterhalter
If you look up YouTube and Vimeo, I have given a row of introductions to the topic. Looking at Byte Buddy's tests is also a good option.
For example: https://www.youtube.com/watch?v=o9NVLXKRKeY
Byte Buddy only allows you to do what you could write in regular code. If the access you attempt is not normally legal, such that your hypothetical Java code does...
It does not relate to the Java version. If you cannot express it in the Java language, it cannot be done in Byte Buddy either.
The problem is your anonymous class interceptor. Rather declare that interceptor as its own class with public visibility. As an anonymous class, it will not be visible to outside packages.
How do you load the class? With package protection, it is also essential to load classes in the same class loader. You should therefore likely use a method handle lookup...
The documentation states: `A Byte Buddy plugin that transforms a project's production class files where all scopes but the test scope are included.` This means that the dependant classes will...
You can apply an engine to any folder or jar file, just as you can specify any folder or jar file as a destination. If you downloaded the jar during...
There is now, good point, this was missing. Could you build Byte Buddy from master and see if that works for your real-life scenario? You would need to use the...
Thanks for the first hint, I have fixed that on master. As for the exception: You have to specify any dependencies as: `...` in the configuration block of the plugin....