/*
* The writer is at the end of the visitor chain. Pass true to
* calculate stack size, for safety.
*/
ClassWriter writer = new ClassWriter(true);
ClassVisitor visitor = writer;
/* The enhancer is at the beginning of the visitor chain. */
visitor = new BytecodeEnhancer(visitor);
/* The reader processes the class and invokes the visitors. */