Package org.objectweb.asm.util

Examples of org.objectweb.asm.util.Textifier


    }

    public static void dumpClass(String className, byte[] data) {
        System.out.println("DUMP OF CLASS: " + className);
        ClassReader cr = new ClassReader(data);
        ClassVisitor cv = new TraceClassVisitor(null, new Textifier(), new PrintWriter(System.out));
        cr.accept(cv, ClassReader.SKIP_FRAMES);
        System.out.println("=================");
    }
View Full Code Here


    @Override
    public void visitOuterClass(final String owner, final String name, final String desc) {}
   
    @Override
    public Textifier visitClassAnnotation(final String desc, final boolean visible) {
      return new Textifier();
    }
View Full Code Here

    @Override
    public void visitInnerClass(final String name, final String outerName, final String innerName, final int access) {}
   
    @Override
    public Textifier visitField(final int access, final String name, final String desc, final String signature, final Object value) {
      return new Textifier();
    }
View Full Code Here

      return new Textifier();
    }
   
    @Override
    public Textifier visitMethod(final int access, final String name, final String desc, final String signature, final String[] exceptions) {
      Textifier t = new Textifier();
      text.add(t.getText());
      return t;
    }
View Full Code Here

    @Override
    public void visitEnum(final String name, final String desc, final String value) {}
   
    @Override
    public Textifier visitAnnotation(final String name, final String desc) {
      return new Textifier();
    }
View Full Code Here

      return new Textifier();
    }
   
    @Override
    public Textifier visitArray(final String name) {
      return new Textifier();
    }
View Full Code Here

    @Override
    public void visitAnnotationEnd() {}
   
    @Override
    public Textifier visitFieldAnnotation(final String desc, final boolean visible) {
      return new Textifier();
    }
View Full Code Here

    @Override
    public void visitFieldEnd() {}
   
    @Override
    public Textifier visitAnnotationDefault() {
      return new Textifier();
    }
View Full Code Here

      return new Textifier();
    }
   
    @Override
    public Textifier visitMethodAnnotation(final String desc, final boolean visible) {
      return new Textifier();
    }
View Full Code Here

      return new Textifier();
    }
   
    @Override
    public Textifier visitParameterAnnotation(final int parameter, final String desc, final boolean visible) {
      return new Textifier();
    }
View Full Code Here

TOP

Related Classes of org.objectweb.asm.util.Textifier

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.