public abstract class NewArrayInstruction extends NewInstruction implements JVMInstruction
Modifier and Type | Field and Description |
---|---|
protected int |
arrayLength |
protected java.lang.String |
type |
protected java.lang.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
|
java.lang.String |
getType() |
java.lang.String |
getTypeName() |
addAttr, asInstruction, attrIterator, attrIterator, execute, getAttr, getAttr, getFileLocation, getFilePos, getInstructionIndex, getLength, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getNextAttr, getPosition, getPrev, getSourceLine, getSourceLocation, getSourceOrLocation, hasAttr, hasAttr, init, isBackJump, isCompleted, isExtendedInstruction, isFirstInstruction, isMonitorEnterPrologue, isSchedulingRelevant, removeAttr, replaceAttr, requiresClinitExecution, setAttr, setContext, setLocation, setMethodInfo, toPostExecString, toString, typeSafeClone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept
asInstruction, execute, getByteCode, getFileLocation, getFilePos, getInstructionIndex, getLength, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getPosition, getPrev, getSourceLine, getSourceLocation, isBackJump, isCompleted, isExtendedInstruction, isFirstInstruction, toPostExecString
addAttr, attrIterator, attrIterator, getAttr, getAttr, getNextAttr, hasAttr, hasAttr, removeAttr, replaceAttr, setAttr
protected java.lang.String type
protected java.lang.String typeName
protected int arrayLength
public int getArrayLength()
public java.lang.String getType()
public java.lang.String getTypeName()
public void cleanupTransients()
Instruction
cleanupTransients
in class Instruction