java.io.Serializable, java.lang.Cloneable, ConstantPushInstruction, PushInstruction, StackProducer, TypedInstructionpublic class BIPUSH extends Instruction implements ConstantPushInstruction
Stack: ... -> ..., value
length, opcode| Constructor | Description |
|---|---|
BIPUSH(byte b) |
Push byte on stack
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor v) |
Call corresponding visitor method(s).
|
void |
dump(java.io.DataOutputStream out) |
Dump instruction as byte code to stream out.
|
Type |
getType(ConstantPoolGen cp) |
|
java.lang.Number |
getValue() |
|
protected void |
initFromFile(ByteSequence bytes,
boolean wide) |
Read needed data (e.g.
|
java.lang.String |
toString(boolean verbose) |
Long output format:
<name of opcode> "["<opcode number>"]"
"("<length of instruction>")"
|
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitproduceStackpublic void dump(java.io.DataOutputStream out)
throws java.io.IOException
dump in class Instructionout - Output streamjava.io.IOExceptionpublic java.lang.String toString(boolean verbose)
InstructiontoString in class Instructionverbose - long/short format switchprotected void initFromFile(ByteSequence bytes, boolean wide) throws java.io.IOException
initFromFile in class Instructionbytes - byte sequence to read fromwide - "wide" instruction flagjava.io.IOExceptionpublic java.lang.Number getValue()
getValue in interface ConstantPushInstructionpublic Type getType(ConstantPoolGen cp)
getType in interface TypedInstructionpublic void accept(Visitor v)
accept in class Instructionv - Visitor object