comment about anonymous classes and type inference