public abstract class NewArrayInstruction extends JVMInstruction implements AllocInstruction
Modifier and Type | Field and Description |
---|---|
protected int |
arrayLength |
protected String |
type |
protected String |
typeName |
attr, insnIndex, mi, position
Constructor and Description |
---|
NewArrayInstruction() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupTransients()
this method can be overridden if instruction classes have to store
information for instructionExecuted() notifications, and this information
should not be stored persistent to avoid memory leaks (e.g.
|
int |
getArrayLength()
this only makes sense post-execution since the array dimension
is obtained from the operand stack
|
String |
getType() |
String |
getTypeName() |
addAttr, attrIterator, attrIterator, execute, getAttr, getAttr, getByteCode, getFileLocation, getFilePos, getInstructionIndex, getLength, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getNextAttr, getPosition, getPrev, getSourceLine, getSourceLocation, getSourceOrLocation, hasAttr, hasAttr, init, isBackJump, isCompleted, isExtendedInstruction, isFirstInstruction, isSchedulingRelevant, removeAttr, replaceAttr, requiresClinitExecution, setAttr, setContext, setLocation, setMethodInfo, toString, typeSafeClone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept
protected String type
protected String typeName
protected int arrayLength
public int getArrayLength()
public String getType()
public String getTypeName()
public void cleanupTransients()
Instruction
cleanupTransients
in class Instruction