Map<String, StackTraceFilter> fmap = new LinkedHashMap<String, StackTraceFilter>();
for(String cl: sections.keySet()) {
StackTraceFilter f = sections.get(cl).getFilter();
if (f instanceof AnyMatcher) {
if (((AnyMatcher) f).alternatives.length == 0) {
f = new RequiredMatcher(new StackTraceFilter[0]);
}
}
fmap.put(cl, f);
}