Package net.sf.joafip.asm

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


          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


              "net/sf/joafip/store/service/objectio/ObjectIOInvalidClassException",
              "net/sf/joafip/store/service/objectio/ObjectIOClassNotFoundException",
              "net/sf/joafip/store/service/objectio/ObjectIODataCorruptedException",
              "net/sf/joafip/store/service/objectio/ObjectIONotSerializableException" });
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETFIELD,
          "net/sf/joafip/store/service/proxy/JoafipObject",
          "proxyCallBack",
          "Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;");
      mv.visitMethodInsn(
View Full Code Here

    {
      mv = cw.visitMethod(ACC_PUBLIC,
          "getMyFileAccessSessionIdentifier$JOAFIP$", "()J", null,
          null);
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETFIELD,
          "net/sf/joafip/store/service/proxy/JoafipObject",
          "proxyCallBack",
          "Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;");
      mv.visitMethodInsn(
View Full Code Here

    {
      mv = cw.visitMethod(ACC_PUBLIC, "getProxiedClass$JOAFIP$",
          "()Lnet/sf/joafip/store/entity/classinfo/ClassInfo;", null,
          null);
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETFIELD,
          "net/sf/joafip/store/service/proxy/JoafipObject",
          "proxyCallBack",
          "Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;");
      mv.visitMethodInsn(
View Full Code Here

          "isLoaded$JOAFIP$",
          "()Z",
          null,
          new String[] { "net/sf/joafip/store/service/objectio/ObjectIOException" });
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETFIELD,
          "net/sf/joafip/store/service/proxy/JoafipObject",
          "proxyCallBack",
          "Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;");
      mv.visitMethodInsn(
View Full Code Here

          null,
          new String[] {
              "net/sf/joafip/store/service/objectio/ObjectIOException",
              "net/sf/joafip/store/service/objectio/ObjectIOInvalidClassException" });
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETFIELD,
          "net/sf/joafip/store/service/proxy/JoafipObject",
          "proxyCallBack",
          "Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;");
      mv.visitMethodInsn(
View Full Code Here

          ACC_PUBLIC,
          "getObjectIOManager$JOAFIP$",
          "()Lnet/sf/joafip/store/service/objectio/manager/IObjectIOManagerForProxyObjectIO;",
          null, null);
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETFIELD,
          "net/sf/joafip/store/service/proxy/JoafipObject",
          "proxyCallBack",
          "Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;");
      mv.visitMethodInsn(
View Full Code Here

      fv.visitEnd();
    }
    {
      mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null);
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitMethodInsn(INVOKESPECIAL, "java/lang/Object", "<init>",
          "()V");
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETSTATIC,
          "net/sf/joafip/store/service/proxy/NullProxyCallBack",
View Full Code Here

      mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null);
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitMethodInsn(INVOKESPECIAL, "java/lang/Object", "<init>",
          "()V");
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETSTATIC,
          "net/sf/joafip/store/service/proxy/NullProxyCallBack",
          "INSTANCE",
          "Lnet/sf/joafip/store/service/proxy/NullProxyCallBack;");
      mv.visitFieldInsn(PUTFIELD,
View Full Code Here

          ACC_PUBLIC,
          "getProxyCallBack$JOAFIP$",
          "()Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;",
          null, null);
      mv.visitCode();
      mv.visitVarInsn(ALOAD, 0);
      mv.visitFieldInsn(GETFIELD,
          "net/sf/joafip/store/service/proxy/JoafipObject",
          "proxyCallBack",
          "Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;");
      mv.visitInsn(ARETURN);
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.