timeout *= 2;
    public ScalaClassType[] getParents() {        int timeout = 1;        while (parents == null) {            try {                wait(timeout);            } catch (InterruptedException e) {                throw new Error(e);            }            if (timeout >= 1000)                throw new Error("computation of parents apparently stuck for "                                + this);        }        return parents;    }