Generic skeleton for Java/Groovy