You've written this much more as a Java class than a Groovy class. You might actually consider just making it a ```.java``` file.