java.io.Serializable, java.lang.Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, StackConsumer, StackProducer, TypedInstructionpublic class INSTANCEOF extends CPInstruction implements LoadClass, ExceptionThrower, StackProducer, StackConsumer
Stack: ..., objectref -> ..., result
indexlength, opcode| Constructor | Description |
|---|---|
INSTANCEOF(int index) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor v) |
Call corresponding visitor method(s).
|
java.lang.Class[] |
getExceptions() |
|
ObjectType |
getLoadClassType(ConstantPoolGen cpg) |
Returns the ObjectType of the referenced class or interface
that may be loaded and resolved.
|
dump, getIndex, getType, initFromFile, setIndex, toString, toStringconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconsumeStackproduceStackpublic java.lang.Class[] getExceptions()
getExceptions in interface ExceptionThrowerpublic ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClassgetLoadClassType in interface LoadClasspublic void accept(Visitor v)
accept in class Instructionv - Visitor object