Tabnine Logo
ALOAD.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.bcel.generic.ALOAD
constructor

Best Java code snippets using org.apache.bcel.generic.ALOAD.<init> (Showing top 20 results out of 315)

origin: xalan/xalan

public FilterGenerator(String className, String superClassName,
      String fileName,
      int accessFlags, String[] interfaces,
      Stylesheet stylesheet) {
super(className, superClassName, fileName,
   accessFlags, interfaces, stylesheet);

_aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
origin: xalan/xalan

/**
 * Set the index of the register where "this" (the pointer to
 * the translet) is stored.
 */
public void setTransletIndex(int index) {
_aloadTranslet = new ALOAD(index);
}
origin: xalan/xalan

/**
 * Set index where the reference to the DOM is stored.
 */
public void setDomIndex(int domIndex) {
_aloadDom = new ALOAD(domIndex);
}
origin: xalan/xalan

public NodeSortRecordGenerator(String className, String superClassName,
        String fileName,
        int accessFlags, String[] interfaces,
        Stylesheet stylesheet) {
super(className, superClassName, fileName,
   accessFlags, interfaces, stylesheet);
_aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
origin: xalan/xalan

public Instruction LOAD(int slot) {
return new ALOAD(slot);
}
 
origin: xalan/xalan

public void setDomIndex(int domIndex) {
_aloadDom = new ALOAD(domIndex);
}
origin: xalan/xalan

public Instruction LOAD(int slot) {
return new ALOAD(slot);
}
 
origin: xalan/xalan

public Instruction LOAD(int slot) {
return new ALOAD(slot);
}
 
origin: xalan/xalan

public Instruction LOAD(int slot) {
return new ALOAD(slot);
}
origin: xalan/xalan

public Instruction loadParameter(int index) {
  return new ALOAD(index + PARAM_START_INDEX);
}
 
origin: xalan/xalan

public Instruction LOAD(int slot) {
return new ALOAD(slot);
}
 
origin: xalan/xalan

public RtMethodGenerator(int access_flags, Type return_type,
       Type[] arg_types, String[] arg_names,
       String method_name, String class_name,
       InstructionList il, ConstantPoolGen cp) {
super(access_flags, return_type, arg_types, arg_names, method_name, 
   class_name, il, cp);

_astoreHandler = new ASTORE(HANDLER_INDEX);
_aloadHandler  = new ALOAD(HANDLER_INDEX);
}
origin: xalan/xalan

public AttributeSetMethodGenerator(String methodName, ClassGen classGen) {
super(org.apache.bcel.Constants.ACC_PRIVATE,
   org.apache.bcel.generic.Type.VOID,
   argTypes, argNames, methodName, 
   classGen.getClassName(),
   new InstructionList(),
   classGen.getConstantPool());

_aloadDom       = new ALOAD(DOM_INDEX);
_astoreDom      = new ASTORE(DOM_INDEX);
_astoreIterator = new ASTORE(ITERATOR_INDEX);
_aloadIterator  = new ALOAD(ITERATOR_INDEX);
_astoreHandler  = new ASTORE(HANDLER_INDEX);
_aloadHandler   = new ALOAD(HANDLER_INDEX);
}
origin: xalan/xalan

public ClassGenerator(String class_name, String super_class_name,
     String file_name,
     int access_flags, String[] interfaces,
     Stylesheet stylesheet) {
super(class_name, super_class_name, file_name,
   access_flags, interfaces);
_stylesheet = stylesheet;
_parser = stylesheet.getParser();
_aloadTranslet = new ALOAD(TRANSLET_INDEX);

if (stylesheet.isMultiDocument()) {
  _domClass = "org.apache.xalan.xsltc.dom.MultiDOM";
  _domClassSig = "Lorg/apache/xalan/xsltc/dom/MultiDOM;";
}
else {
  _domClass = "org.apache.xalan.xsltc.dom.DOMAdapter";
  _domClassSig = "Lorg/apache/xalan/xsltc/dom/DOMAdapter;";
}
_applyTemplatesSig = "(" 
  + Constants.DOM_INTF_SIG
  + Constants.NODE_ITERATOR_SIG
  + Constants.TRANSLET_OUTPUT_SIG
  + ")V";
_applyTemplatesSigForImport = "(" 
  + Constants.DOM_INTF_SIG
  + Constants.NODE_ITERATOR_SIG
  + Constants.TRANSLET_OUTPUT_SIG
  + Constants.NODE_FIELD_SIG
  + ")V";  
}
origin: xalan/xalan

public TestGenerator(int access_flags, Type return_type,
     Type[] arg_types, String[] arg_names,
     String method_name, String class_name,
     InstructionList il, ConstantPoolGen cp) {
super(access_flags, return_type, arg_types, arg_names, method_name, 
   class_name, il, cp);

_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);
}
origin: xalan/xalan

public CompareGenerator(int access_flags, Type return_type,
      Type[] arg_types, String[] arg_names,
      String method_name, String class_name,
      InstructionList il, ConstantPoolGen cp) {
super(access_flags, return_type, arg_types, arg_names, method_name, 
   class_name, il, cp);

_iloadCurrent = new ILOAD(CURRENT_INDEX);
_istoreCurrent = new ISTORE(CURRENT_INDEX);
_aloadDom = new ALOAD(DOM_INDEX);
_iloadLast = new ILOAD(LAST_INDEX);
LocalVariableGen iterator =
  addLocalVariable("iterator",
       Util.getJCRefType(Constants.NODE_ITERATOR_SIG),
       null, null);
ITERATOR_INDEX = iterator.getIndex();
_aloadIterator = new ALOAD(ITERATOR_INDEX);
_astoreIterator = new ASTORE(ITERATOR_INDEX);
il.append(new ACONST_NULL());
il.append(storeIterator());
}
origin: xalan/xalan

/**
 * Helper method to generate an instance of a subclass of
 * {@link LoadInstruction} based on the specified {@link Type} that will
 * load the specified local variable
 * @param index the JVM stack frame index of the variable that is to be
 * loaded
 * @param type the {@link Type} of the variable
 * @return the generated {@link LoadInstruction}
 */
private static Instruction loadLocal(int index, Type type) {
  if (type == Type.BOOLEAN) {
    return new ILOAD(index);
  } else if (type == Type.INT) {
    return new ILOAD(index);
  } else if (type == Type.SHORT) {
    return new ILOAD(index);
  } else if (type == Type.LONG) {
    return new LLOAD(index);
  } else if (type == Type.BYTE) {
    return new ILOAD(index);
  } else if (type == Type.CHAR) {
    return new ILOAD(index);
  } else if (type == Type.FLOAT) {
    return new FLOAD(index);
  } else if (type == Type.DOUBLE) {
    return new DLOAD(index);
  } else {
    return new ALOAD(index);
  }
}
origin: xalan/xalan

il.append(new ALOAD(3));// iterator
origin: xalan/xalan

pathTemp.setEnd(il.append(new ALOAD(pathTemp.getIndex())));
origin: xalan/xalan

il.append(DUP);
  relPathIterator.setEnd(
      il.append(new ALOAD(relPathIterator.getIndex())));
org.apache.bcel.genericALOAD<init>

Javadoc

Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

Popular methods of ALOAD

  • getIndex

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • requestLocationUpdates (LocationManager)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now