# Uses of Interface
java.lang.classfile.instruction.DiscontinuedInstruction.RetInstruction

Packages that use DiscontinuedInstruction.RetInstructionPREVIEW
Package
Description
java.lang.classfile.instruction
Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.

- ## Uses of DiscontinuedInstruction.RetInstructionPREVIEW in java.lang.classfile.instructionPREVIEW

  Methods in java.lang.classfile.instructionPREVIEW that return DiscontinuedInstruction.RetInstructionPREVIEW
  Modifier and Type
  Method
  Description
  `static DiscontinuedInstruction.RetInstructionPREVIEW`
  DiscontinuedInstruction.RetInstruction.`of(int slot)`
  Returns a RET instruction.
  `static DiscontinuedInstruction.RetInstructionPREVIEW`
  DiscontinuedInstruction.RetInstruction.`of(OpcodePREVIEW op, int slot)`
  Returns a RET or RET_W instruction.