GROOVY-4641: Defining an abstract method in enum