Package nginx.clojure.asm

Examples of nginx.clojure.asm.MethodVisitor.visitCode()


  public void emitShrinkedInitMethod(InstrumentClass cv, int splitPos, Frame f, FrameInfo fi, MethodInsnNode invokedInitInsn)
      throws InternalError {
    String desc = buildShrinkedInitMethodDesc(mn.desc);
    String[] exps = MethodDatabase.toStringArray(mn.exceptions);
    MethodVisitor cmv = cv.makeOutMV(mn.access, "<init>", desc, null, exps);
    cmv.visitCode();
    for (int i = 0; i < splitPos -1; i++) {
      mn.instructions.get(i).accept(cmv);
    }
   
    if (invokedInitInsn != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.