jef.dna.instructions.impl
Class New

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.New
All Implemented Interfaces:
java.lang.Cloneable, Instruction, InstructionRefsCpt, BytesCountable

@RefersToCpInfo
public class New
extends InstructionRefsCpt16

This class maps the NEW bytecode instruction which is used to instantiate a new object. The two parameters are used to construct an index into the runtime constant pool, and the entry at that index must be a symbolic reference to a class, array, or interface type.

Author:
Francesco Russo frusso@cs.unibo.it

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
New()
          Creates a new instance of New
 
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

New

public New()
Creates a new instance of New