while (leave < trace.length && !traceAtStartsWith(leave, "scalai."))
while (leave < trace.length && !traceAtEquals(leave, clasz, method))
    public void addScalaLeavePoint() {        // find leave point        int leave = entry;        while (leave < trace.length && !traceAtStartsWith(leave, "scalai."))            leave++;        if (leave < trace.length) {            // skip calls through reflection            while (traceAtStartsWith(leave - 1, "java.lang.reflect.")) leave--;            while (traceAtStartsWith(leave - 1, "sun.reflect.")) leave--;        }        // complete stack with java trace        for (int i = entry; i < leave; i++) stack.add(trace[i]);        if (leave == trace.length) stack.add("...");        // free memory        this.trace = null;        this.entry = 0;    }