// Generate inner class name
className = "Script_" + System.currentTimeMillis() + "_" + CLASS_COUNTER.getAndIncrement();
// Auto compute frames
classWriter = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
if (trace) {
traceClassVisitor = new TraceClassVisitor(classWriter, new PrintWriter(System.out));
checkClassAdapter = new CheckClassAdapter(traceClassVisitor);
}
else {
checkClassAdapter = new CheckClassAdapter(classWriter);
}