ClassVisitor cv = writer;
cv = new ClassProcessor(typeName, cv, state);
cv = new NativeMethodDefanger(cv);
visit(logger.setType(state.type), loader, state.type.getInternalName(),
cv);
state.contents = new ByteArrayInputStream(writer.toByteArray());
assert seen.containsKey(state.originalType) : "No type for "
+ state.type.getClassName();
state.type = seen.get(state.originalType);
emit(state);