public class ANEWARRAY extends CPInstruction implements LoadClass, AllocationInstruction, ExceptionThrower, StackConsumer, StackProducer
Stack: ..., count -> ..., arrayref
indexlength, opcode| Constructor and Description |
|---|
ANEWARRAY(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
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, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitconsumeStackproduceStackpublic ANEWARRAY(int index)
public void accept(Visitor v)
accept in class Instructionv - Visitor objectpublic Class<?>[] getExceptions()
getExceptions in interface ExceptionThrowerpublic ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClassgetLoadClassType in interface LoadClassCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.