org.apache.bcel.generic
public class CHECKCAST extends CPInstruction implements LoadClass, ExceptionThrower, StackProducer, StackConsumer
Stack: ..., objectref -> ..., objectref
Version: $Id: CHECKCAST.java 152690 2001-10-29 19:59:54Z jvanzyl $
Constructor Summary | |
---|---|
CHECKCAST(int index) Check whether object is of given type |
Method Summary | |
---|---|
void | accept(Visitor v)
Call corresponding visitor method(s). |
Class[] | getExceptions() |
ObjectType | getLoadClassType(ConstantPoolGen cpg) |
Parameters: n index to class in constant pool
Parameters: v Visitor object
Returns: exceptions this instruction may cause