Groovy template for parsing Java code