public class SIPUSH extends Instruction implements ConstantPushInstruction
Stack: ... -> ..., value
length, opcode| Constructor and Description |
|---|
SIPUSH(short b) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
void |
dump(DataOutputStream out)
Dump instruction as short 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>")"
|
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitproduceStackpublic SIPUSH(short b)
public void accept(Visitor v)
accept in class Instructionv - Visitor objectpublic void dump(DataOutputStream out) throws IOException
dump in class Instructionout - Output streamIOExceptionpublic Type getType(ConstantPoolGen cp)
getType in interface TypedInstructionpublic Number getValue()
getValue in interface ConstantPushInstructionprotected void initFromFile(ByteSequence bytes, boolean wide) throws IOException
initFromFile in class Instructionbytes - byte sequence to read fromwide - "wide" instruction flagIOException - may be thrown if the implementation needs to read data from the filepublic String toString(boolean verbose)
InstructiontoString in class Instructionverbose - long/short format switchCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.