Check for a behavior change on the ClassTransformer.transform() method

This rule flags references to the jakarta.persistence.spi.ClassTransformer.transform() method. Previously, this method threw an IllegalClassFormatException, but now it throws a TransformerException.

For more information, see the Persistence 3.1 Javadoc.

For more Jakarta 10 migration information, see Differences between Jakarta EE 10 and 9.1.