IClasspathEntry entry= JavaModelUtility.getRawClasspathEntry(fJarRoot); if (entry == null) {
IClasspathEntry[] entries= jproject.getRawClasspath();  int index= findClasspathEntry(entries, fJarRoot.getPath()); IClasspathEntry entry; if (index != -1) { entry= entries[index]; } else {
	protected Control createContents(Composite composite) {		try {			IJavaProject jproject= fJarRoot.getJavaProject();			IClasspathEntry entry= JavaModelUtility.getRawClasspathEntry(fJarRoot);			if (entry == null) {				// use a dummy entry to use for initialization				entry= JavaCore.newLibraryEntry(fJarRoot.getPath(), null, null);			}			fSourceAttachmentBlock= new SourceAttachmentBlock(jproject.getProject(), this, entry);			return fSourceAttachmentBlock.createControl(composite);						} catch (CoreException e) {			ErrorDialog.openError(getShell(), "Error", "", e.getStatus());			return null;		}		}