|
ej-technologies | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gjt.jclasslib.bytecode.AbstractInstruction
org.gjt.jclasslib.bytecode.ImmediateShortInstruction
org.gjt.jclasslib.bytecode.InvokeInterfaceInstruction
public class InvokeInterfaceInstruction
Describes the invokeinterface instruction.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
InvokeInterfaceInstruction(int opcode)
Constructor. |
|
InvokeInterfaceInstruction(int opcode,
int immediateShort,
int count)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getCount()
Get the argument count of this instruction. |
int |
getSize()
Get the size in bytes of this instruction. |
void |
read(ByteCodeInput in)
Read this instruction from the given ByteCodeInput. |
void |
setCount(int count)
Set the argument count of this instruction. |
void |
write(ByteCodeOutput out)
Write this instruction to the given ByteCodeOutput. |
| Methods inherited from class org.gjt.jclasslib.bytecode.ImmediateShortInstruction |
|---|
getImmediateShort, setImmediateShort |
| Methods inherited from class org.gjt.jclasslib.bytecode.AbstractInstruction |
|---|
getOffset, getOpcode, getOpcodeVerbose, setOffset, setOpcode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvokeInterfaceInstruction(int opcode)
opcode - the opcode.
public InvokeInterfaceInstruction(int opcode,
int immediateShort,
int count)
opcode - the opcodeimmediateShort - the immediate short value.count - the argument count.| Method Detail |
|---|
public int getSize()
AbstractInstruction
getSize in class ImmediateShortInstructionpublic int getCount()
public void setCount(int count)
count - the argument count
public void read(ByteCodeInput in)
throws java.io.IOException
AbstractInstructionExcpects ByteCodeInput to be in JVM class file format and just before a instruction of this kind.
read in class ImmediateShortInstructionin - the ByteCodeInput from which to read
java.io.IOException - if an exception occurs with the ByteCodeInput
public void write(ByteCodeOutput out)
throws java.io.IOException
AbstractInstruction
write in class ImmediateShortInstructionout - the ByteCodeOutput to which to write
java.io.IOException - if an exception occurs with the ByteCodeOutput
|
ej-technologies | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||