Class: com.sun.org.apache.bcel.internal.generic.BIPUSH
- public class BIPUSH
- extends Instruction
- implements ConstantPushInstruction
BIPUSH - Push byte on stack
Stack: ... -> ..., value
Inheritance
Superclass tree:- java.lang.Object
- com.sun.org.apache.bcel.internal.generic.Instruction
- com.sun.org.apache.bcel.internal.generic.BIPUSH
Methods
-
BIPUSHtop
BIPUSH()Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise. -
BIPUSHtop
public BIPUSH(byte b)Push byte on stack -
accepttop
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.- Override hierarchy:
- accept from Instruction
-
dumptop
public void dump(DataOutputStream out) throws IOExceptionDump instruction as byte code to stream out.- Override hierarchy:
- dump from Instruction
-
getTypetop
public Type getType(ConstantPoolGen cp)- Specified by:
- getType from TypedInstruction
-
getValuetop
public Number getValue()- Specified by:
- getValue from ConstantPushInstruction
-
initFromFiletop
protected void initFromFile(ByteSequence bytes, boolean wide) throws IOExceptionRead needed data (e.g. index) from file.- Override hierarchy:
- initFromFile from Instruction
-
toStringtop
public String toString(boolean verbose)Long output format: <name of opcode> "["<opcode number>"]" "("<length of instruction>")"- Override hierarchy:
- toString from Instruction
