begin porting static groovy to java / groovy joing compilation