Package org.codehaus.enunciate.asm.tree

Examples of org.codehaus.enunciate.asm.tree.ClassNode


   * @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) {
View Full Code Here

TOP

Related Classes of org.codehaus.enunciate.asm.tree.ClassNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.