Sample code with using Byte Buddy and Java Agent.
usage
run com.jyukutyo.Main
class.
Java agent changes toString
method globally before class loading, so toString method of Main class returns a fixed valud "transformed".
Sample code with using Byte Buddy and Java Agent.
run com.jyukutyo.Main
class.
Java agent changes toString
method globally before class loading, so toString method of Main class returns a fixed valud "transformed".