if (!resource.exists()) {
if (resource != null && !resource.exists()) {
	public String getText(Object element) {		if (element instanceof CPListElement) {			CPListElement cpentry= (CPListElement)element;			IResource resource= cpentry.getResource();			switch (cpentry.getEntryKind()) {				case IClasspathEntry.CPE_LIBRARY: {					IPath path= cpentry.getPath();					if (cpentry.getResource() instanceof IFolder) {						StringBuffer buf= new StringBuffer(path.toString());						buf.append(' ');						buf.append(fClassLabel);						if (!resource.exists()) {							buf.append(' ');							buf.append(fNewLabel);						}						return buf.toString();					} else {						return path.lastSegment() + " - " + path.removeLastSegments(1).toString();					}				}				case IClasspathEntry.CPE_VARIABLE: {					IPath path= cpentry.getPath();					String name= path.makeRelative().toString();					StringBuffer buf= new StringBuffer(name);					IPath entryPath= JavaCore.getClasspathVariable(path.segment(0));					if (entryPath != null) {						buf.append(" - ");						buf.append(entryPath.append(path.removeFirstSegments(1).toString()));					}					return buf.toString();				}				case IClasspathEntry.CPE_PROJECT:					return cpentry.getPath().lastSegment();				case IClasspathEntry.CPE_SOURCE: {					StringBuffer buf= new StringBuffer(cpentry.getPath().toString());					if (!resource.exists()) {						buf.append(' ');						buf.append(fNewLabel);					}					return buf.toString();				}			}		}		return super.getText(element);	}			