Examples of ALOAD


Examples of org.apache.bcel.generic.ALOAD

  }
  return super.getLocalIndex(name);
    }

    public Instruction loadParameter(int index) {
        return new ALOAD(index + PARAM_START_INDEX);
    }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

           String fileName,
           int accessFlags, String[] interfaces,
           Stylesheet stylesheet) {
  super(className, superClassName, fileName,
        accessFlags, interfaces, stylesheet);
  _aloadTranslet = new ALOAD(TRANSLET_INDEX);
    }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

         InstructionList il, ConstantPoolGen cpg) {
  super(access_flags, return_type, arg_types, arg_names, method_name,
        class_name, il, cpg);
 
  _astoreHandler  = new ASTORE(HANDLER_INDEX);
  _aloadHandler   = new ALOAD(HANDLER_INDEX);
  _astoreIterator = new ASTORE(ITERATOR_INDEX);
  _aloadIterator  = new ALOAD(ITERATOR_INDEX);
  _aloadDom       = new ALOAD(DOM_INDEX);
  _astoreDom      = new ASTORE(DOM_INDEX);
 
  final int startElement =
      cpg.addInterfaceMethodref(TRANSLET_OUTPUT_INTERFACE,
              "startElement",
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

        } else if (type == Type.FLOAT) {
           return new FLOAD(index);
        } else if (type == Type.DOUBLE) {
           return new DLOAD(index);
        } else {
           return new ALOAD(index);
        }
    }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

            MethodGenerator methodGen, Class clazz) {
  methodGen.getInstructionList().append(NOP);
    }

    public Instruction LOAD(int slot) {
  return new ALOAD(slot);
    }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

  _iloadCurrent  = new ILOAD(CURRENT_NODE_INDEX);
  _istoreCurrent = new ISTORE(CURRENT_NODE_INDEX);
  _iloadContext  = new ILOAD(CONTEXT_NODE_INDEX);
  _istoreContext  = new ILOAD(CONTEXT_NODE_INDEX);
  _astoreIterator = new ASTORE(ITERATOR_INDEX);
  _aloadIterator  = new ALOAD(ITERATOR_INDEX);
    }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

    public int getIteratorIndex() {
  return ITERATOR_INDEX;    // not available
    }

    public void setDomIndex(int domIndex) {
  _aloadDom = new ALOAD(domIndex);
    }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

      index = cpg.addMethodref(className, _methodName,
             "("+DOM_INTF_SIG+TRANSLET_OUTPUT_SIG+")V");
      il.append(new INVOKEVIRTUAL(index));
     
      // Restore new handler and call getValue()
      handler.setEnd(il.append(new ALOAD(handler.getIndex())));
      index = cpg.addMethodref(STRING_VALUE_HANDLER,
             "getValue",
             "()" + STRING_SIG);
      il.append(new INVOKEVIRTUAL(index));
  }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

             + TRANSLET_OUTPUT_SIG
             +")V");
      il.append(new INVOKEVIRTUAL(index));

      // Call endDocument on the DOM handler
      domBuilder.setEnd(il.append(new ALOAD(domBuilder.getIndex())));
      index = cpg.addInterfaceMethodref(TRANSLET_OUTPUT_INTERFACE,
                "endDocument", "()V");
      il.append(new INVOKEINTERFACE(index, 1));

      // Push the new DOM on the stack
      newDom.setEnd(il.append(new ALOAD(newDom.getIndex())));
  }
    }
View Full Code Here

Examples of org.apache.bcel.generic.ALOAD

    public String getClassName() {
  return(DOM_INTF);
    }

    public Instruction LOAD(int slot) {
  return new ALOAD(slot);
    }
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.