Methods Summary |
---|
public void | accept(com.sun.org.apache.bcel.internal.generic.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.
v.visitRET(this);
|
public void | dump(java.io.DataOutputStream out)Dump instruction as byte code to stream out.
if(wide)
out.writeByte(com.sun.org.apache.bcel.internal.Constants.WIDE);
out.writeByte(opcode);
if(wide)
out.writeShort(index);
else
out.writeByte(index);
|
public final int | getIndex() return index;
|
public com.sun.org.apache.bcel.internal.generic.Type | getType(com.sun.org.apache.bcel.internal.generic.ConstantPoolGen cp)
return ReturnaddressType.NO_TARGET;
|
protected void | initFromFile(com.sun.org.apache.bcel.internal.util.ByteSequence bytes, boolean wide)Read needed data (e.g. index) from file.
this.wide = wide;
if(wide) {
index = bytes.readUnsignedShort();
length = 4;
} else {
index = bytes.readUnsignedByte();
length = 2;
}
|
public final void | setIndex(int n)Set index of local variable containg the return address
if(n < 0)
throw new ClassGenException("Negative index value: " + n);
index = n;
setWide();
|
private final void | setWide()
if(wide = index > com.sun.org.apache.bcel.internal.Constants.MAX_BYTE)
length = 4; // Including the wide byte
else
length = 2;
|
public java.lang.String | toString(boolean verbose)
return super.toString(verbose) + " " + index;
|