if (outputLocation != null && outputLocation.isPrefixOf(folderPath))
if (outputLocation != null && outputLocation.equals(folderPath))
	public boolean select(Viewer viewer, Object parent, Object element) {		if (element instanceof IFolder) {			IFolder folder= (IFolder)element;			IProject proj= folder.getProject();			try {				if (!proj.hasNature(JavaCore.NATURE_ID))					return true;								IJavaProject jProject= JavaCore.create(folder.getProject());				if (jProject == null || !jProject.exists())					return true;								// Check default output location				IPath defaultOutputLocation= jProject.getOutputLocation();				IPath folderPath= folder.getFullPath();				if (defaultOutputLocation != null && defaultOutputLocation.isPrefixOf(folderPath))					return false;								// Check output location for each class path entry				IClasspathEntry[] cpEntries= jProject.getRawClasspath();				for (int i= 0, length= cpEntries.length; i < length; i++) {					IPath outputLocation= cpEntries[i].getOutputLocation();					if (outputLocation != null && outputLocation.isPrefixOf(folderPath))						return false;				}			} catch (CoreException ex) {				return true;			}		}		return true;	}