* @param bytecode The bytecode.
* @return The package-info file.
*/
public String write(InputStream bytecode) throws IOException {
org.codehaus.enunciate.asm.ClassReader cr = new org.codehaus.enunciate.asm.ClassReader(bytecode);
ClassNode cn = new org.codehaus.enunciate.asm.tree.ClassNode();
cr.accept(cn, 0);
if (cn.visibleAnnotations != null && !cn.visibleAnnotations.isEmpty()) {
StringWriter writer = new StringWriter();
boolean jaxbFound = false;
for (Object visibleAnnotation : cn.visibleAnnotations) {