|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.bcel.generic.Instruction org.apache.bcel.generic.BIPUSH
public class BIPUSH
BIPUSH - Push byte on stack
Stack: ... -> ..., value
Field Summary |
---|
Fields inherited from class org.apache.bcel.generic.Instruction |
---|
length, opcode |
Constructor Summary | |
---|---|
BIPUSH(byte b)
Push byte on stack |
Method Summary | |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s). |
void |
dump(DataOutputStream out)
Dump instruction as byte code to stream out. |
Type |
getType(ConstantPoolGen cp)
|
Number |
getValue()
|
protected void |
initFromFile(ByteSequence bytes,
boolean wide)
Read needed data (e.g. |
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, 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 |
Constructor Detail |
---|
public BIPUSH(byte b)
Method Detail |
---|
public void dump(DataOutputStream out) throws IOException
dump
in class Instruction
out
- Output stream
IOException
public String toString(boolean verbose)
Instruction
toString
in class Instruction
verbose
- long/short format switch
protected void initFromFile(ByteSequence bytes, boolean wide) throws IOException
initFromFile
in class Instruction
bytes
- byte sequence to read fromwide
- "wide" instruction flag
IOException
public Number getValue()
getValue
in interface ConstantPushInstruction
public Type getType(ConstantPoolGen cp)
getType
in interface TypedInstruction
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |