if (resource.getFullPath().isPrefixOf(roots[index].getFullPath()))
if (path.isPrefixOf(roots[index].getFullPath()))
	private boolean hasChildrenInScope(final IResourceMappingScope scope, final Object element, final IResource resource) {		final IResource[] roots= scope.getRoots();		if (element instanceof IPackageFragment) {			for (int index= 0; index < roots.length; index++)				if (resource.getFullPath().equals((roots[index].getFullPath().removeLastSegments(1))))					return true;			return false;		}		for (int index= 0; index < roots.length; index++) {			if (resource.getFullPath().isPrefixOf(roots[index].getFullPath()))				return true;		}		return false;	}