com.sun.org.apache.bcel.internal.generic.Instruction

Here are the examples of the java api class com.sun.org.apache.bcel.internal.generic.Instruction taken from open source projects.

1. Param#setStoreInstruction()

Project: openjdk
File: Param.java
/**
     * Set the instruction for storing a value from the stack into this
     * variable and returns the old instruction.
     */
public Instruction setStoreInstruction(Instruction instruction) {
    Instruction tmp = _storeInstruction;
    _storeInstruction = instruction;
    return tmp;
}

2. Param#setLoadInstruction()

Project: openjdk
File: Param.java
/**
     * Set the instruction for loading the value of this variable onto the
     * JVM stack and returns the old instruction.
     */
public Instruction setLoadInstruction(Instruction instruction) {
    Instruction tmp = _loadInstruction;
    _loadInstruction = instruction;
    return tmp;
}