GOTO_Wpublic class GOTO_W extends GotoInstruction GOTO_W - Branch always (to relative offset, not absolute address) |
Constructors Summary |
---|
GOTO_W()Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
| public GOTO_W(InstructionHandle target)
super(com.sun.org.apache.bcel.internal.Constants.GOTO_W, target);
length = 5;
|
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.visitUnconditionalBranch(this);
v.visitBranchInstruction(this);
v.visitGotoInstruction(this);
v.visitGOTO_W(this);
| public void | dump(java.io.DataOutputStream out)Dump instruction as byte code to stream out.
index = getTargetOffset();
out.writeByte(opcode);
out.writeInt(index);
| protected void | initFromFile(com.sun.org.apache.bcel.internal.util.ByteSequence bytes, boolean wide)Read needed data (e.g. index) from file.
index = bytes.readInt();
length = 5;
|
|