Class MultiANewArrayInsnNode

  • public class MultiANewArrayInsnNode
    extends AbstractInsnNode
    A node that represents a MULTIANEWARRAY instruction.
    • Field Detail

      • desc

        public java.lang.String desc
        An array type descriptor (see Type).
      • dims

        public int dims
        Number of dimensions of the array to allocate.
    • Constructor Detail

      • MultiANewArrayInsnNode

        public MultiANewArrayInsnNode​(java.lang.String descriptor,
                                      int numDimensions)
        Constructs a new MultiANewArrayInsnNode.
        descriptor - an array type descriptor (see Type).
        numDimensions - the number of dimensions of the array to allocate.
    • Method Detail

      • getType

        public int getType()
        Description copied from class: AbstractInsnNode
        Returns the type of this instruction.
        Specified by:
        getType in class AbstractInsnNode
        the type of this instruction, i.e. one the constants defined in this class.
      • accept

        public void accept​(MethodVisitor methodVisitor)
        Description copied from class: AbstractInsnNode
        Makes the given method visitor visit this instruction.
        Specified by:
        accept in class AbstractInsnNode
        methodVisitor - a method visitor.