Class InsnMultiDimArrayNew

  • All Implemented Interfaces:
    VMConstants

    public class InsnMultiDimArrayNew
    extends Insn
    Special instruction form for the opc_multianewarray instruction
    • Constructor Detail

      • InsnMultiDimArrayNew

        public InsnMultiDimArrayNew​(ConstClass classOp,
                                    int nDimsOp)
        Constructor for opc_multianewarray. classOp must be an array class nDimsOp must be > 0 and <= number of array dimensions for classOp
    • Method Detail

      • isSimpleLoad

        public boolean isSimpleLoad()
      • nStackArgs

        public int nStackArgs()
        Description copied from class: Insn
        How many words of stack operands does this instruction take?
        Specified by:
        nStackArgs in class Insn
      • nStackResults

        public int nStackResults()
        Description copied from class: Insn
        How many words of stack results does this instruction deposit?
        Specified by:
        nStackResults in class Insn
      • argTypes

        public String argTypes()
        What are the types of the stack operands ?
        Specified by:
        argTypes in class Insn
      • resultTypes

        public String resultTypes()
        What are the types of the stack results?
        Specified by:
        resultTypes in class Insn
      • branches

        public boolean branches()
        Description copied from class: Insn
        Does this instruction branch?
        Specified by:
        branches in class Insn
      • arrayClass

        public ConstClass arrayClass()
        Return the array class being created
      • setArrayClass

        public void setArrayClass​(ConstClass classOp)
        Sets the array class being created
      • nDims

        public int nDims()
        Return the number of dimensions of the array class being created