org.apache.bcel.generic
Class IINC
- Cloneable, IndexedInstruction, Serializable, TypedInstruction
IINC - Increment local variable by constant
$Id: IINC.java 386056 2006-03-15 11:31:56Z tcurdt $private int | c
|
private boolean | wide
|
IINC() - Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
|
IINC(int n, int c)
|
accept , className , consumeStack , copy , dispose , dump , equals , getComparator , getLength , getName , getOpcode , initFromFile , produceStack , readInstruction , setComparator , setOpcode , toString , toString , toString |
IINC
(package private) IINC()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
IINC
public IINC(int n,
int c)
n
- index of local variablec
- increment factor
accept
public void accept(Visitor v)
Call corresponding visitor method(s). The order is:
Call visitor methods of implemented interfaces first, then
call methods according to the class hierarchy in descending order,
i.e., the most specific visitXXX() call comes last.
- accept in interface Instruction
dump
public void dump(DataOutputStream out)
throws IOException
Dump instruction as byte code to stream out.
- dump in interface LocalVariableInstruction
getIncrement
public final int getIncrement()
setIncrement
public final void setIncrement(int c)
Set increment factor.
setWide
private final void setWide()