To do TDD it is very important to have a framework like mockito, JUnit, to test behaviors and results without the need to test the code in broad strokes.
It never entered my head, keeping that coupling with arduino via USB, it prevented me to explore remote area with sensors, also that the api JSSC de Alexey Sokolov is no longer maintained, only a fork that I see quite active people and it is here jSerialComm.
With instrumentation we can do things with the bytecode before and after it is uploaded to the JVM, here I have 3 simple classes, a pathetic JFrame with an X=10; that can represent from the life of a player or any other type of variable in any java application (desktop, web app etc) with this technique we can modify that value.
It all started one of those times when I was bored as usual, and I ran a .jar apparently any, but not really, it was a server of adwind (a programmer that I thought was quite talented) year 2017 or so in November.
Well, how do I know that? first I tried to decompile it in other absurd ways like for example, con CFF Explorer, without any result, since it does not contain runPE, as I found out later.