org.apache.bcel.generic
Class CHECKCAST
- Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, Serializable, StackConsumer, StackProducer, TypedInstruction
CHECKCAST - Check whether object is of given type
Stack: ..., objectref -> ..., objectref
$Id: CHECKCAST.java 386056 2006-03-15 11:31:56Z tcurdt $
CHECKCAST() - Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
|
CHECKCAST(int index) - Check whether object is of given type
|
accept , className , consumeStack , copy , dispose , dump , equals , getComparator , getLength , getName , getOpcode , initFromFile , produceStack , readInstruction , setComparator , setOpcode , toString , toString , toString |
CHECKCAST
(package private) CHECKCAST()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
CHECKCAST
public CHECKCAST(int index)
Check whether object is of given type
index
- index to class in constant pool
accept
public void accept(Visitor v)
Call corresponding visitor method(s). The order is:
Call visitor methods of implemented interfaces first, then
call methods according to the class hierarchy in descending order,
i.e., the most specific visitXXX() call comes last.
- accept in interface Instruction