if (sourceElement instanceof IType) return (IType) sourceElement;
if (sourceElement instanceof IJavaElement) { return (IJavaElement) sourceElement; }
	protected IJavaElement getJavaElement(IStackFrame stackFrame) {				// Get the corresponding element.		ILaunch launch = stackFrame.getLaunch();		if (launch == null) {			return null;		}		ISourceLocator locator= launch.getSourceLocator();		if (locator == null)			return null;				Object sourceElement = locator.getSourceElement(stackFrame);		if (sourceElement instanceof IType)			return (IType) sourceElement;				return null;	}