Klasse MULTIANEWARRAY

Alle implementierten Schnittstellen:
Serializable, Cloneable, Constants

public class MULTIANEWARRAY extends InstructionCP
MULTIANEWARRAY - Create new mutidimensional array of references
 Stack: ..., count1, [count2, ...] -> ..., arrayref
 
Version:
$Id: MULTIANEWARRAY.java,v 1.4 2009/10/05 17:35:36 aclement Exp $
Autor:
M. Dahm
Siehe auch:
  • Konstruktordetails

    • MULTIANEWARRAY

      public MULTIANEWARRAY(int index, short dimensions)
  • Methodendetails

    • dump

      public void dump(DataOutputStream out) throws IOException
      Dump instruction as byte code to stream out.
      Setzt außer Kraft:
      dump in Klasse InstructionCP
      Parameter:
      out - Output stream
      Löst aus:
      IOException
    • getDimensions

      public final short getDimensions()
      Gibt zurück:
      number of dimensions to be created
    • toString

      public String toString(boolean verbose)
      Beschreibung aus Klasse kopiert: InstructionCP
      Long output format: <name of opcode> "["<opcode number>"]" "("<length of instruction>")" "<"< constant pool index>">"
      Setzt außer Kraft:
      toString in Klasse InstructionCP
      Parameter:
      verbose - long/short format switch
      Gibt zurück:
      mnemonic for instruction
    • toString

      public String toString(ConstantPool cp)
      Setzt außer Kraft:
      toString in Klasse InstructionCP
      Gibt zurück:
      mnemonic for instruction with symbolic references resolved
    • consumeStack

      public int consumeStack(ConstantPool cpg)
      Also works for instructions whose stack effect depends on the constant pool entry they reference.
      Setzt außer Kraft:
      consumeStack in Klasse Instruction
      Gibt zurück:
      Number of words consumed from stack by this instruction
    • getExceptions

      public Class[] getExceptions()
    • getLoadClassType

      public ObjectType getLoadClassType(ConstantPool cpg)
      Setzt außer Kraft:
      getLoadClassType in Klasse Instruction
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse InstructionCP
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse InstructionCP