while (iterator.hasNext()) {
Object next = iterator.next();
if (next instanceof StructuredMarkerAnnotation) {
StructuredMarkerAnnotation annotation = (StructuredMarkerAnnotation) next;
try {
IMarker marker = annotation.getMarker();
if (marker != null && SymfonyMarker.MISSING_SERVICE_CLASS.equals(marker.getType())) {
int markerLine = MarkerUtilities.getLineNumber(marker);
if (markerLine == line) {
return new ICompletionProposal[] { new CreateClassCompletionProposal(marker) };
}