Pattern[] patterns = getSourcePatterns(analyzer);
for (Entry<String, Resource> entry : resources.entrySet()) {
String path = entry.getKey();
Resource resource = entry.getValue();
boolean match = false;
for (Pattern pattern : patterns) {
if (pattern.matcher(path).matches()) {
match = true;
break;
}
}
if (match) {
try {
InputStream in = resource.openInputStream();
Set<CharSequence> set = analyze(in);
in.close();
for (Iterator<CharSequence> r = set.iterator(); r.hasNext();) {
String pack = (String) r.next();
if (!QN.matcher(pack).matches())