ended = false;
    public void setTarget(ClassVisitor cv) {        if (useHook) {            this.raw = cv;            this.cv = new ClassVisitorTee(rec = new ClassEmitter(new ClassRecorder(), false), cv);        } else {            this.raw = cv;            this.cv = cv;        }        fieldInfo = new HashMap();        seenStatic = false;        hook = null;    }