This rule flags the use of the Thread.stop(), Thread.suspend(), and Thread.resume() methods. These methods
have been terminally deprecated in Java SE 18 and have been updated to always throw an UnsupportedOperationException. The method will
eventually be degraded and removed in a future release as it is inherently unsafe and has been deprecated since Java 1.2.
For more information see JDK-8277861.