for (int i = 0; i < length; i++) {
if (isCanceled(progressMonitor))
return Status.CANCEL_STATUS;
OccurrenceLocation location = fLocations[i];
Position position = new Position(location.getOffset(),
location.getLength());
String description = location.getDescription();
String annotationType = (location.getFlags() == IOccurrencesFinder.F_WRITE_OCCURRENCE) ? "org.eclipse.php.ui.occurrences.write" : "org.eclipse.php.ui.occurrences"; //$NON-NLS-1$ //$NON-NLS-2$
// create an annotation to mark the occurrence
ReconcileAnnotationKey reconcileAnnotationKey = new ReconcileAnnotationKey(
null, PHPPartitionTypes.PHP_DEFAULT,
ReconcileAnnotationKey.TOTAL);