|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.bcel.generic.Instruction
org.apache.bcel.generic.BIPUSH
public class BIPUSH
BIPUSH - Push byte on stack
Stack: ... -> ..., value
| Field Summary | |
|---|---|
private byte |
b
|
| Fields inherited from class org.apache.bcel.generic.Instruction |
|---|
length, opcode |
| Constructor Summary | |
|---|---|
BIPUSH()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). |
|
BIPUSH(byte b)
Push byte on stack |
|
| Method Summary | |
|---|---|
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>")" |
| Methods inherited from class org.apache.bcel.generic.Instruction |
|---|
consumeStack, copy, dispose, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.bcel.generic.StackProducer |
|---|
produceStack |
| Field Detail |
|---|
private byte b
| Constructor Detail |
|---|
BIPUSH()
public BIPUSH(byte b)
| Method Detail |
|---|
public void dump(java.io.DataOutputStream out)
throws java.io.IOException
dump in class Instructionout - Output stream
java.io.IOExceptionpublic java.lang.String toString(boolean verbose)
Instruction
toString in class Instructionverbose - long/short format switch
protected void initFromFile(ByteSequence bytes,
boolean wide)
throws java.io.IOException
initFromFile in class Instructionbytes - byte sequence to read fromwide - "wide" instruction flag
java.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||