Class ReturnInstruction

    • Constructor Detail

      • ReturnInstruction

        protected ReturnInstruction​(short opcode)
        Constructs a ReturnInstruction.
        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()
        Gets the type of the returned value.
        Returns:
        The type.