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);
TemporaryAnnotation annotation = new TemporaryAnnotation(
position, annotationType, description,
reconcileAnnotationKey) {