core: fix indent for anonymous classes