/*
* Pass false for skipDebug since we are rewriting the class and
* should include all information.
*/
reader.accept(visitor, false);
return writer.toByteArray();
} catch (BytecodeEnhancer.NotPersistentException e) {
/* The class is not persistent and should not be enhanced. */
return null;
}
}