Matching of anonymous classes
Improve anon class matching