if (!file.getJavaProject().isOnClasspath(file)) {
if (!file.getJavaProject().exists() || !file.getJavaProject().isOnClasspath(file)) {
	protected void doSetInput(IEditorInput input) throws CoreException {		input= transformEditorInput(input);		if (!(input instanceof IClassFileEditorInput))			throw new CoreException(JavaUIStatus.createError(				IJavaModelStatusConstants.INVALID_RESOURCE_TYPE, 				JavaEditorMessages.getString("ClassFileEditor.error.invalid_input_message"), //$NON-NLS-1$				null)); //$NON-NLS-1$		JavaModelException e= probeInputForSource(input);		if (e != null) {			IClassFileEditorInput classFileEditorInput= (IClassFileEditorInput) input;			IClassFile file= classFileEditorInput.getClassFile();			if (!file.getJavaProject().isOnClasspath(file)) {				throw new CoreException(JavaUIStatus.createError(					IJavaModelStatusConstants.INVALID_RESOURCE, 					JavaEditorMessages.getString("ClassFileEditor.error.classfile_not_on_classpath"), //$NON-NLS-1$					null)); //$NON-NLS-1$			} else {				throw e;			}		}		IDocumentProvider documentProvider= getDocumentProvider();		if (documentProvider instanceof ClassFileDocumentProvider)			((ClassFileDocumentProvider) documentProvider).removeInputChangeListener(this);		super.doSetInput(input);		documentProvider= getDocumentProvider();		if (documentProvider instanceof ClassFileDocumentProvider)			((ClassFileDocumentProvider) documentProvider).addInputChangeListener(this);		verifyInput(getEditorInput());	}