While I was preparing for OCA exam I realized that it was not bad to have something to debug streams actively used in Java projects now. Nobody cares about making them clearer in the code that’s why I decided to make a Java agent to add some logging when required.

Meet Java Stream API Logger!

I would like to change the code of the project to add PeekConsumer directly to the modified bytecode, not to specify -Xbootclasspath/a but still has not realized how to do that properly. Byte Buddy or ASM may help ,e in the future…