Package net.sf.joafip.asm

Examples of net.sf.joafip.asm.MethodVisitor.visitVarInsn()


      mv.visitInsn(LCMP);
      mv.visitJumpInsn(IFNE, l4);
      mv.visitLabel(l3);
      mv.visitFrame(Opcodes.F_NEW, 3, new Object[] { "java/lang/Object",
          Opcodes.LONG, Opcodes.INTEGER }, 0, new Object[] {});
      mv.visitVarInsn(LLOAD, 1);
      mv.visitInsn(LCONST_1);
      mv.visitInsn(LADD);
      mv.visitVarInsn(LSTORE, 1);
      mv.visitLabel(l4);
      mv.visitFrame(Opcodes.F_NEW, 3, new Object[] { "java/lang/Object",
View Full Code Here


      mv.visitFrame(Opcodes.F_NEW, 3, new Object[] { "java/lang/Object",
          Opcodes.LONG, Opcodes.INTEGER }, 0, new Object[] {});
      mv.visitVarInsn(LLOAD, 1);
      mv.visitInsn(LCONST_1);
      mv.visitInsn(LADD);
      mv.visitVarInsn(LSTORE, 1);
      mv.visitLabel(l4);
      mv.visitFrame(Opcodes.F_NEW, 3, new Object[] { "java/lang/Object",
          Opcodes.LONG, Opcodes.INTEGER }, 0, new Object[] {});
      mv.visitVarInsn(ALOAD, 0);
      mv.visitVarInsn(LLOAD, 1);
View Full Code Here

      mv.visitInsn(LADD);
      mv.visitVarInsn(LSTORE, 1);
      mv.visitLabel(l4);
      mv.visitFrame(Opcodes.F_NEW, 3, new Object[] { "java/lang/Object",
          Opcodes.LONG, Opcodes.INTEGER }, 0, new Object[] {});
      mv.visitVarInsn(ALOAD, 0);
      mv.visitVarInsn(LLOAD, 1);
      mv.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Object", "wait",
          "(J)V");
      mv.visitInsn(RETURN);
      mv.visitMaxs(4, 4);
View Full Code Here

      mv.visitVarInsn(LSTORE, 1);
      mv.visitLabel(l4);
      mv.visitFrame(Opcodes.F_NEW, 3, new Object[] { "java/lang/Object",
          Opcodes.LONG, Opcodes.INTEGER }, 0, new Object[] {});
      mv.visitVarInsn(ALOAD, 0);
      mv.visitVarInsn(LLOAD, 1);
      mv.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Object", "wait",
          "(J)V");
      mv.visitInsn(RETURN);
      mv.visitMaxs(4, 4);
      mv.visitEnd();
View Full Code Here

    }
    {
      mv = cw.visitMethod(ACC_PUBLIC + ACC_FINAL, "wait", "()V", null,
          new String[] { "java/lang/InterruptedException" });
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitInsn(LCONST_0);
      mv.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Object", "wait",
          "(J)V");
      mv.visitInsn(RETURN);
      mv.visitMaxs(3, 1);
View Full Code Here

      Label l0 = new Label();
      Label l1 = new Label();
      Label l2 = new Label();
      mv.visitTryCatchBlock(l0, l1, l2, "java/lang/Exception");
      mv.visitFrame(Opcodes.F_NEW, 0, new Object[] {}, 0, new Object[] {});
      mv.visitVarInsn(ALOAD, 1);
      mv.visitVarInsn(ALOAD, 0);
      Label l3 = new Label();
      mv.visitJumpInsn(IF_ACMPEQ, l3);
      mv.visitLabel(l0);
      mv.visitVarInsn(ALOAD, 1);
View Full Code Here

      Label l1 = new Label();
      Label l2 = new Label();
      mv.visitTryCatchBlock(l0, l1, l2, "java/lang/Exception");
      mv.visitFrame(Opcodes.F_NEW, 0, new Object[] {}, 0, new Object[] {});
      mv.visitVarInsn(ALOAD, 1);
      mv.visitVarInsn(ALOAD, 0);
      Label l3 = new Label();
      mv.visitJumpInsn(IF_ACMPEQ, l3);
      mv.visitLabel(l0);
      mv.visitVarInsn(ALOAD, 1);
      mv.visitMethodInsn(INVOKESTATIC,
View Full Code Here

      mv.visitVarInsn(ALOAD, 1);
      mv.visitVarInsn(ALOAD, 0);
      Label l3 = new Label();
      mv.visitJumpInsn(IF_ACMPEQ, l3);
      mv.visitLabel(l0);
      mv.visitVarInsn(ALOAD, 1);
      mv.visitMethodInsn(INVOKESTATIC,
          "net/sf/joafip/store/service/proxy/ProxyManager2",
          "forceLoad", "(Ljava/lang/Object;)V");
      mv.visitLabel(l1);
      mv.visitJumpInsn(GOTO, l3);
View Full Code Here

      mv.visitJumpInsn(GOTO, l3);
      mv.visitLabel(l2);
      mv.visitFrame(Opcodes.F_NEW, 2, new Object[] { "java/lang/Object",
          "java/lang/Object" }, 1,
          new Object[] { "java/lang/Exception" });
      mv.visitVarInsn(ASTORE, 2);
      mv.visitTypeInsn(NEW,
          "net/sf/joafip/store/service/proxy/JoafipObjectException");
      mv.visitInsn(DUP);
      mv.visitVarInsn(ALOAD, 2);
      mv.visitMethodInsn(INVOKESPECIAL,
View Full Code Here

          new Object[] { "java/lang/Exception" });
      mv.visitVarInsn(ASTORE, 2);
      mv.visitTypeInsn(NEW,
          "net/sf/joafip/store/service/proxy/JoafipObjectException");
      mv.visitInsn(DUP);
      mv.visitVarInsn(ALOAD, 2);
      mv.visitMethodInsn(INVOKESPECIAL,
          "net/sf/joafip/store/service/proxy/JoafipObjectException",
          "<init>", "(Ljava/lang/Throwable;)V");
      mv.visitInsn(ATHROW);
      mv.visitLabel(l3);
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.