public void init(String className) {
		imports = new TreeMap(comparator);
		/* java.lang is always imported */
		imports.put("java.lang.*", new Integer(Integer.MAX_VALUE));

		int pkgdelim = className.lastIndexOf('.');
		pkg = (pkgdelim == -1) ? "" : className.substring(0, pkgdelim);
		this.className = (pkgdelim == -1) ? className : className
				.substring(pkgdelim + 1);
	}