Is there a way in Groovy to intercept a static method call, a la invokeMethod, that would be inherited by a subclass?
I’m trying to find a way to quietly wrap the main method of a class in a try/catch block.
I’m trying to find a way to quietly wrap the main method of a class in a try/catch block.