public class INSTANCEOF extends CPInstruction implements LoadClass, ExceptionThrower, StackProducer, StackConsumer
Stack: ..., objectref -> ..., result
index
length, opcode
Constructor and Description |
---|
INSTANCEOF()
Empty constructor needed for Instruction.readInstruction.
|
INSTANCEOF(int index) |
Modifier and Type | Method and 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, toString
consumeStack, copy, dispose, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, setLength, setOpcode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
produceStack
consumeStack
INSTANCEOF()
public INSTANCEOF(int index)
public java.lang.Class<?>[] getExceptions()
getExceptions
in interface ExceptionThrower
public ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClass
getLoadClassType
in interface LoadClass
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object