throw new CoreException(new JavaModelStatus(IJavaModelStatusConstants.INVALID_RESOURCE_TYPE));
return super.createElementInfo(element);
	protected ElementInfo createElementInfo(Object element) throws CoreException {				if ( !(element instanceof IFileEditorInput))			throw new CoreException(new JavaModelStatus(IJavaModelStatusConstants.INVALID_RESOURCE_TYPE));					IFileEditorInput input= (IFileEditorInput) element;		ICompilationUnit original= createCompilationUnit(input.getFile());		if (original != null) {							try {								try {					input.getFile().refreshLocal(IResource.DEPTH_INFINITE, null);				} catch (CoreException x) {					handleCoreException(x, JavaEditorMessages.getString("CompilationUnitDocumentProvider.error.createElementInfo")); //$NON-NLS-1$				}								ICompilationUnit c= (ICompilationUnit) original.getWorkingCopy();				IDocument d= createCompilationUnitDocument(c);				IAnnotationModel m= createCompilationUnitAnnotationModel(element);				_FileSynchronizer f= new _FileSynchronizer(input);				f.install();				BufferSynchronizer b= new BufferSynchronizer(d, c);				b.install();								CompilationUnitInfo info= new CompilationUnitInfo(d, m, f, c, b);				info.setModificationStamp(computeModificationStamp(input.getFile()));				return info;							} catch (JavaModelException x) {				throw new CoreException(x.getStatus());			}		} else {					return super.createElementInfo(element);		}	}