The java.lang.reflect.Modifier() and java.lang.invoke.ConstantBootstraps()
constructors have been removed in Java SE 15. Remove the usage of these constructors in your
application. The constructors were both unnecessary because both classes only contain static methods.
This rule has an automated fix to call the methods in the Modifier and ConstantBootstraps classes statically.
Copy the custom configuration to your application build file to enable it.
For more information on these changes, see APIs Removed in Java SE 15.