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

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

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

origin: xalan/xalan

  public Instruction STORE(int slot) {
  return new ASTORE(slot);
  }
}
origin: xalan/xalan

  public Instruction STORE(int slot) {
  return new ASTORE(slot);
  }
}
origin: xalan/xalan

  public Instruction STORE(int slot) {
  return new ASTORE(slot);
  }
}
origin: xalan/xalan

  public Instruction STORE(int slot) {
  return new ASTORE(slot);
  }
}
origin: xalan/xalan

  public Instruction STORE(int slot) {
  return new ASTORE(slot);
  }
}
origin: xalan/xalan

  public Instruction storeParameter(int index) {
    return new ASTORE(index + PARAM_START_INDEX);
  }
}
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 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

/**
 * Helper method to generate an instance of a subclass of
 * {@link StoreInstruction} based on the specified {@link Type} that will
 * store a value in the specified local variable
 * @param index the JVM stack frame index of the variable that is to be
 * stored
 * @param type the {@link Type} of the variable
 * @return the generated {@link StoredInstruction}
 */
private static Instruction storeLocal(int index, Type type) {
  if (type == Type.BOOLEAN) {
    return new ISTORE(index);
  } else if (type == Type.INT) {
    return new ISTORE(index);
  } else if (type == Type.SHORT) {
    return new ISTORE(index);
  } else if (type == Type.LONG) {
    return new LSTORE(index);
  } else if (type == Type.BYTE) {
    return new ISTORE(index);
  } else if (type == Type.CHAR) {
    return new ISTORE(index);
  } else if (type == Type.FLOAT) {
    return new FSTORE(index);
  } else if (type == Type.DOUBLE) {
    return new DSTORE(index);
  } else {
    return new ASTORE(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

local.setStart(il.append(new ASTORE(local.getIndex())));
matchGen.setIteratorIndex(local.getIndex());
local.setStart(il.append(new ASTORE(local.getIndex())));
nodeCounterGen.setTransletIndex(local.getIndex());
local.setStart(il.append(new ASTORE(local.getIndex())));
matchGen.setDomIndex(local.getIndex());
origin: xalan/xalan

nodesTemp.setStart(il.append(new ASTORE(nodesTemp.getIndex())));
    il.append(new ASTORE(sortRecordFactoryTemp.getIndex())));
origin: xalan/xalan

                  Util.getJCRefType(NODE_ITERATOR_SIG),
                  null, null);
filterTemp.setStart(il.append(new ASTORE(filterTemp.getIndex())));
                  Util.getJCRefType(NODE_ITERATOR_SIG),
                  null, null);
pathTemp.setStart(il.append(new ASTORE(pathTemp.getIndex())));
origin: xalan/xalan

                 null, null);
_path.translate(classGen, methodGen);
  pathTemp.setStart(il.append(new ASTORE(pathTemp.getIndex())));
origin: xalan/xalan

              null, null);
relPathIterator.setStart(
    il.append(new ASTORE(relPathIterator.getIndex())));
origin: xalan/xalan

il.append(new GETFIELD(cpg.addFieldref(className,
            DOM_FIELD, DOM_INTF_SIG)));
local.setStart(il.append(new ASTORE(local.getIndex())));
origin: xalan/xalan

                 Util.getJCRefType(NODE_ITERATOR_SIG),
                 null, null);
pathTemp.setStart(il.append(new ASTORE(pathTemp.getIndex())));
                 Util.getJCRefType(NODE_ITERATOR_SIG),
                 null, null);
stepTemp.setStart(il.append(new ASTORE(stepTemp.getIndex())));
origin: xalan/xalan

        Util.getJCRefType(STRING_VALUE_HANDLER_SIG),
        null, null);
handler.setStart(il.append(new ASTORE(handler.getIndex())));
origin: xalan/xalan

nameValue.setStart(il.append(new ASTORE(nameValue.getIndex())));
il.append(new ALOAD(nameValue.getIndex()));
org.apache.bcel.genericASTORE<init>

Javadoc

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.

Popular methods of ASTORE

  • getIndex

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • ImageIO (javax.imageio)
  • From CI to AI: The AI layer in your organization
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