|
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.MultianewarrayInstruction
Describes the multianewarray instruction.
Field Summary |
Constructor Summary | |
MultianewarrayInstruction(int opcode)
Constructor. |
Method Summary | |
int |
getDimensions()
Get the number of dimensions for the new array. |
int |
getSize()
Get the size in bytes of this instruction. |
void |
read(ByteCodeInput in)
Read this instruction from the given ByteCodeInput. |
void |
setDimensions(int dimensions)
Set the number of dimensions for the new array. |
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 MultianewarrayInstruction(int opcode)
opcode
- the opcode.Method Detail |
public int getSize()
AbstractInstruction
getSize
in class ImmediateShortInstruction
public int getDimensions()
public void setDimensions(int dimensions)
dimensions
- the number of dimensionspublic void read(ByteCodeInput in) throws IOException
AbstractInstruction
Excpects ByteCodeInput to be in JVM class file format and just before a instruction of this kind.
read
in class ImmediateShortInstruction
IOException
public void write(ByteCodeOutput out) throws IOException
AbstractInstruction
write
in class ImmediateShortInstruction
IOException
|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |