if (positions != null) {
for (Iterator iter = positions.iterator(); iter.hasNext();) {
EnhancedPosition aPosition = (EnhancedPosition) iter.next();
result.put(new JavaProjectionAnnotation(0, aPosition, elem, enableCollapsing && ((JavaPositionMetadata)aPosition.getMetadata()).isCollapse()), aPosition);
}
}
}