-
- All Implemented Interfaces:
public final class MultianewarrayInstruction extends ImmediateShortInstruction
Describes the multianewarray instruction.
-
-
Field Summary
Fields Modifier and Type Field Description private Integerdimensionsprivate final Integersizeprivate IntegerimmediateShortprivate Integeroffsetprivate final Opcodeopcode
-
Constructor Summary
Constructors Constructor Description MultianewarrayInstruction(Integer immediateShort)MultianewarrayInstruction()
-
Method Summary
Modifier and Type Method Description final IntegergetDimensions()Number of dimensions for the new array. final UnitsetDimensions(Integer dimensions)Number of dimensions for the new array. IntegergetSize()Unitread(ByteCodeInput input)Read this instruction from the given ByteCodeInput. Unitwrite(ByteCodeOutput output)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.Instruction
getOffset, getOpcode, getPaddedSize, setOffset -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MultianewarrayInstruction
MultianewarrayInstruction(Integer immediateShort)
-
MultianewarrayInstruction
MultianewarrayInstruction()
-
-
Method Detail
-
getDimensions
final Integer getDimensions()
Number of dimensions for the new array.
-
setDimensions
final Unit setDimensions(Integer dimensions)
Number of dimensions for the new array.
-
read
Unit read(ByteCodeInput input)
Read this instruction from the given ByteCodeInput. Expects ByteCodeInput to be in JVM class file format and just before a instruction of this kind.
- Parameters:
input- the ByteCodeInput from which to read
-
write
Unit write(ByteCodeOutput output)
Write this instruction to the given ByteCodeOutput.
- Parameters:
output- the ByteCodeOutput to which to write
-
-
-
-