[groovy] remove methods that became unused after transformations refactoring