GROOVY-7081: Improve error message whenever there's a conflict between a static and a non static method in a class