| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--org.apache.bcel.generic.Instruction
        |
        +--org.apache.bcel.generic.CPInstruction
              |
              +--org.apache.bcel.generic.MULTIANEWARRAY
MULTIANEWARRAY - Create new mutidimensional array of references
Stack: ..., count1, [count2, ...] -> ..., arrayref
| Field Summary | 
| Fields inherited from class org.apache.bcel.generic.CPInstruction | 
| index | 
| Fields inherited from class org.apache.bcel.generic.Instruction | 
| length, opcode | 
| Constructor Summary | |
| MULTIANEWARRAY(int index,
               short dimensions) | |
| Method Summary | |
|  void | accept(Visitor v)Call corresponding visitor method(s). | 
|  int | consumeStack(ConstantPoolGen cpg)Also works for instructions whose stack effect depends on the constant pool entry they reference. | 
|  void | dump(java.io.DataOutputStream out)Dump instruction as byte code to stream out. | 
|  short | getDimensions() | 
|  java.lang.Class[] | getExceptions() | 
|  ObjectType | getLoadClassType(ConstantPoolGen cpg)Returns the ObjectType of the referenced class or interface that may be loaded and resolved. | 
| protected  void | initFromFile(ByteSequence bytes,
             boolean wide)Read needed data (i.e., no. dimension) from file. | 
|  java.lang.String | toString(boolean verbose)Long output format: <name of opcode> "["<opcode number>"]" "("<length of instruction>")" "<"< constant pool index>">" | 
|  java.lang.String | toString(ConstantPool cp) | 
| Methods inherited from class org.apache.bcel.generic.CPInstruction | 
| getIndex, getType, setIndex | 
| Methods inherited from class org.apache.bcel.generic.Instruction | 
| copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.apache.bcel.generic.LoadClass | 
| getType | 
| Constructor Detail | 
public MULTIANEWARRAY(int index,
                      short dimensions)
| Method Detail | 
public void dump(java.io.DataOutputStream out)
          throws java.io.IOException
dump in class CPInstructionout - Output stream
java.io.IOException
protected void initFromFile(ByteSequence bytes,
                            boolean wide)
                     throws java.io.IOException
initFromFile in class CPInstructionbytes - input streamwide - wide prefix?
java.io.IOExceptionpublic final short getDimensions()
public java.lang.String toString(boolean verbose)
CPInstruction
toString in class CPInstructionverbose - long/short format switch
public java.lang.String toString(ConstantPool cp)
toString in class CPInstructionpublic int consumeStack(ConstantPoolGen cpg)
consumeStack in class Instructionpublic java.lang.Class[] getExceptions()
getExceptions in interface ExceptionThrowerpublic ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClass
getLoadClassType in interface LoadClasspublic void accept(Visitor v)
accept in class Instructionv - Visitor object| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||