jef.dna.instructions.impl
Class ANewArray

java.lang.Object
  extended by jef.dna.instructions.impl.InstructionAncestor
      extended by jef.dna.instructions.impl.InstructionAncestorRefsCpt
          extended by jef.dna.instructions.impl.InstructionRefsCpt16
              extended by jef.dna.instructions.impl.ANewArray
All Implemented Interfaces:
java.lang.Cloneable, Instruction, InstructionRefsCpt, BytesCountable

@RefersToCpInfo
public class ANewArray
extends InstructionRefsCpt16

This class maps the ANEWARRAY bytecode instruction. This instruction requires two parameters, indexbyte1, indexbyte2 used to construct an index in the runtime constant pool table where the type of the array to be created by this instruction is stored. The dimension of the array is popped from the operand stack. Once the instruction has been successfuly executed the reference to the newly created array is pushed onto the operand stack.

Author:
Francesco Russo

Field Summary
 
Fields inherited from class jef.dna.instructions.impl.InstructionAncestorRefsCpt
logger, MASK, SHIFT
 
Fields inherited from class jef.dna.instructions.impl.InstructionAncestor
opCode, operands, operandsCount
 
Constructor Summary
ANewArray()
          Creates a new instance of ANewArray
 
Method Summary
 
Methods inherited from class jef.dna.instructions.impl.InstructionRefsCpt16
clone, getIndex, setIndex
 
Methods inherited from class jef.dna.instructions.impl.InstructionAncestorRefsCpt
updateRefs
 
Methods inherited from class jef.dna.instructions.impl.InstructionAncestor
fromArray, getBytesCount, getOpCode, getOperands, getOperandsCount, setOpCode, setOperands, setOperandsCountPosticipated, toArray
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jef.dna.instructions.Instruction
fromArray, getOpCode, getOperands, getOperandsCount, setOpCode, setOperands, setOperandsCountPosticipated, toArray
 
Methods inherited from interface jef.dna.util.BytesCountable
getBytesCount
 

Constructor Detail

ANewArray

public ANewArray()
Creates a new instance of ANewArray