moving class from groovy to java because of groovy bug