IType[] types= cu.getAllTypes();
IType[] types= cu.getTypes();
	protected boolean isInside(int pos, ISourceReference sourceElement) throws CoreException {//		XXX: Work in progress for problem decorator being a workbench decorator//		IDecoratorManager decoratorMgr= PlatformUI.getWorkbench().getDecoratorManager();//		if (!decoratorMgr.getEnabled("org.eclipse.jdt.ui.problem.decorator")) //$NON-NLS-1$//			return false;				if (!(sourceElement instanceof IType) || ((IType)sourceElement).getDeclaringType() != null)			return false;		ICompilationUnit cu= ((IType)sourceElement).getCompilationUnit();		if (cu == null)			return false;		IType[] types= cu.getAllTypes();		if (types.length < 1)			return false;		ISourceRange range= types[0].getSourceRange();		if (range == null)			return false;		return pos < range.getOffset() || isInside(pos, cu.getSourceRange());	}