Examples of visitEnd()


Examples of nginx.clojure.asm.FieldVisitor.visitEnd()

    protected void addSVUID(long svuid) {
        FieldVisitor fv = super.visitField(Opcodes.ACC_FINAL
                + Opcodes.ACC_STATIC, "serialVersionUID", "J", null, new Long(
                svuid));
        if (fv != null) {
            fv.visitEnd();
        }
    }

    /**
     * Computes and returns the value of SVUID.
View Full Code Here

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

              }
            }
        }
    cmv.visitInsn(Opcodes.RETURN);
    cmv.visitMaxs(mn.maxStack+3, mn.maxLocals+3);
    cmv.visitEnd();
  }

  public static String buildShrinkedInitMethodDesc(String desc) {
    Type[] argsTypes = Type.getArgumentTypes(desc);
    Type[] fargsTypes = new Type[argsTypes.length + 1];
View Full Code Here

Examples of nginx.clojure.asm.tree.MethodNode.visitEnd()

        mn.localVariables.get(i).accept(mv);
      }
        }
   
    mv.visitMaxs(maxStack+3, mn.maxLocals+3);
    mv.visitEnd();
   
    InstrumentMethod im = new InstrumentMethod(db, className, mv);
    if(im.collectCodeBlocks()) {
      im.accept(cv.makeOutMV(mv));
    }else {
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.AnnotationVisitor.visitEnd()

        mv.visitMaxs(2, 2);
        mv.visitEnd();

        mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "getElementType", "()Ljavax/xml/namespace/QName;", null, null);
        av0 = mv.visitAnnotation("Ljavax/xml/bind/annotation/XmlTransient;", true);
        av0.visitEnd();
        mv.visitCode();
        l0 = helper.createLabel();
        mv.visitLabel(l0);
        mv.visitLineNumber(40, l0);
        mv.visitVarInsn(Opcodes.ALOAD, 0);
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.ClassWriter.visitEnd()

            mv.visitLocalVariable("s", "Ljava/util/List;", "Ljava/util/List<Ljava/lang/String;>;", l4, l10, 2);
            mv.visitLocalVariable("x", "I", null, l5, l9, 3);
            mv.visitMaxs(3, 4);
            mv.visitEnd();

            cw.visitEnd();

            byte bts[] = cw.toByteArray();
            cls = helper.loadClass(className,
                                   mcls, bts);
        }
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.FieldVisitor.visitEnd()

                     superName, null);

            cw.visitSource("EclipseNamespaceMapper.java", null);
           
            fv = cw.visitField(Opcodes.ACC_PRIVATE, "nsctxt", "[Ljava/lang/String;", null, null);
            fv.visitEnd();
           
          
            mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", "(Ljava/util/Map;)V",
                                "(Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V", null);
            mv.visitCode();
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.MethodVisitor.visitEnd()

            mv.visitLabel(l1);
            mv.visitInsn(Opcodes.RETURN);
            Label l2 = helper.createLabel();
            mv.visitLabel(l2);
            mv.visitMaxs(2, 2);
            mv.visitEnd();           
           
           
            mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "setContextualNamespaceDecls", "([Ljava/lang/String;)V",
                                null, null);
            mv.visitCode();
View Full Code Here

Examples of org.apache.flex.abc.visitors.IClassVisitor.visitEnd()

                tv.visitEnd();

                tv = cv.visitInstanceTraits();
                readTraits(p, tv, this.instanceInfoToTraits.get(this.instanceInfos[i]));
                tv.visitEnd();
                cv.visitEnd();
            }
        }

        int n_scripts = p.readU30();
        for (int i = 0; i < n_scripts; i++)
View Full Code Here

Examples of org.apache.flex.abc.visitors.IMethodBodyVisitor.visitEnd()

                // local3 = inherited styles array
                InstructionList initMethod = new InstructionList();
                initMethod.addInstruction(ABCConstants.OP_returnvoid);
               
                initMethodBodyVisitor.visitInstructionList(initMethod);
                initMethodBodyVisitor.visitEnd();
                initMethodVisitor.visitEnd();
               
                ITraitVisitor initMethodTraitVisitor =
                    classGen.getCTraitsVisitor().visitMethodTrait(ABCConstants.TRAIT_Method, new Name("init"), 0, initMethodInfo);
                initMethodTraitVisitor.visitStart();
View Full Code Here

Examples of org.apache.flex.abc.visitors.IMethodVisitor.visitEnd()

                InstructionList initMethod = new InstructionList();
                initMethod.addInstruction(ABCConstants.OP_returnvoid);
               
                initMethodBodyVisitor.visitInstructionList(initMethod);
                initMethodBodyVisitor.visitEnd();
                initMethodVisitor.visitEnd();
               
                ITraitVisitor initMethodTraitVisitor =
                    classGen.getCTraitsVisitor().visitMethodTrait(ABCConstants.TRAIT_Method, new Name("init"), 0, initMethodInfo);
                initMethodTraitVisitor.visitStart();
                initMethodTraitVisitor.visitEnd();
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.