from java to goovy