sbool structContainsAnonymousClasses(S s) { Pattern p = compileRegexp("\\$\\d"); Producer it = javaTokC_noMLS_iterator(s); S t; while ((t = it.next()) != null) if (isIdentifier(s) && regexpContains(p, t)) true; false; }