jef.dna.instructions.impl
Class CheckCast

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

@RefersToCpInfo
public class CheckCast
extends InstructionRefsCpt16

This class maps the CHECKCAST bytecode instruction which checks whether the object referenced by the reference on the top of the stack can be casted to the type represented by the constant pool table entry at index indexbyte1<<8|indexbyte2.

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

CheckCast

public CheckCast()
Creates a new instance of CheckCast