Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/Util.java
for (int i = 0; i < n; ++i) {
			if (i != 0)
				sb.append('/');
			sb.append(path.segment(i));
		}
		return sb.toString();
	}
	
	public static String getResourceName(IMarker marker) {
		return marker.getResource().getName();
	}
	
	public static boolean isEditable(IMarker marker) {
		if (marker == null) {
			return false;
		}
		try {
			return marker.isSubtypeOf(IMarker.BOOKMARK) || 
				   (marker.isSubtypeOf(IMarker.TASK) && 
				   marker.getAttribute(IMarker.USER_EDITABLE, true));
		}
		catch (CoreException e) {
			return false;
		}
	}
	private Util() {
		super();
	}
}