Examples of addLocalVariable()


Examples of com.facebook.swift.codec.internal.compiler.byteCode.MethodDefinition.addLocalVariable()

                structType,
                arg("protocol", TProtocol.class)
        ).addException(Exception.class);

        // TProtocolReader reader = new TProtocolReader(protocol);
        read.addLocalVariable(type(TProtocolReader.class), "reader");
        read.newObject(TProtocolReader.class);
        read.dup();
        read.loadVariable("protocol");
        read.invokeConstructor(type(TProtocolReader.class), type(TProtocol.class));
        read.storeVariable("reader");
View Full Code Here

Examples of com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.addLocalVariable()

                                classGen.getConstantPool());
        transf.addException("com.sun.org.apache.xalan.internal.xsltc.TransletException");

        // Define and initialize current with the root node
        final LocalVariableGen current =
            transf.addLocalVariable("current",
                                    com.sun.org.apache.bcel.internal.generic.Type.INT,
                                    null, null);
        final String applyTemplatesSig = classGen.getApplyTemplatesSig();
        final int applyTemplates = cpg.addMethodref(getClassName(),
                                                    "applyTemplates",
View Full Code Here

Examples of com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.addLocalVariable()

        toplevel.addException("com.sun.org.apache.xalan.internal.xsltc.TransletException");

        // Define and initialize 'current' variable with the root node
        final LocalVariableGen current =
            toplevel.addLocalVariable("current",
                                      com.sun.org.apache.bcel.internal.generic.Type.INT,
                                      null, null);

        final int setFilter = cpg.addInterfaceMethodref(DOM_INTF,
                               "setFilter",
View Full Code Here

Examples of com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.addLocalVariable()

  toplevel.addException("com.sun.org.apache.xalan.internal.xsltc.TransletException");

  // Define and initialize 'current' variable with the root node
  final LocalVariableGen current =
      toplevel.addLocalVariable("current",
            com.sun.org.apache.bcel.internal.generic.Type.INT,
            il.getEnd(), null);

  final int setFilter = cpg.addInterfaceMethodref(DOM_INTF,
             "setFilter",
View Full Code Here

Examples of com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.addLocalVariable()

        classGen.getConstantPool());
  transf.addException("com.sun.org.apache.xalan.internal.xsltc.TransletException");

  // Define and initialize current with the root node
  final LocalVariableGen current =
      transf.addLocalVariable("current",
            com.sun.org.apache.bcel.internal.generic.Type.INT,
            il.getEnd(), null);
  final String applyTemplatesSig = classGen.getApplyTemplatesSig();
  final int applyTemplates = cpg.addMethodref(getClassName(),
                "applyTemplates",
View Full Code Here

Examples of com.sun.org.apache.xalan.internal.xsltc.compiler.util.TestGenerator.addLocalVariable()

                                        "iterator"
                                    },
                                    "test", _className, il, cpg);

        // Store the dom in a local variable
        local = testGen.addLocalVariable("document",
                                         Util.getJCRefType(DOM_INTF_SIG),
                                         null, null);
        final String className = classGen.getClassName();
        il.append(filterGen.loadTranslet());
        il.append(new CHECKCAST(cpg.addClass(className)));
View Full Code Here

Examples of com.sun.org.apache.xalan.internal.xsltc.compiler.util.TestGenerator.addLocalVariable()

          "iterator"
            },
            "test", _className, il, cpg);
   
  // Store the dom in a local variable
  local = testGen.addLocalVariable("document",
           Util.getJCRefType(DOM_INTF_SIG),
           null, null);
  final String className = classGen.getClassName();
  il.append(filterGen.loadTranslet());
  il.append(new CHECKCAST(cpg.addClass(className)));
View Full Code Here

Examples of javassist.CtMethod.addLocalVariable()

    StringBuffer before = new StringBuffer().append("{");
    StringBuffer after = new StringBuffer().append("{");
   
    MethodInstrumentation mi = cii.getMethod(mname);
    CtMethod oldMethod = clas.getDeclaredMethod(mname);
    oldMethod.addLocalVariable("_eurekaJTimingStart", CtClass.longType);
    //CtClass stackTraceClass = classPool.get("org.eurekaJ.agent.model.CallStackTraceBuilder");
    //oldMethod.addLocalVariable("_eurekaJStackTraceBuilder", stackTraceClass);
   
    if (clas.getPackageName().endsWith("sql") || clas.getName().endsWith("Statement")) {
      log.info("\n\n\n\t\t\tSQL Instrumetation: " + clas.getPackageName() + " ::: " + clas.getName());
View Full Code Here

Examples of net.sf.rej.gui.editor.row.MethodDefRow.addLocalVariable()

                LocalVariable lv = (LocalVariable) locals
                    .get(k);
                LocalVariableDefRow lvdr = new LocalVariableDefRow(
                    lv, mdr);
                this.rows.add(lvdr);
                mdr.addLocalVariable(lvdr);
              }
            }

            CodeRow cd = new CodeRow(cf, mdr, instruction);
            cd.setPosition(dc.getPosition());
View Full Code Here

Examples of net.sf.rej.gui.editor.row.MethodDefRow.addLocalVariable()

              LocalVariable lv = (LocalVariable) locals
                  .get(k);
              LocalVariableDefRow lvdr = new LocalVariableDefRow(
                  lv, mdr);
              list.add(lvdr);
              mdr.addLocalVariable(lvdr);
            }
          }

          CodeRow cd = new CodeRow(cf, mdr, instruction);
          cd.setPosition(dc.getPosition());
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.