Package nginx.clojure.asm

Examples of nginx.clojure.asm.ClassVisitor


    }

    static byte[] instrumentClass(MethodDatabase db, byte[] data, boolean check) {
        ClassReader r = new ClassReader(data);
        ClassWriter cw = new DBClassWriter(db, r);
        ClassVisitor cv = check ? new CheckClassAdapter(cw) : cw;
        ClassEntry ce = MethodDatabaseUtil.buildClassEntryFamily(db, r);
        if(db.shouldIgnore(r.getClassName())) {
            return null;
        }
        db.trace("TRANSFORM: %s", r.getClassName());
View Full Code Here


          db.debug("skip class %s", className);
          return classfileBuffer;
        }
        db.debug("loading class %s", className);
//        ClassVisitor cv = db.isVerbose() ?  new TraceClassVisitor(cw, new PrintWriter(System.out)) : cw;
        ClassVisitor cv = new ClassVisitor(Opcodes.ASM4, cw) {
          @Override
          public MethodVisitor visitMethod(int access, String name,
              String desc, String signature, String[] exceptions) {
            MethodVisitor mv = super.visitMethod(access, name,
                desc, signature, exceptions);
View Full Code Here

TOP

Related Classes of nginx.clojure.asm.ClassVisitor

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.