As @jcalz wrote, it's not a feature of TS unfortunately, I had to work with a BE developer to change the Java code (which wasn't optimal).
Thanks to everyone who helped!