de.fub.bytecode.generic
Class CHECKCAST

java.lang.Object
  |
  +--de.fub.bytecode.generic.Instruction
        |
        +--de.fub.bytecode.generic.CPInstruction
              |
              +--de.fub.bytecode.generic.CHECKCAST

public class CHECKCAST
extends CPInstruction
implements LoadClass, ExceptionThrower

CHECKCAST - Check whether object is of given type

Stack: ..., objectref -> ..., objectref

Version:
$Id: CHECKCAST.java,v 1.5 1999/09/09 07:42:47 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class de.fub.bytecode.generic.CPInstruction
index
 
Fields inherited from class de.fub.bytecode.generic.Instruction
length, tag
 
Constructor Summary
CHECKCAST(int index)
           
 
Method Summary
 java.lang.Class[] getExceptions()
           
 
Methods inherited from class de.fub.bytecode.generic.CPInstruction
dump, getIndex, getType, initFromFile, setIndex, toString, toString
 
Methods inherited from class de.fub.bytecode.generic.Instruction
consumeStack, consumeStack, copy, getLength, getTag, produceStack, produceStack, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CHECKCAST

public CHECKCAST(int index)
Method Detail

getExceptions

public java.lang.Class[] getExceptions()
Specified by:
getExceptions in interface ExceptionThrower