Collections.sort(highlightings);
for (Iterator iterator = highlightings.iterator(); iterator
.hasNext();) {
AbstractSemanticHighlighting abstractSemanticHighlighting = (AbstractSemanticHighlighting) iterator
.next();
Position[] positions = abstractSemanticHighlighting
.consumes(module);
if (positions != null && positions.length > 0) {
highlightingPositionMap
.put(abstractSemanticHighlighting
.getPreferenceKey(), positions);
}
}
}