Class ArrayInstruction

    • Constructor Detail

      • ArrayInstruction

        ArrayInstruction()
        Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.
      • ArrayInstruction

        protected ArrayInstruction​(short opcode)
        Constructs an ArrayInstruction.
        Parameters:
        opcode - of instruction.
    • Method Detail

      • getExceptions

        public java.lang.Class<?>[] getExceptions()
        Description copied from interface: ExceptionThrower
        Gets the exceptions that may be thrown by this instruction.
        Specified by:
        getExceptions in interface ExceptionThrower
        Returns:
        the exceptions that may be thrown by this instruction.
      • getType

        public Type getType​(ConstantPoolGen cp)
        Description copied from interface: TypedInstruction
        Gets the type associated with this instruction.
        Specified by:
        getType in interface TypedInstruction
        Parameters:
        cp - the constant pool generator.
        Returns:
        type associated with the instruction.