Java style anonymous classes in Haxe.