public static <T> String bitSetPrettyPrint(BitSet coll,SymbolTable<T> nameMap,String linePrefix,int maxWidth)
	{
		String rv = linePrefix + "[";
		boolean first = true;
		int currentLineCharCount = 0;
		for(int i = coll.nextSetBit(0);i >= 0;i = coll.nextSetBit(i + 1))
		{
			String s;
			if(nameMap != null)
			{
				T o = nameMap.get(i);
				if(o instanceof CopperASTBean) s = ((CopperASTBean) o).getDisplayName();
				else s = o.toString();
			}
			else s = String.valueOf(i);

			if(currentLineCharCount + s.length() + 1 >= maxWidth && currentLineCharCount > linePrefix.length())
			{
				rv += ",\n" + linePrefix;
				currentLineCharCount = linePrefix.length();
			}
			else if(!first)
			{
				rv += ",";
				currentLineCharCount++;
			}
			currentLineCharCount += s.length();
			first = false;
			rv += s;
		}
		rv += /*"\n" + linePrefix +*/ "]";
		return rv;
	}