if (object instanceof IReportItemPresentation)
if (object instanceof IReportItemQuery)
	public IReportItemQuery createQueryItem(String itemType)	{		IConfigurationElement config = (IConfigurationElement)queryExtensions.get(itemType);		if (config != null)		{			Object object = createObject(config, "class"); //$NON-NLS-1$			if (object instanceof IReportItemPresentation)			{				return (IReportItemQuery)object;			}		}		return null;	}